From 8dcb939c78a7a1aaadaca4f948c16ee83d3040eb Mon Sep 17 00:00:00 2001 From: Yinjian Zhao Date: Tue, 28 Jul 2020 19:47:17 -0700 Subject: Add job submission script of Cori Haswell in Doc (#1222) * 1st * modify .sh * Apply suggestions from code review Co-authored-by: Axel Huebl --- Docs/source/running_cpp/platforms.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Docs/source/running_cpp') diff --git a/Docs/source/running_cpp/platforms.rst b/Docs/source/running_cpp/platforms.rst index 1d7093325..2a3ead381 100644 --- a/Docs/source/running_cpp/platforms.rst +++ b/Docs/source/running_cpp/platforms.rst @@ -37,6 +37,28 @@ regime), the following set of parameters provided good performance: * **2 grids per MPI**, *i.e.*, 16 grids per KNL node. +Running on Cori Haswell at NERSC +-------------------------------- + +The batch script below can be used to run a WarpX simulation on 1 `Haswell node `_ on the supercomputer Cori at NERSC. + +.. literalinclude:: ../../../Tools/BatchScripts/batch_cori_haswell.sh + :language: bash + +To run a simulation, copy the lines above to a file ``batch_cori_haswell.sh`` and +run +:: + + sbatch batch_cori_haswell.sh + +to submit the job. + +For a 3D simulation with a few (1-4) particles per cell using FDTD Maxwell +solver on Cori Haswell for a well load-balanced problem (in our case laser +wakefield acceleration simulation in a boosted frame in the quasi-linear +regime), the following set of parameters provided good performance: + +* **4 MPI ranks per Haswell node** (2 MPI ranks per `Intel Xeon E5-2698 v3 `_), with ``OMP_NUM_THREADS=16`` (which uses `2x hyperthreading `_) .. _running-cpp-summit: -- cgit v1.2.3