Skip to content

Instantly share code, notes, and snippets.

@csullivan
Created February 22, 2016 19:43
Show Gist options
  • Save csullivan/c8b04104c22f9ae83aa8 to your computer and use it in GitHub Desktop.
Save csullivan/c8b04104c22f9ae83aa8 to your computer and use it in GitHub Desktop.
A cluster submission file template for use with torque/pbs
#!/bin/sh
### name of job
#PBS -N JOB_NAME
### email on _a_bort, _b_egin, _e_nd
#PBS -m abe
### combine stdout/stderr
#PBS -j oe
### resource requests (time in HH:MM:SS)
#PBS -l walltime=99:00:00
### dont retry
#PBS -r n
### Output file
#PBS -o ./output.dat
### number of CPUS
#PBS -l nodes=100
cd ${PBS_O_WORKDIR}
time mpiexec PATH_TO_BINARY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment