Libnvhpcatm.so

Dear members,
I really need help to solve my problem.
I’m trying to compile my code using mpif90 with hpc_sdk 20.7 but It’s getting this error:
/home/luthi/hpc_sdk/Linux_x86_64/20.7/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/mpif90: error while loading shared libraries: libnvhpcatm.so: cannot open shared object file: No such file or directory

How I suppose to fix it plz ?

Thank you very much for your help

Best regards

Hi Lucci,

Try setting your environment’s LD_LIBRARY_PATH to include the directory that contains the compiler runtime libraries. Exact command will depend on the shell you’re using. Examples:

Bash: export LD_LIBRARY_PATH=/home/luthi/hpc_sdk/Linux_x86_64/20.7/compilers/lib:$LD_LIBRARY_PATH
Csh: setenv LD_LIBRARY_PATH /home/luthi/hpc_sdk/Linux_x86_64/20.7/compilers/lib:$LD_LIBRARY_PATH

If you do not already have LD_LIBRARY_PATH set, please omit the “:$LD_LIBRARY_PATH” at the end, otherwise you may get an error.

Hope this helps,
Mat

Amazing Mat Colgrove,

Thank you very much for your help.
It’s working now !

Best regards,

Luis Thiago Paolicchi