Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Checkpoint tricky to work on HPC due to absolute paths and changed temporary directories #4

Description

@airallergy

Currently, all paths are resolved for the intention of more informed debugging, but this prevents checkpoints to be easily resumed on HPC where a new temporary storage directory will be assigned each time. A workaround is to manually modify the checkpoint file to correct all the paths before resume, a non-exhaustive list of paths are:

  • Problem._evaluation_dir
  • _InputManager._tagged_model
  • _options of WeatherModifier and model modifiers for macro commands in _InputManager
  • RVICollector._rvi_file and ScriptCollector._script_file in _OutputManager

The more permanent action seems to be adding a global option to toggle between relative and absolute paths.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions