Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Perlmutter documentation #939

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions docs/source/building/platforms/perlmutter_nersc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Create a file ``profile.hipace`` and ``source`` it whenever you log in and want

# required dependencies
module load cmake/3.22.0
module load cray-hdf5-parallel/1.12.1.5
module load cray-hdf5-parallel/1.12.2.3

# necessary to use CUDA-Aware MPI and run a job
export CRAY_ACCEL_TARGET=nvidia80
Expand All @@ -34,13 +34,18 @@ Create a file ``profile.hipace`` and ``source`` it whenever you log in and want
export CUDAHOSTCXX=CC


Install HiPACE++ (the first time, and whenever you want the latest version):
Download HiPACE++ from GitHub (the first time, and whenever you want the latest version):

.. code-block:: bash

source profile.hipace
git clone https://github.com/Hi-PACE/hipace.git $HOME/src/hipace # only the first time
cd $HOME/src/hipace
git clone https://github.com/Hi-PACE/hipace.git $HOME/src/hipace # or any other path you prefer

Compile the code using CMake

.. code-block:: bash

source profile.hipace # load the correct modules
cd $HOME/src/hipace # or where HiPACE++ is installed
rm -rf build
cmake -S . -B build -DHiPACE_COMPUTE=CUDA
cmake --build build -j 16
Expand Down