Pynta restart for NERSC and Polaris #43
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous comment from Ray (October 2023):
I have updated the way we map tasks on each node for ALCF machines. Each task runs on a different FWorker, and each FWorker is associated with a node. This is available for multilauncher. The optimal approach is to set num_jobs to the number of nodes.
Additionally, I have added functionality to use PWDFT, including the calculator and related functions.
Updated comments from Shinae (Feb 2024)
I have updated the way we restart Pynta based on how Ray implemented the restart from Polaris.
From Pynta object,
machine=<Machine type>
should be specified to restart Pynta. Also for NERSC and any other machines, workflow id should be added to pyn.reset() to rerun the previous workflow.pyn.reset() is tested in Perlmutter and was able to restart from
queue=True
mode.This updates include Trevor's pull request (#33), which not yet merged.
Updated comments from Shinae (March 2024)
I rebased to current master, with recent changes. Added @rayhe88 as the author. I still need to add him as an author for previous commits.