From 2e32071958ca1213a64c3c7ee19319e92e9de6a2 Mon Sep 17 00:00:00 2001 From: Jeff Candy Date: Fri, 20 Sep 2024 12:42:58 -0700 Subject: [PATCH] Added file (qsub.OMEGA_INTEL) --- platform/qsub/qsub.OMEGA_INTEL | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 platform/qsub/qsub.OMEGA_INTEL diff --git a/platform/qsub/qsub.OMEGA_INTEL b/platform/qsub/qsub.OMEGA_INTEL new file mode 100644 index 000000000..d2f058acb --- /dev/null +++ b/platform/qsub/qsub.OMEGA_INTEL @@ -0,0 +1,25 @@ + +bfile=$SIMDIR/batch.src +echo "#!/bin/bash -l" > $bfile +echo "#SBATCH -J $LOCDIR" >> $bfile +echo "#SBATCH -o $SIMDIR/batch.out" >> $bfile +echo "#SBATCH -e $SIMDIR/batch.err" >> $bfile +echo "#SBATCH -t $WALLTIME" >> $bfile +echo "#SBATCH -n $cores_used" >> $bfile + +if [ -n "$MEMPERNODE" ] +then + echo "#SBATCH --mem $MEMPERNODE" >> $bfile +elif [ -n "$MEMPERCPU" ] + echo "#SBATCH --mem-per-cpu $MEMPERCPU" >> $bfile +else + echo "#SBATCH --mem-per-cpu 16GB" >> $bfile +fi + +if [ "$QUEUE" = "null_queue" ] +then + echo "#SBATCH -p medium" >> $bfile +else + echo "#SBATCH -p $QUEUE" >> $bfile +fi +echo "$CODE -e $LOCDIR -n $nmpi -nomp $nomp -numa $numa -mpinuma $mpinuma -p $SIMROOT" >> $bfile