Last active 1730085015

slurm_example.sh Raw
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
11ulimit -s unlimited
12export OMP_NUM_THREADS=8
13
14RMCProfile_PATH=/Applications/RMCProfile_package_V6.7.9/
15export PGPLOT_DIR=$RMCProfile_PATH/exe/libs
16export LD_LIBRARY_PATH=$RMCProfile_PATH/exe/libs
17export LIBRARY_PATH=$RMCProfile_PATH/exe/libs
18export PATH=$PATH:$RMCProfile_PATH/exe
19$RMCProfile_PATH/exe/rmcprofile MY_RMC_STEM_NAME