From 643621a930462942917f5fb042bfec3c25fb0e54 Mon Sep 17 00:00:00 2001 From: Pietro Incardona Date: Sun, 24 May 2015 21:53:50 +0200 Subject: [PATCH] Add 256 processors for taurus --- build_vcluster.sh | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/build_vcluster.sh b/build_vcluster.sh index c124c9c..5cd586f 100644 --- a/build_vcluster.sh +++ b/build_vcluster.sh @@ -74,28 +74,16 @@ then make if [ $? -ne 0 ]; then exit 1 ; fi - script="#!/bin/bash\n -\n -module load openmpi/1.8.5\n -module load gcc/4.8.2\n -ulimit -l unlimited\n -ulimit -s unlimited\n -/sw/taurus/libraries/openmpi/1.8.5/bin/mpirun -np 16 src/vcluster\n" - - echo $script | sed -r 's/\\n/\n/g' > run_script - chmod a+x run_script - salloc --nodes=1 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 16 src/vcluster -# srun --nodes=1 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script -# if [ $? -ne 0 ]; then exit 1 ; fi -# srun --nodes=2 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script -# if [ $? -ne 0 ]; then exit 1 ; fi -# srun --nodes=4 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy run_script -# if [ $? -ne 0 ]; then exit 1 ; fi -# srun --nodes=8 --nstaks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sansy run_script -# if [ $? -ne 0 ]; then exit 1 ; fi -# srun --nodes=16 --nstaks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sansy run_script -# if [ $? -ne 0 ]; then exit 1 ; fi + if [ $? -ne 0 ]; then exit 1 ; fi + salloc --nodes=2 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 32 src/vcluster + if [ $? -ne 0 ]; then exit 1 ; fi + salloc --nodes=4 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 64 src/vcluster + if [ $? -ne 0 ]; then exit 1 ; fi + salloc --nodes=8 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 128 src/vcluster + if [ $? -ne 0 ]; then exit 1 ; fi + salloc --nodes=16 --ntasks-per-node=16 --time=04:00:00 --mem-per-cpu=1900 --partition=sandy mpirun -np 256 src/vcluster + if [ $? -ne 0 ]; then exit 1 ; fi else echo "Compiling general" -- GitLab