'error while loading shared libraries: libcudart.so.9.1: cannot open shared object file: No such file or directory

I got this error while executing mpi processes on remote machines.

mpirun -hosts csews10,csews11 -np 4 ./mpi

But when I run the code on a single machine it works fine.

I have set my PATH of MPI and LD_LIBRARY_PATH as below

export PATH=/users/xxxx/xxxx/installs/mpich/bin:$PATH

export LD_LIBRARY_PATH=/users/xxx/xxx/installs/mpich/lib:$LD_LIBRARY_PATH

Any idea how to solve the issue



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source