What '#' directives does msub pass to qsub?


Issue:

What '#' directives does msub pass to qsub?

Example:

In short any #MSUB directives are converted to #PBS

[john@support-mpi ~]$ cat pbs.sh
#!/bin/bash
#MSUB -l procs=3
#PBS -l walltime=35
sleep 35


[john@support-mpi ~]$ ^C
[john@support-mpi ~]$ vim pbs.sh
[john@support-mpi ~]$ cat pbs.sh
#!/bin/bash
#MSUB -l procs=3
#MSUB -l mem=50mb
#PBS -l walltime=35
sleep 35

[john@support-mpi ~]$ msub pbs.sh

325


[john@support-mpi ~]$ cat jobs_output.log
###### Job Arguments ######
/usr/local/sbin/torque_submitfilter
###### Job Script ######
#!/bin/bash
#PBS -l procs=3
#PBS -W x=flags:procspecified
#PBS -l mem=50mb
#PBS -l walltime=35
#PBS -N pbs.sh
#PBS -r n

#PBS -W x=SID:Moab;SJID:Moab.1957;SRMJID:Moab.1957

sleep 35

Tags: # directives, #msub, #pbs
Last update:
2016-08-08 18:20
Author:
Jason Booth
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags