-
Notifications
You must be signed in to change notification settings - Fork 31
Machine specific instructions
Philipp Grete edited this page Nov 10, 2025
·
1 revision
Last updated: 2025-11-10
Pick a /PATH/TO on the project space /p/project... so that it does not get purged.
# load system environment modules
module purge
module load Stages/2025 GCC/13.3.0 OpenMPI CMake HDF5 Python FFTW Ninja ADIOS2
# Install python environment (with dependencies for postprocessing, e.g., yt)
# Create new virtual env
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade virtualenv
python3 -m pip cache purge
python3 -m venv /PATH/TO/venvs/booster
source /PATH/TO/venvs/booster/bin/activate
# And install required pacakges
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m pip install --upgrade packaging
python3 -m pip install --upgrade wheel
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade h5py
python3 -m pip install --upgrade scipy
python3 -m pip install --upgrade palettable
MPICC=mpicc python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
python3 -m pip install --upgrade matplotlib
python3 -m pip install --upgrade jupyter
python3 -m pip install --upgrade yt
python3 -m pip install --upgrade notebookmodule purge
module load Stages/2025 GCC/13.3.0 OpenMPI CMake HDF5 Python FFTW Ninja ADIOS2
source /PATH/TO/venvs/booster/bin/activateEnsure that the environment is installed and loaded.
Then compile/build AthenaPK as follows
git clone https://github.com/parthenon-hpc-lab/athenapk.git
cd athenapk
# this will get the Parthenon and Kokkos sources that are build automatically
git submodule update --init
cmake -Bbuild-booster -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ARCH_ZEN2=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON -GNinja
cmake --build build-booster -j8