woom.job.PbsproJobManager.get_submission_command

woom.job.PbsproJobManager.get_submission_command#

PbsproJobManager.get_submission_command(script, opts, depend=None)[source]#

Build the qsub command, with two PBS Pro-specific behaviours:

  1. If nnodes is provided, ncpus, memory and pmem are merged into the -l select= directive (PBS Pro forbids these as standalone -l directives alongside select).

  2. Any key in opts that is not in the known options dict (i.e. keys added via __many__ in tasks.ini) is treated as a raw qsub flag string and inserted verbatim before the script path.