Open hyeonLIB opened 3 weeks ago
I had a similar problem, where conda tried to install a newer version of cuda-runtime compared to the one asking for. I solved by modifying the file docker/Dockerfile like this:
FROM:
ENV PATH="/opt/conda/bin:$PATH"
ENV LD_LIBRARY_PATH="/opt/conda/lib:$LD_LIBRARY_PATH"
RUN conda install -qy conda==24.1.2 pip python=3.11 \
&& conda install -y -c nvidia cuda=${CUDA_VERSION} \
&& conda install -y -c conda-forge openmm=8.0.0 pdbfixer \
&& conda clean --all --force-pkgs-dirs --yes
TO:
# Install conda packages.
ENV PATH="/opt/conda/bin:$PATH"
ENV LD_LIBRARY_PATH="/opt/conda/lib:$LD_LIBRARY_PATH"
RUN conda install -qy conda==24.1.2 pip python=3.11 \
&& conda install -y -c nvidia/label/cuda-${CUDA_VERSION} cuda \
&& conda install -y -c conda-forge openmm=8.0.0 pdbfixer \
&& conda clean --all --force-pkgs-dirs --yes
I hope this works for you too
Thank you for the great work and repository. I have an issue to build alphafold docker.
The nvidia/cuda:11.0-base is not available so I've executed the docker run command instead.
It seemed okay, so I tried to build the alphafold docker and I got error bellow.
=> [ 1/12] FROM docker.io/nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu20.04 45.5s => [ 2/12] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt 38.7s => [ 3/12] RUN git clone --branch v3.3.0 https://github.com/soedinglab/ 48.7s => [ 4/12] RUN wget -q -P /tmp https://repo.anaconda.com/miniconda/Mi 11.2s => ERROR [ 5/12] RUN conda install -qy conda==24.1.2 pip python=3.11 65.2s
Thank you for your effort.