Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] OpenMPI and CUDA on cluster
From: Shamis, Pavel (shamisp_at_[hidden])
Date: 2012-05-03 11:53:06

I have solved this issue. All the paths were correct but I still had to use

mpirun -x LD_LIBRARY_PATH.... while executing the job.

Other option is to update your .bashrc/.cshrc.
Just add the LD_LIBRARY_PATH to the file and the update variable will be available on remote machines as well.
(I made an assumption here that you have the same home directory available on all nodes )


Now works like a charm.

Thanks for your responses.

On Wed, May 2, 2012 at 4:04 AM, Trent <tjones146_at_[hidden]<mailto:tjones146_at_[hidden]>> wrote:
That is discussed on here:

Maybe that could be your issue too.

From: users-bounces_at_[hidden]<mailto:users-bounces_at_[hidden]> [mailto:users-bounces_at_[hidden]<mailto:users-bounces_at_[hidden]>] On Behalf Of Rohan Deshpande
Sent: Tuesday, May 01, 2012 4:04 AM
To: Open MPI Users
Subject: [OMPI users] OpenMPI and CUDA on cluster


I am trying to execute OpenMPI 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:

error while loading shared libraries: cannot open shared object file: No such file or directory

I checked my PATH and LD_PATH and it looks ok. I have a .bashrc file which contains following entries -

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/:

All the machines haves same installation of CUDA and OpenMPI.

Can anyone help me with this.

This problem is really annoying.


users mailing list

Best Regards,
users mailing list