sierra.plugins.hpc.adhoc.plugin
HPC plugin for running experiments with an ad-hoc set of compute nodes.
E.g., whatever computers you happen to have laying around in the lab.
ParsedCmdlineConfigurer
: Configure SIERRA for ad-hoc HPC.ExpShellCmdsGenerator
: Generate the cmd to invoke GNU Parallel in the ad-hoc HPC environment.
- class sierra.plugins.hpc.adhoc.plugin.ParsedCmdlineConfigurer(exec_env: str)[source]
Configure SIERRA for ad-hoc HPC.
May use the following environment variables:
SIERRA_NODEFILE
- If this is not defined--nodefile
must be passed.
Inheritance
- __dict__ = mappingproxy({'__module__': 'sierra.plugins.hpc.adhoc.plugin', '__doc__': 'Configure SIERRA for ad-hoc HPC.\n\n May use the following environment variables:\n\n - ``SIERRA_NODEFILE`` - If this is not defined ``--nodefile`` must be\n passed.\n\n ', '__init__': <function ParsedCmdlineConfigurer.__init__>, '__call__': <function ParsedCmdlineConfigurer.__call__>, '__dict__': <attribute '__dict__' of 'ParsedCmdlineConfigurer' objects>, '__weakref__': <attribute '__weakref__' of 'ParsedCmdlineConfigurer' objects>, '__annotations__': {}})
- __doc__ = 'Configure SIERRA for ad-hoc HPC.\n\n May use the following environment variables:\n\n - ``SIERRA_NODEFILE`` - If this is not defined ``--nodefile`` must be\n passed.\n\n '
- __module__ = 'sierra.plugins.hpc.adhoc.plugin'
- __weakref__
list of weak references to the object (if defined)
- class sierra.plugins.hpc.adhoc.plugin.ExpShellCmdsGenerator(cmdopts: Dict[str, Any], exp_num: int)[source]
Generate the cmd to invoke GNU Parallel in the ad-hoc HPC environment.
Inheritance
- __dict__ = mappingproxy({'__module__': 'sierra.plugins.hpc.adhoc.plugin', '__doc__': 'Generate the cmd to invoke GNU Parallel in the ad-hoc HPC environment.\n ', '__init__': <function ExpShellCmdsGenerator.__init__>, 'pre_exp_cmds': <function ExpShellCmdsGenerator.pre_exp_cmds>, 'post_exp_cmds': <function ExpShellCmdsGenerator.post_exp_cmds>, 'exec_exp_cmds': <function ExpShellCmdsGenerator.exec_exp_cmds>, '__dict__': <attribute '__dict__' of 'ExpShellCmdsGenerator' objects>, '__weakref__': <attribute '__weakref__' of 'ExpShellCmdsGenerator' objects>, '__annotations__': {}})
- __doc__ = 'Generate the cmd to invoke GNU Parallel in the ad-hoc HPC environment.\n '
- __module__ = 'sierra.plugins.hpc.adhoc.plugin'
- __weakref__
list of weak references to the object (if defined)
- post_exp_cmds() List[ShellCmdSpec] [source]
- pre_exp_cmds() List[ShellCmdSpec] [source]