From 5dfb7eb86f310d8611e445f49bdfeb2c7ac3c9ce Mon Sep 17 00:00:00 2001 From: Jourdain <jourdain@cines.fr> Date: Tue, 11 Feb 2020 15:50:09 +0100 Subject: [PATCH] Add occigen slurm scripts --- RAMSES/machines/occigen-bdw/batch_large.slurm | 31 +++++++++++++++++++ .../machines/occigen-bdw/batch_medium.slurm | 6 ++-- RAMSES/machines/occigen-bdw/batch_small.slurm | 5 ++- 3 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 RAMSES/machines/occigen-bdw/batch_large.slurm diff --git a/RAMSES/machines/occigen-bdw/batch_large.slurm b/RAMSES/machines/occigen-bdw/batch_large.slurm new file mode 100644 index 0000000..d6e4fc1 --- /dev/null +++ b/RAMSES/machines/occigen-bdw/batch_large.slurm @@ -0,0 +1,31 @@ +#!/bin/bash +#SBATCH --job-name=RamsesLarge +#SBATCH --nodes=147 +#SBATCH --ntasks=12800 +#SBATCH --cpus-per-task=2 +#SBATCH --threads-per-core=1 +#SBATCH --time=00:30:00 +#SBATCH --output=ramses3dLarge-BDW28-%j.out +#SBATCH --error=ramses3dLarge-BDW28-%j.err +#SBATCH --constraint=BDW28 +set -x + +#!/bin/bash +#MSUB -r PROD_BIG +#MSUB -n 12800 +#MSUB -c 2 +#MSUB -T 1800 +#MSUB -o PROD_BIG.o_%J +#MSUB -e PROD_BIG.e_%J +#MSUB -A gch0412 +#MSUB -q rome + + + +source ./env +SIMU=$bench_dir/PROD_BIG/ # Working directory +NML="cosmo.nml" # Namelist file +RAMSES=$ramses_dir/ramses/bin/ramses3d # ramses executable +DATE=`date +"%m-%d-%y-%H-%M-%S"` +cd $SIMU +srun --mpi=pmi2 -K1 --resv-ports -n $SLURM_NTASKS $RAMSES $NML > $SIMU'/run_'$DATE.log diff --git a/RAMSES/machines/occigen-bdw/batch_medium.slurm b/RAMSES/machines/occigen-bdw/batch_medium.slurm index 1d29944..ad4f49a 100644 --- a/RAMSES/machines/occigen-bdw/batch_medium.slurm +++ b/RAMSES/machines/occigen-bdw/batch_medium.slurm @@ -4,13 +4,13 @@ #SBATCH --ntasks=4096 #SBATCH --threads-per-core=1 #SBATCH --time=00:30:00 -#SBATCH --output=ramses3d-BDW28-%j.out -#SBATCH --error=ramses3d-BDW28-%j.err +#SBATCH --output=ramses3dMedium-BDW28-%j.out #SBATCH --constraint=BDW28 set -x source ./env -SIMU=$bench_dir/PROD/ # Working directory +cp ../../PROD/cosmo.nml $bench_dir/testcase_medium/. +SIMU=$bench_dir/testcase_medium/ # Working directory NML="cosmo.nml" # Namelist file RAMSES=$ramses_dir/ramses/bin/ramses3d # ramses executable DATE=`date +"%m-%d-%y-%H-%M-%S"` diff --git a/RAMSES/machines/occigen-bdw/batch_small.slurm b/RAMSES/machines/occigen-bdw/batch_small.slurm index 7d68c0d..fdb1e45 100644 --- a/RAMSES/machines/occigen-bdw/batch_small.slurm +++ b/RAMSES/machines/occigen-bdw/batch_small.slurm @@ -1,11 +1,10 @@ #!/bin/bash #SBATCH --job-name=DEBUG -#SBATCH --nodes=11 +#SBATCH --nodes=10 #SBATCH --ntasks=256 #SBATCH --threads-per-core=1 #SBATCH --time=00:30:00 -#SBATCH --output=ramses3d-BDW28-%j.out -#SBATCH --error=ramses3d-BDW28-%j.err +#SBATCH --output=ramses3dDebug-BDW28-10N-%j.out #SBATCH --constraint=BDW28 set -x -- GitLab