Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCR_ADD_TEST: prepare to add python script support #517

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

ofaaland
Copy link
Contributor

The python script launcher, scr_run.py, needs the launcher (e.g. "srun") to be specified separately from the arguments for the launcher, (e.g. -N5 indicating 5 nodes).

Refactor SCR_ADD_TEST to prepare for calling tests under the python scripts in addition to the existing scripts.

Clean up some redundant code by specifying -n 1 to slurm where process/node count==1. This and allows the srun arguments to be uniform regardless of process count, without changing srun's behavior.

The python script launcher, scr_run.py, needs the launcher (e.g. "srun")
to be specified separately from the arguments for the launcher, (e.g.
-N5 indicating 5 nodes).

Refactor SCR_ADD_TEST to prepare for calling tests under the python
scripts in addition to the existing scripts.

Clean up some redundant code by specifying -n 1 to slurm where
process/node count==1.  This and allows the srun arguments to be uniform
regardless of process count, without changing srun's behavior.
@adammoody adammoody merged commit d30cf42 into LLNL:develop Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants