-
Steps to reproduce (on midway2):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Proceeding with conda instead of mamba, I receive the following error when trying to run the SpectralABF tutorial:
Attached is my environment and the modules loaded are below:
|
Beta Was this translation helpful? Give feedback.
-
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
# There are wheels available for the following jax version for the corresponding python, cuda, and cudnn versions,
JAX_VERSION=0.4.6
pip install "jax==$JAX_VERSION" "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-$JAX_VERSION+cuda11.cudnn82-cp39-cp39-manylinux2014_x86_64.whl"
# Install openmm-dlext, installs openmm as well
mamba install -c conda-forge openmm-dlext
# Install pysages
pip install git+https://github.com/SSAGESLabs/PySAGES.git Notice that there's no need to load any modules or to build Finally, you might need to do the following export LD_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH" before running a simulation, though. |
Beta Was this translation helpful? Give feedback.
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):