Job submitting settings

Values entered in the Job submitting tab are displayed as the default values for all job submissions on any host that serves this workload manager. These values can be overridden using the corresponding workload manager tab for a specific host (select the host name under Hosts in the left list and then select the tab for the workload manager).

Most job submission settings available in the tab are the same for new and pre-configured workload managers. Exceptions are that the delete icon (icon_deletecluster) and the Use script for job submission option are not available with pre-configured managers.

Workload manager name — Opportunity to modify the name of the workload manager, if desired. This is the name that appears in the left list, and it must be unique among existing workload managers.

Define settings for nmfe

Submit command — Command to submit a job.

Run priority — Priority (integer) of jobs submitted to the scheduler.

Job name — Template for job name generation. The template can include the aliases:

{project} – current project’s name

{model} – name of the model

{author} – name of researcher from General settings page of Pirana settings

{username} – Grid user name from remote host settings (refer to the “Remote hosts” section). If not set, then current user’s login.

Note that the job name length may be limited by the actual workload manager (software installed on a host), so it is advised to put the most distinctive parts of a job name first, i.e., model name.

Additional parameters — Other options to include in the submission command.

When adding a workload manager: Use script for job submission — When checked, a script is used to submit jobs. Enter any nmfe commands to run before or after the script in the Script header and Script footer fields, respectively.

This option cannot be overridden for individual hosts. Thus, all hosts serving this workload manager use scripts when enabled or, no hosts use scripts when disabled.

For the Torque workload manager: Enter any nmfe commands to run before or after the job submission script in the Script header and Script footer fields, respectively.

Define settings for PsN

Submit command — Custom command to execute PsN commands, or to prepend actual PsN commands.

Prepend flags — Flags to use if PsN has a -prepend_flags argument specified for this workload manager.

PsN parameters — Scheduler-specific arguments/parameters, e.g. -run_on_sge for SGE.

It is recommended that any arguments entered here should be listed as Exclusive PsN arguments in the Command settings tab.

As an example, entering:
PsNJobSubmitSettings

yields the PsN command:
custom_command1; execute -run_on_sge -sge_prepend_flags=’flag1; flag2 -flag3’ run.mod 

Use the Defaults button to reload the job submitting default values specific to the workload manager. All values are cleared, except for the Workload manager name and, for pre-configured managers, the values shown in the following table are loaded.

Table 1: Job Submitting Default Values

Option

SGE

Slurm

Torque

jsub-Torque

nmfe command

qsub

sbatch --wrap="{command}"

qsub

jsub

Run priority

Job name

{model}_{project}

{model}_{project}

{model}_{project}

{model}_{project}

Additional params

-cwd -b y

--

PsN command

jsub --

Prepend flags

PsN params

-run_on_sge

-run_on_slurm

-run_on_torque

Script header

#!/bin/bash
#PBS -l procs=8,
pmem=2gb,
walltime=100:00:00
#PBS -m <placeholder>
#PBS -M <placeholder>
#PBS -V <placeholder>
export
OMP_NUM_THREADS=8
OUTFILE=""
cd "$PBS_O_WORKDIR"


Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.