- English
- Français
PBSpro script
Writing a submission script is typically the most convenient way to submit your job to the job submission system but jobs can also be submitted on the command line. A job script consists of PBS directives, comments and executable commands.
A PBSpro script is composed of 3 parts:
- Shell (PBSpro always executes the shell startup script)
- PBSpro directives
- Instructions set of your code
Example:
#!/bin/csh
#PBS -j oe #PBS -N HPLtest #PBS -l walltime=1:00:00 #PBS -l select=1:ncpus=24:mem=63000mb:mpiprocs=1:ompthreads=24:cenaero=z_has #PBS -W group_list=PRACE_T1FWB #PBS -r y echo "------------------ Work dir --------------------" source /usr/share/Modules/init/csh setenv name `eval hostname` echo -n "This run was done on: " >> $OUT |