slurm_example.sh
· 510 B · Bash
Raw
#!/bin/bash
#
#SBATCH --job-name=MY_JOB_NAME
#SBATCH --output=MY_OUTPUT_NAME.out
#
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --time=1000000:00
#SBATCH --mem-per-cpu=256
ulimit -s unlimited
export OMP_NUM_THREADS=8
RMCProfile_PATH=/Applications/RMCProfile_package_V6.7.9/
export PGPLOT_DIR=$RMCProfile_PATH/exe/libs
export LD_LIBRARY_PATH=$RMCProfile_PATH/exe/libs
export LIBRARY_PATH=$RMCProfile_PATH/exe/libs
export PATH=$PATH:$RMCProfile_PATH/exe
$RMCProfile_PATH/exe/rmcprofile MY_RMC_STEM_NAME
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 |