Skip to content

Instantly share code, notes, and snippets.

@larsvilhuber
Created March 31, 2016 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsvilhuber/2539e0f0513d3c4d8892bb3b5652eb58 to your computer and use it in GitHub Desktop.
Save larsvilhuber/2539e0f0513d3c4d8892bb3b5652eb58 to your computer and use it in GitHub Desktop.
An example Stata-oriented qsub might be
#!/bin/bash -l
#PBS -l mem=32768mb
#PBS -l ncpus=4
#PBS -l walltime=12:00:00
source /etc/profile.d/modules.sh
module load stata
cd $PBS_O_WORKDIR
stata -b myprog.do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment