Skip to content

Bugs + additional features in checkpoints#112

Merged
haykh merged 14 commits into1.2.0rcfrom
bug/checkpoints
Jun 9, 2025
Merged

Bugs + additional features in checkpoints#112
haykh merged 14 commits into1.2.0rcfrom
bug/checkpoints

Conversation

@haykh
Copy link
Collaborator

@haykh haykh commented May 27, 2025

Additional fixes

  • compatibility with gcc15 warnings/errors
  • consistent usage of path_t = std::filesystem::path instead of std::string throughout the code
  • memory footprint of particles & fields in .info fixed

@haykh haykh added bug Something isn't working enhancement New feature or request labels May 27, 2025
@haykh
Copy link
Collaborator Author

haykh commented May 27, 2025

@jmahlmann when you have a moment, could you test the walltime-based dump? it's not yet documented properly, but there is an example in the input file. Basically, you specify an additional parameter:

[checkpoint]
  ...
  # Write a checkpoint once after a fixed walltime 
  #   @type: string
  #   @default: "" (disabled)
  #   @note: The format is "HH:MM:SS"
  #   @note: Useful for long-running simulations to ensure that ...
  #   @note: ... the simulation can be resumed after allocation expires
  #   @note: Empty string means disables this (still writes checkpoints on interval)
  #   @note: This does not exit the simulation
  walltime = ""

e.g.

[checkpoint]
  walltime = "23:30:00"

@haykh haykh added the 1.2.0 label Jun 3, 2025
@haykh
Copy link
Collaborator Author

haykh commented Jun 7, 2025

@SChernoglazov I think I fixed the issue with outputs after the restart. this is ready to be tested.

@haykh haykh merged commit f794a8a into 1.2.0rc Jun 9, 2025
2 checks passed
@haykh haykh deleted the bug/checkpoints branch June 9, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] Incorporating the name of the simulation into checkpoint/ name [REQUEST] Parameter to switch off writing of .log files

4 participants