From 931df421d029e0fe7c4af3bf4edc40cd04072827 Mon Sep 17 00:00:00 2001 From: Ben Wibking Date: Thu, 17 Oct 2024 15:57:40 -0400 Subject: [PATCH] use only 1 MPI rank --- reproducer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reproducer.sh b/reproducer.sh index 70267d40..628b4b7b 100755 --- a/reproducer.sh +++ b/reproducer.sh @@ -2,6 +2,8 @@ set -x +NRANKS=1 + # compile rm -rf build mkdir build @@ -11,7 +13,7 @@ cmake --build . cd .. # first run -mpirun -np 8 ./build/bin/athenaPK -i inputs/restart_reproducer.in +mpirun -np $NRANKS ./build/bin/athenaPK -i inputs/restart_reproducer.in # move outputs to avoid being overwritten mkdir first_run @@ -19,7 +21,7 @@ mv parthenon.* first_run rm *.csv # restart run -mpirun -np 8 ./build/bin/athenaPK -r first_run/parthenon.restart.00000.rhdf +mpirun -np $NRANKS ./build/bin/athenaPK -r first_run/parthenon.restart.00000.rhdf # clean up rm *.csv