Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxThevenet committed Feb 29, 2024
1 parent 1cddd75 commit b793824
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/building/platforms/maxwell_desy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ This page only provides HiPACE++ specific instructions.
For more information please visit the
`Maxwell documentation <https://confluence.desy.de/display/MXW/Maxwell+Cluster>`__.

Create a file ``profile.hipace`` and ``source`` it whenever you log in and want to work with
Create a file ``profile.hipace``, for instance in ``$HOME``, and ``source`` it whenever you log in and want to work with
HiPACE++:

.. code-block:: bash
#!/usr/bin/env zsh # Shell is assumed to be zsh
module purge
module load maxwell gcc/9.3 openmpi/4
module load maxwell cuda/11.8
Expand Down Expand Up @@ -39,7 +39,7 @@ submission script:

.. code-block:: bash
#! /usr/bin/env sh
#! /usr/bin/env zsh
#SBATCH --partition=<partition> # mpa # maxgpu # allgpu
#SBATCH --time=01:00:00
#SBATCH --nodes=1
Expand All @@ -49,7 +49,7 @@ submission script:
#SBATCH --error=hipace-%j-%N.err
export OMP_NUM_THREADS=1
module load maxwell gcc/9.3 openmpi/4 cuda/11.8
source $HOME/profile.hipace # or correct path to your profile file
mpiexec -n 4 -npernode 4 $HOME/src/hipace/build/bin/hipace inputs
Expand Down

0 comments on commit b793824

Please sign in to comment.