From 411a3546fe0a4fa34c2210c7ec0f221ce9472d39 Mon Sep 17 00:00:00 2001
From: Jonathan Frawley <jonathan.frawley@durham.ac.uk>
Date: Thu, 21 Jan 2021 15:45:12 +0000
Subject: [PATCH] Slight update to jobs

---
 benchmark-slow/job-aps.sh | 2 +-
 benchmark-slow/job-arm.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmark-slow/job-aps.sh b/benchmark-slow/job-aps.sh
index a9d8c0f..4bc9d94 100644
--- a/benchmark-slow/job-aps.sh
+++ b/benchmark-slow/job-aps.sh
@@ -24,5 +24,5 @@ pushd swiftsim/examples/PMillennium/PMillennium-768
 export MPS_STAT_LEVEL=2
 export APS_ARGS="--collection-mode=mpi,omp"
 
-mpirun -np 1 aps $APS_ARGS ../../swift_mpi --cosmology --self-gravity -v 1 --threads=64 -n 1 -P Restarts:enable:0 -PInitialConditions:file_name:/cosma5/data/do008/dc-fraw1/swift_initial_conditions/pmillenium/PMill-768.hdf5 p-mill-768.yml
+mpirun -np $SLURM_NTASKS aps $APS_ARGS ../../swift_mpi --cosmology --self-gravity -v 1 --threads=64 -n 1 -P Restarts:enable:0 -PInitialConditions:file_name:/cosma5/data/do008/dc-fraw1/swift_initial_conditions/pmillenium/PMill-768.hdf5 p-mill-768.yml
 
diff --git a/benchmark-slow/job-arm.sh b/benchmark-slow/job-arm.sh
index 64c3ef9..8f529cd 100644
--- a/benchmark-slow/job-arm.sh
+++ b/benchmark-slow/job-arm.sh
@@ -20,5 +20,5 @@ module load python/3.6.5
 module load allinea/ddt/20.2.1
 pushd swiftsim/examples/PMillennium/PMillennium-768
 
-perf-report --mpi=intel-mpi -np 1 ../../swift_mpi --cosmology --self-gravity -v 1 --threads=64 -n 1 -P Restarts:enable:0 -PInitialConditions:file_name:/cosma5/data/do008/dc-fraw1/swift_initial_conditions/pmillenium/PMill-768.hdf5 p-mill-768.yml
+perf-report --mpi=intel-mpi -np $SLURM_NTASKS ../../swift_mpi --cosmology --self-gravity -v 1 --threads=64 -n 1 -P Restarts:enable:0 -PInitialConditions:file_name:/cosma5/data/do008/dc-fraw1/swift_initial_conditions/pmillenium/PMill-768.hdf5 p-mill-768.yml
 
-- 
GitLab