Created
November 17, 2017 21:25
-
-
Save leelasd/2035759df2e8400dcbdaf0e7f1a4f134 to your computer and use it in GitHub Desktop.
SLURM BOSS Submissions
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 | |
#SBATCH --job-name=scavenge | |
#SBATCH --time=00:10:00 | |
#SBATCH --array=0-14 | |
#SBATCH --ntasks=1 | |
# the environment variable SLURM_ARRAY_TASK_ID contains | |
# the index corresponding to the current job step | |
echo $SLURM_ARRAY_TASK_ID | |
cd $SLURM_ARRAY_TASK_ID | |
tcsh -c "source ~/.cshrc; tcsh soscmd15.Q_ANH $SLURM_ARRAY_TASK_ID" | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment