Skip to content

Installing on midway2 #286

Answered by pabloferz
ap-uchi asked this question in Q&A
Oct 13, 2023 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Hey @ap-uchi!

On midway2 the installed nvidia drivers are only compatible with CUDA 11.2. I found the following to work (tested only with python 3.9.x, where x>1, but 3.10 or newer might work as well):

# Create environment
mamba create -n pysages -c conda-forge python=3.9
mamba activate pysages
mamba install -c conda-forge cuda-version=11.2 cudatoolkit-dev=11.2 cudnn=8.2 cutensor nccl cupy  # CUDA deps
mamba install -c conda-forge cython numba  # compiler tools
mamba install -c conda-forge typing-extensions plum-dispatch  # typing tools
mamba install -c conda-forge importlib-metadata  # python extras

# Install jax
mamba install -c conda-forge ml_dtypes opt-einsum scipy zipp  # jax deps
#

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ricalessandri
Comment options

@pabloferz
Comment options

@ricalessandri
Comment options

@pabloferz
Comment options

@ricalessandri
Comment options

Answer selected by ap-uchi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #285 on October 16, 2023 18:13.