yuanpeng revised this gist . Go to revision
1 file changed, 19 insertions
slurm_example.sh(file created)
@@ -0,0 +1,19 @@ | |||
1 | + | #!/bin/bash | |
2 | + | # | |
3 | + | #SBATCH --job-name=MY_JOB_NAME | |
4 | + | #SBATCH --output=MY_OUTPUT_NAME.out | |
5 | + | # | |
6 | + | #SBATCH --ntasks=1 | |
7 | + | #SBATCH --cpus-per-task=4 | |
8 | + | #SBATCH --time=1000000:00 | |
9 | + | #SBATCH --mem-per-cpu=256 | |
10 | + | ||
11 | + | ulimit -s unlimited | |
12 | + | export OMP_NUM_THREADS=8 | |
13 | + | ||
14 | + | RMCProfile_PATH=/Applications/RMCProfile_package_V6.7.9/ | |
15 | + | export PGPLOT_DIR=$RMCProfile_PATH/exe/libs | |
16 | + | export LD_LIBRARY_PATH=$RMCProfile_PATH/exe/libs | |
17 | + | export LIBRARY_PATH=$RMCProfile_PATH/exe/libs | |
18 | + | export PATH=$PATH:$RMCProfile_PATH/exe | |
19 | + | $RMCProfile_PATH/exe/rmcprofile MY_RMC_STEM_NAME |
Newer
Older