...
Interface:Job()
Visibility: Public
Change Control: Stable
Synopsis: Modifications to handle Cray specific default job parametersassign value to 'vntype' attribute of a job, when platform is Cray.
Details:
- Introduction of new attribute called "Aprun_parameter" which user can specify through job attributes during job submission.
- If platform is an actual Cray cluster or Cray ALPS simulator:
- If 'vntype' is not defined then perform below:
- If 'vntype' is not defined then perform below:
- If "Aprun_parameter" set, then assign "Aprun_parameter" value to "Aprun_param", else assign default value as "-B sleep 100" to "Aprun_param". If "
- Assign value to 'Resource_List.
select" not present in job attributes passed by the user, then assign default value as "1:ncpus=1:vntype=cray_compute" to "Resource_List.select".- If vntype specified and value is "cray_compute" then call Job.cray_script() passing "Aprun_param" as a parameter to it, else run default sleep 100.
...
- vntype' of job attrs as 'cray_compute'.
Interface: Server.submit()
Visibility: Public
Change Control: Stable
Synopsis: Modifications to add cleanup for Cray job specific parameters.
Details:
...
Interface: Job.cray_script()
Visibility: Public
Change Control: Stable
Synopsis: New method to create default Cray job script using aprun which accepts aprun parameters
Details:
...
consider aprun command if the platform is Cray.
Details:
- If platform is an actual Cray cluster or Cray ALPS simulator:
- If obj.create_script is not defined and vntype is equal to 'cray_compute' then perform below:
- Construct default aprun command as "aprun -B"
- If script is defined then append it to default aprun command else append default job executable as '/bin/sleep 100'.
- If obj.create_script is not defined and vntype is equal to 'cray_compute' then perform below: