-
Notifications
You must be signed in to change notification settings - Fork 1
/
slurm_idParamRanges.sbatch
34 lines (26 loc) · 1.11 KB
/
slurm_idParamRanges.sbatch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#BATCH --job-name=idRanges # Job name
#SBATCH --mail-type=FAIL # Turn on e-mail notification (NONE,BEGIN,END,FAIL,ALL)
#SBATCH --export=all # Export environment variables to the batch job session
#SBATCH --account=csde # Allocation Definition
#SBATCH --partition=csde
#SBATCH --nodes=1 # Node resources
#SBATCH --mem=120G # Memory per node
#SBATCH --time=00:20:00 # Wall clock time limit hrs:min:sec
pwd; hostname; date
echo "Running MATLAB idParamRanges script to get parameter ranges of top fifty best-fitting sets and compare to bounds."
echo "${USRNAME}"
export USRNAME
echo "${DIRPATH}"
export DIRPATH
echo "${TCURR}"
export TCURR
echo "${DATE}"
export DATE
cd ${DIRPATH}
export TZ="America/Los_Angeles"
module load matlab_2018a
mkdir -p /gscratch/csde/${USRNAME}/$SLURM_JOB_ID
matlab -nodisplay -nosplash -r "idParamRanges(${TCURR} , '${DATE}')"
rm -r /gscratch/csde/${USRNAME}/$SLURM_JOB_ID
date