alphafold icon indicating copy to clipboard operation
alphafold copied to clipboard

Add conda lib path to LD_LIBRARY_PATH

Open gabrielctn opened this issue 2 years ago • 1 comments

Fix the following errors which occured when running the singularity transformed docker image of alphafold 2.2.4 Dockerfile:

Could not load dynamic library 'libcusolver.so.11' 

Which generates the error:

RuntimeError: jaxlib/cuda/cusolver_kernels.cc:44: operation cusolverDnCreate(&handle) failed: cuSolver internal error

Steps to generate the Singularity image by converting the docker image:

$ docker build -f docker/Dockerfile -t alphafold:2.2.4 .
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/output --privileged -t --rm quay.io/singularity/docker2singularity -n alphafold_2.2.4.sif alphafold:2.2.4
$ singularity build /tmp/alphafold_2.2.4.sif docker-daemon://alphafold:2.2.4

gabrielctn avatar Oct 05 '22 12:10 gabrielctn

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 05 '22 12:10 google-cla[bot]