Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] »Ø¸´£º can you help me please ?thanks
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-12-03 08:03:38


The FAQ is your friend, for this and many other questions :-)

http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path

On Tue, Dec 3, 2013 at 1:40 AM, ºúÑî <781578278_at_[hidden]> wrote:

>
> how to add add the path to your default shell profile (e.g.,
> .bashrc)?and here is my LD_LIBRARY_PATH path on complier export on rocks
> cluster,include frontend and compute nodes
>
> declare -x
> LD_LIBRARY_PATH="/usr/lib:/home/hushjian/software/gdal/lib:/opt/openmpi/lib"
>
> and I also add
> LD_LIBRARY_PATH="/usr/lib:/home/hushjian/software/gdal/lib:/opt/openmpi/lib"
> in ~/.bash_profile
>
> can you tell me how to set default shell profile (e.g., .bashrc)? thanks
> our lab is studying HPC for CPU-GPU cluster
>
>
> ------------------ ԭʼÓʼþ ------------------
> *·¢¼þÈË:* "Ralph Castain";<rhc_at_[hidden]>;
> *·¢ËÍʱ¼ä:* 2013Äê12ÔÂ3ÈÕ(ÐÇÆÚ¶þ) ÖÐÎç1:39
> *ÊÕ¼þÈË:* "Open MPI Users"<users_at_[hidden]>;
> *Ö÷Ìâ:* Re: [OMPI users] can you help me please ?thanks
>
> Check that your LD_LIBRARY_PATH is getting set properly on your remote
> node - it likely is missing the path to this libgdal. You might need to add
> the path to your default shell profile (e.g., .bashrc)
>
>
>
> On Mon, Dec 2, 2013 at 9:23 PM, ºúÑî <781578278_at_[hidden]> wrote:
>
>> A simple program at my 4-node ROCKS cluster runs fine with command:
>>
>> /opt/openmpi/bin/mpirun -np 4 -machinefile machines ./sort_mpi6
>>
>>
>> Another bigger programs runs fine on the head node only with command:
>>
>> cd ./sphere; /opt/openmpi/bin/mpirun -np 4 ../bin/sort_mpi6
>>
>> But with the command:
>>
>> cd /sphere; /opt/openmpi/bin/mpirun -np 4 -machinefile ../machines
>> ../bin/sort_mpi6
>>
>> It gives output that:
>>
>> ../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1:
>> cannot open
>> shared object file: No such file or directory
>> ../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1:
>> cannot open
>> shared object file: No such file or directory
>> ../bin/sort_mpi6: error while loading shared libraries: libgdal.so.1:
>> cannot open
>> shared object file: No such file or directory
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>