You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scheduler base class should inherit from the Yapsy plugins module.
The new scheduler base class should have the following methods. Methods marked (abstract) should begin with an underscore, and raise a NotImplemented error in the base class. They should each be called via a wrapper of the same name (minus the underscore) and interface that updates the status file when entered and upon exit/failure.
activate
yapsy plugin activation. Should run 'make_config_section' and add the result to the test config sections.
make_config_section (abstract)
At plugin load time, adds a config section for this plugin to the strict config definition.
help (abstract)
Return a help string for this plugin.
filter_series
Given a test series, return the list of runs that apply to this plugin. This should just select on the test's 'scheduler' key.
merge_run_configs
Each test series should have config for this scheduler. Merge them so that we have one set of minimums needed to start our series. Mostly, this means finding the minimum number of nodes that need to be requested.
write_series_script (abstract)
Write the script that will be run when kicking off this series with the scheduler. For slurm, this will be a batch script. The script should be put in the series directory, and be pre-pended with the scheduler name. The rest of the filename is at the discretion of the scheduler. Other than any setup for the scheduler, the script contents should be dictated by pav.script_series_cmds.
run_series (abstract)
Kickoff the series script as appropriate for the scheduler.
write_test_script (abstract)
Write a test script for a given test run. This should be a scheduler specific wrapper for pav.test_run_cmds.
The scheduler base class should inherit from the Yapsy plugins module.
The new scheduler base class should have the following methods. Methods marked (abstract) should begin with an underscore, and raise a NotImplemented error in the base class. They should each be called via a wrapper of the same name (minus the underscore) and interface that updates the status file when entered and upon exit/failure.
pav.script_series_cmds
.pav.test_run_cmds
.Depends on #40.
The text was updated successfully, but these errors were encountered: