Page 2 of 2

Re: error - shared libraries: libqdmod.so.0 in NVIDIA HPC-SDK container

Posted: Thu Jul 13, 2023 6:50 am
by amihai_silverman1
I have found the way to solve the problem : error while loading shared libraries: libqdmod.so.0

In the Slurm submit script, one should write (I put my example) :

export LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.5/compilers/extras/qd/lib:$LD_LIBRARY_PATH
srun --container-image=/rg/spatari_prj/amihai/vasp/nvidia+nvhpc+vasp.sqsh \
--container-mounts=/rg/spatari_prj/amihai/vasp/H2O:/home/H2O \
--container-workdir=/home/H2O \
mpirun --prefix $LD_LIBRARY_PATH -np 8 /usr/local/vasp.6.4.1/bin/vasp_std

This "--prefix $LD_LIBRARY_PATH" inserts the LD_LIBRARY_PATH setting to the container.