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_run.py: validate launcher #548

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

ofaaland
Copy link
Contributor

scr_run.py must be provided a launcher when invoked. This is a string that identifies one of the modules under scripts/python/scrjob/launchers.

Exit earlier and with a clearer error message if an invalid launcher is specified.

The list of valid launchers in this PR is just a hardcoded one. It would be better to extract the list dynamically so it can't get out of date.

scr_run.py must be provided a launcher when invoked.  This is a string
that identifies one of the modules under scripts/python/scrjob/launchers.

Exit earlier and with a clearer error message if an invalid launcher is
specified.
@adammoody adammoody merged commit 2feb5c4 into LLNL:develop Sep 27, 2023
@adammoody
Copy link
Contributor

Thanks @ofaaland

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