Skip to content

Commit

Permalink
new slurm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rboman committed Jan 31, 2024
1 parent 033f3d2 commit b0bf391
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
23 changes: 23 additions & 0 deletions classes/sph0/louis/run.waterdrop.globalscratch.nic5 copy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
# Submission script for Nic5
#SBATCH --job-name=SPH
#SBATCH --time=00:05:00 # hh:mm:ss
#
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=12
#SBATCH --mem-per-cpu=10 # megabytes
#SBATCH --partition=batch
#
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#
#SBATCH --output=sph.stdout.txt

module purge
module load Python
module load VTK

THISDIR=`pwd`
cd $GLOBALSCRATCH

$(THISDIR)/run.py -k 12 $(THISDIR)/tests/waterdrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@
module purge
module load Python
module load VTK
# export OMP_NUM_THREADS=12
# export MKL_NUM_THREADS=12

./run.py -k 12 tests/waterdrop.py

# mkdir -p $GLOBALSCRATCH/$SLURM_JOB_ID
# cd $GLOBALSCRATCH/$SLURM_JOB_ID

0 comments on commit b0bf391

Please sign in to comment.