-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathslurm_runner.sh
More file actions
29 lines (19 loc) · 883 Bytes
/
slurm_runner.sh
File metadata and controls
29 lines (19 loc) · 883 Bytes
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
#!/bin/bash -l
#SBATCH --job-name="$job_name"
#SBATCH -p $partition
#SBATCH -o $log_file_path
#SBATCH -N 1
ulimit -s unlimited
ulimit -l unlimited
source /etc/profile.d/z00_lmod.sh
module purge
module use /mnt/exacloud/lustre/modulefiles
module avail
module load openmpi/v4.1.x
module load dvmdostem-deps/2026-02
# Suppress PMIx compression library warning (optional, cosmetic)
export PMIX_MCA_pcompress_base_silence_warning=1
# Lustre: disable HDF5 file locking (incompatible with Lustre without flock)
export HDF5_USE_FILE_LOCKING=FALSE
# OpenMPI 4.1.x: use ROMIO instead of buggy OMPIO for NetCDF/HDF5 parallel I/O
mpirun -x HDF5_USE_FILE_LOCKING -x PMIX_MCA_pcompress_base_silence_warning --use-hwthread-cpus --mca io ^ompio $dvmdostem_binary -f $config_path -l $log_level $flags_before_max_output --max-output-volume=-1 $additional_flags -p $p -e $e -s $s -t $t -n $n