Skip to content

Commit

Permalink
Merge branch 'master' into rc/notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest authored Dec 17, 2024
2 parents 170896c + 6a368d5 commit b2f5dce
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,18 @@ specific JAX GPU installation instructions, as that is the main installation dif

**Note that DESC does not always test on or guarantee support of the latest version of JAX (which does not have a stable 1.0 release yet), and thus older versions of GPU-accelerated versions of JAX may need to be installed, which may in turn require lower versions of JaxLib, as well as CUDA and CuDNN.**


Perlmutter (NERSC)
++++++++++++++++++++++++++++++
These instructions were tested and confirmed to work on the Perlmutter supercomputer at NERSC on June 18, 2024.
These instructions were tested and confirmed to work on the Perlmutter supercomputer at NERSC on December 17, 2024.

Set up the correct cuda environment for jax installation

.. code-block:: sh
module load cudatoolkit/12.2
module load cudatoolkit/12.4
module load cudnn/8.9.3_cuda12
module load python
module load python/3.11
Check that you have loaded these modules

Expand All @@ -118,21 +119,9 @@ Create a conda environment for DESC (`following these instructions <https://docs

.. code-block:: sh
conda create -n desc-env python=3.9
conda create -n desc-env python=3.11
conda activate desc-env
pip install --no-cache-dir "jax==0.4.23" "jaxlib[cuda12_cudnn89]==0.4.23" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
For Perlmutter installation, please change the scipy version from

.. code-block:: sh
scipy >= 1.7.0, < 2.0.0
to

.. code-block:: sh
scipy >= 1.7.0, <= 1.11.3
pip install --upgrade "jax[cuda12]"
Clone and install DESC

Expand Down

0 comments on commit b2f5dce

Please sign in to comment.