Sign inSign up

mtzgroup/terachem-compilation-environment-experimental

By mtzgroup

•Updated about 1 year ago

Experimental compilation environments for TeraChem

Image
0

930

mtzgroup/terachem-compilation-environment-experimental repository overview

Old tags might miss a recent bugfix with new docker versions (using DOCKER_BUILDKIT=1 by default) and cuda compilation during docker build. The problem is: at docker build time, the nvidia driver was not mounted, so libcuda.so is not in /usr/lib/ or /usr/lib64/, so at link stage you'll get "lc: cannot find -lcuda". The fix is to put /usr/local/cuda/lib64/stubs/ into LIBRARY_PATH and LD_LIBRARY_PATH, so the linker can find libcuda.so from cuda compiler.

In order to run compilation on those old tags, add these ENVs to your image:

ENV LIBRARY_PATH="/usr/local/cuda/lib64/stubs/:$LIBRARY_PATH"
ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64/stubs/:$LD_LIBRARY_PATH"

Tag summary

Content type

Image

Digest

sha256:8171ab140…

Size

10.8 GB

Last updated

about 1 year ago

docker pull mtzgroup/terachem-compilation-environment-experimental:ubuntu22.04-intel2022.1.2-cuda12.9.0-openmm7.4-protobuf3.14.0-sdftd3_1.2.1-micromamba2.3.0