buildtest.buildsystem.batch
¶
Module Contents¶
Classes¶
Base class used for generating Batch directives for Schedulers |
|
This class is responsible for building LSF batch script by taking |
|
This class is responsible for building Slurm batch script by taking |
|
This class is responsible for building Cobalt batch script by taking |
|
This class is responsible for building PBS batch script by taking |
- class buildtest.buildsystem.batch.BatchScript[source]¶
Base class used for generating Batch directives for Schedulers
- class buildtest.buildsystem.batch.LSFBatchScript(bsub)[source]¶
Bases:
BatchScript
This class is responsible for building LSF batch script by taking
bsub
property and converting them into #BSUB directivesThis method will return a list of #BSUB directives used in job script
- class buildtest.buildsystem.batch.SlurmBatchScript(sbatch)[source]¶
Bases:
BatchScript
This class is responsible for building Slurm batch script by taking
sbatch
property and converting them into #SBATCH directivesThis method will return a list of #Slurm directives used in job script
- Args:
sbatch (list): List of string items specified by
sbatch
property in buildspec used for specified #SBATCH directive
- Returns
A list of #SBATCH directive that will be inserted for Slurm Job Script
- Return type
- class buildtest.buildsystem.batch.CobaltBatchScript(cobalt)[source]¶
Bases:
BatchScript
This class is responsible for building Cobalt batch script by taking
cobalt
property and converting them into #COBALT directivesThis method will return a list of #Cobalt directives used in job script
- Args:
cobalt (list): List of string items specified by
cobalt
property in buildspec used for specified #COBALT directive
- Returns
A list of #COBALT directive that will be inserted for Cobalt Job Script
- Return type
- class buildtest.buildsystem.batch.PBSBatchScript(pbs)[source]¶
Bases:
BatchScript
This class is responsible for building PBS batch script by taking
pbs
property and converting them into #PBS directivesThis method will return a list of #PBS directives used in job script