From b0bf391ab184a22247beb0da7c8fac4b3cf86e2d Mon Sep 17 00:00:00 2001 From: Romain Boman Date: Wed, 31 Jan 2024 11:40:55 +0100 Subject: [PATCH] new slurm scripts --- .../run.waterdrop.globalscratch.nic5 copy.sh | 23 +++++++++++++++++++ ...run.nic5.sh => run.waterdrop.home.nic5.sh} | 5 ---- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100755 classes/sph0/louis/run.waterdrop.globalscratch.nic5 copy.sh rename classes/sph0/louis/{run.nic5.sh => run.waterdrop.home.nic5.sh} (74%) diff --git a/classes/sph0/louis/run.waterdrop.globalscratch.nic5 copy.sh b/classes/sph0/louis/run.waterdrop.globalscratch.nic5 copy.sh new file mode 100755 index 00000000..c201d88e --- /dev/null +++ b/classes/sph0/louis/run.waterdrop.globalscratch.nic5 copy.sh @@ -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 --mail-user=r.boman@uliege.be +#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 diff --git a/classes/sph0/louis/run.nic5.sh b/classes/sph0/louis/run.waterdrop.home.nic5.sh similarity index 74% rename from classes/sph0/louis/run.nic5.sh rename to classes/sph0/louis/run.waterdrop.home.nic5.sh index 12026199..c7a5c21f 100755 --- a/classes/sph0/louis/run.nic5.sh +++ b/classes/sph0/louis/run.waterdrop.home.nic5.sh @@ -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