title: error while loading shared libraries: libcudart.so.4: cannot open shared object file: No such file or directory
body: <p>I am trying to execute MPI and CUDA code on a cluster. The code works fine on single machine but when I try to execute it on cluster I get error:</p>
  
  <p>error while loading shared libraries: libcudart.so.4: cannot open shared object file: No such file or directory</p>
  
  <p>I checked my PATH and LD_PATH and it looks ok. I have a .bashrc file which contains following entries -</p>
  
  <p>export PATH=$PATH:/usr/local/lib/:/usr/local/lib/openmpi:/usr/local/cuda/bin
  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/ lib/openmpi/:/usr/local/cuda/lib</p>
  
  <p>All the machines haves same installation of CUDA and OpenMPI.</p>
  
  <p>I also have /usr/local/cuda/lib in /etc/ld.so.conf</p>
  
  <p>Can anyone help me with this. This problem is really annoying.</p>
  
  <p>Thanks. </p>