Job Scripts are simply shell scripts that define commands and variables for different types of cluster jobs. They enable you to customize cluster job behavior.
RSM job script files are located in the [RSMInstall]\Config\scripts directory. There is a set of script files for each cluster type.
Specialized job scripts for integrating RSM with third-party job schedulers are invoked based upon the Cluster type property in the cluster configuration. Your selection from the Cluster type drop-down is appended to the name of the base code template. These files are generically in the format of GenericJobCode_<Keyword>.xml, but the exact format for every cluster type keyword is defined in the jobConfiguration.xml file.
For example, if you set the Cluster type to , then LSF will be your “keyword”, and RSM will look in the jobConfiguration.xml the corresponding code template. It will find GenericJobCode_LSF.xml, which invokes the scripts necessary to run a test job on an LSF cluster.
<keyword name="LSF">
<jobCode name="GenericJobCode_base.xml"/>
<hpcCommands name="hpc_commands_LSF.xml"/>
</keyword>If you set the Cluster type to
, then “Custom”
is not used as the keyword. Rather, the value that you specify in the Custom
cluster type field in the cluster configuration will become your
“keyword”, and you can customize the cluster by adding a section for your
new keyword in the jobConfiguration.xml file. The section will list
the files that you want to apply to the custom job type.