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

Python versions of the SCR scripts #483

Merged
merged 299 commits into from
Feb 25, 2022
Merged

Python versions of the SCR scripts #483

merged 299 commits into from
Feb 25, 2022

Conversation

adammoody
Copy link
Contributor

This rewrites the SCR scripts to switch from bash/perl to python. It also implements classes for the job launchers and resource managers. The new scripts are installed in a separate directory from the existing bash/perl scripts so that we can migrate to them over time after sufficient testing.

chaseleif and others added 30 commits June 24, 2021 10:55
tests. Beginning to look at splitting scr_env up. Moving attributes
unique to the job launcher environment to a new resourcemanager class.
Current path of scr_run follows the srun path. Unique actions will be
moved to respective launcher classes so the scr_run script can just use
whichever launcher was selected.
fix scr_run with restart_command
start to put in $launcher with --use_hosts instead of --exclude_hosts.
…er resource manager is in use, it calls the methods it uses to return a dictionary of hosts keyed with reason for down.

Not through all of the scr_list_down_nodes.in files yet.
parsetime.py now returns epoch seconds
shorten resource manager names+move get_runnode_count to scr_env
…anager using pdsh.

Differences in commands are highlighted in the varied argument lists they return in their respective resmgr.get_scavenge_pdsh_cmd() methods.
Added return values for run/pipe proc when an exception occurs.
Added 3 more constants to scr_const that were found in original script.in files.
take develop changes
chaseleif and others added 28 commits August 17, 2021 17:01
The scr_test_runtime is performed in the pre_run
Tests given as a list, like the Nodetests class. List given by ResourceManager
Added notes for outputs trying both variations of argv
@adammoody adammoody merged commit 0f9246e into develop Feb 25, 2022
@adammoody adammoody deleted the pyfe2 branch February 25, 2022 02:20
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