diff options
author | 2019-08-26 19:47:16 -0700 | |
---|---|---|
committer | 2019-08-26 19:47:16 -0700 | |
commit | 83d451a02b3fc493e3e48d992599e60319042860 (patch) | |
tree | ad389f30c3b1956eb502e018499d1bcf3cefa748 /Docs/source/running_cpp | |
parent | 619f6e12c6dc782b7465465525dca80eded1cb72 (diff) | |
download | WarpX-83d451a02b3fc493e3e48d992599e60319042860.tar.gz WarpX-83d451a02b3fc493e3e48d992599e60319042860.tar.zst WarpX-83d451a02b3fc493e3e48d992599e60319042860.zip |
make scripts more general and clean the doc
Diffstat (limited to 'Docs/source/running_cpp')
-rw-r--r-- | Docs/source/running_cpp/platforms.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Docs/source/running_cpp/platforms.rst b/Docs/source/running_cpp/platforms.rst index 3eeafc7e5..fc4e2b1fb 100644 --- a/Docs/source/running_cpp/platforms.rst +++ b/Docs/source/running_cpp/platforms.rst @@ -11,6 +11,14 @@ by relevant values, for instance ``<job name>`` could be ``laserWakefield``. .. literalinclude:: ../../../Examples/batchScripts/batch_cori.sh :language: bash +To run a simulation, copy the lines above to a file ``batch_cori.sh`` and +run +:: + + sbatch batch_cori.sh + +to submit the job. + For a 3D simulation with a few (1-4) particles per cell using FDTD Maxwell solver on Cori KNL for a well load-balanced problem (in our case laser wakefield acceleration simulation in a boosted frame in the quasi-linear @@ -37,6 +45,14 @@ MPI rank per GPU. .. literalinclude:: ../../../Examples/batchScripts/batch_summit.sh :language: bash +To run a simulation, copy the lines above to a file ``batch_summit.sh`` and +run +:: + + bsub batch_summit.sh + +to submit the job. + For a 3D simulation with a few (1-4) particles per cell using FDTD Maxwell solver on Summit for a well load-balanced problem (in our case laser wakefield acceleration simulation in a boosted frame in the quasi-linear |