Created
December 20, 2016 15:51
-
-
Save alvinthomas/e8c13a5abd5a46b383b4c99a87935bf1 to your computer and use it in GitHub Desktop.
Bash script for submitting Stata jobs on a Sun Grid Linux Cluster (like JHPCE at Johns Hopkins School of Public Health)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -l | |
#$ -pe local 2 | |
#$ -l mem_free=3G | |
#$ -l h_vmem=4G | |
#$ -m e | |
#$ -M EMAIL@jhmi.edu | |
#$ -e efiles | |
#$ -o ofiles | |
cd ~/PATH_TO_FILE | |
stata-mp -b do DO_FILE | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment