Skip to content

Commit 7c14340

Browse files
committed
Updating SLURM templates for NYU HPC
1 parent 883651b commit 7c14340

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

scripts/modifysam/runtemplates/Build.csh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ setenv GNUMAKE 'make -j8'
4343
setenv SAM_DIR `pwd`
4444
setenv SAM_OBJ $SAM_SCR/OBJ
4545
#setenv SAM_SRC `pwd`/SRC
46-
setenv SAM_SRC /n/home07/nwong/SAM/SRC_v6.11
46+
setenv SAM_SRC /home/nw2648/SAM/SRC_v6.11
4747

4848
if !(-d $SAM_SCR) mkdir -p $SAM_SCR
4949

scripts/modifysam/runtemplates/modelrun.sh

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
#!/bin/sh
22

3-
##SBATCH -p test # short jobs, time limit 8 hours
4-
##SBATCH -p huce_cascade # default, moderate, no time limit
5-
##SBATCH -p huce_ice # expensive, faster, no time limit
6-
##SBATCH -p shared # longer jobs, 7 days, use only when needed
7-
8-
#SBATCH -N 2 # number of nodes
9-
#SBATCH -n 64 # number of cores
10-
#SBATCH --mem-per-cpu=500 # memory pool for each core
11-
#SBATCH -t 0-12:00 # time (D-HH:MM)
12-
13-
##SBATCH --account=linz_lab
14-
#SBATCH -J "SAM_WTG"
3+
#SBATCH --nodes=2
4+
#SBATCH --ntasks-per-node=8
5+
#SBATCH --cpus-per-task=1
6+
#SBATCH --mem=4GB
7+
#SBATCH --time=0-00:15
8+
9+
#SBATCH --job-name=SAM_run
1510
#SBATCH --mail-user=[email]
1611
#SBATCH --mail-type=ALL
17-
#SBATCH -o ./LOGS/samrun.%j.out # STDOUT
18-
#SBATCH -e ./LOGS/samrun.%j.err # STDERR
12+
#SBATCH --output=./LOGS/samrun.%j.out
13+
#SBATCH --error=./LOGS/samrun.%j.err
1914

2015
module purge
21-
module load intel/23.0.0-fasrc01 intelmpi/2021.8.0-fasrc01 netcdf-fortran/4.6.0-fasrc03
16+
module load openmpi/intel/4.1.8 netcdf-fortran/intel/4.6.2
2217

2318
exproot=[dirname]/exp
2419
prmfile=$exproot/prm/[schname]/[expname]/[pwrname]/[memberx].prm

0 commit comments

Comments
 (0)