From 6ffe8118668ac681cd4c51fcc4ddc98fc6fdeef6 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 9 Sep 2016 10:53:48 +0100 Subject: [PATCH] Removed $NSLOTS from mpirun, think the -np argument should be the number of MPI processes, i.e. number of gprMax models --- tools/HPC scripts/gprmax_omp_mpi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/HPC scripts/gprmax_omp_mpi.sh b/tools/HPC scripts/gprmax_omp_mpi.sh index ada029f8..04a70729 100644 --- a/tools/HPC scripts/gprmax_omp_mpi.sh +++ b/tools/HPC scripts/gprmax_omp_mpi.sh @@ -34,4 +34,4 @@ export OMP_NUM_THREADS=8 ### Run gprMax with input file cd $HOME/gprMax -mpirun -np $NSLOTS python -m gprMax mymodel.in -n 100 -mpi \ No newline at end of file +mpirun -np 100 python -m gprMax mymodel.in -n 100 -mpi \ No newline at end of file