Skip to content

Commit

Permalink
Added file (qsub.OMEGA_INTEL)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Candy committed Sep 20, 2024
1 parent 07f0832 commit 2e32071
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions platform/qsub/qsub.OMEGA_INTEL
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2e32071

Please sign in to comment.