Last active
July 21, 2017 23:20
Star
You must be signed in to star a gist
sherlock
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/sh | |
# (@) hello world | |
#SBATCH --job-name=hello | |
#SBATCH --output=hello.%j.out | |
#SBATCH --error=hello.%j.err | |
#SBATCH --time=0:01:00 | |
#SBATCH --qos=normal | |
#SBATCH -p normal | |
#SBATCH --nodes=1 | |
#SBATCH --cores=1 | |
#SBATCH --mem=1000 | |
#SBATCH --mail-type=END,FAIL | |
#SBATCH --mail-user=foobar@stanford.edu | |
################# | |
cat $0 > hello.${SLURM_JOBID}.sh | |
#if [ ! -d ${LOCAL_SCRATCH} ]; then mkdir -p ${LOCAL_SCRATCH}; fi | |
#SCRATCH_TODAY=$SCRATCH/$(date +%Y%m%d) | |
#if [ ! -e ${SCRATCH_TODAY} ]; then mkdir -p ${SCRATCH_TODAY}; fi | |
################# | |
pwd | |
echo hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment