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, 胡杨 <781578...@qq.com> 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";<r...@open-mpi.org>;
> *发送时间:* 2013年12月3日(星期二) 中午1:39
> *收件人:* "Open MPI Users"<us...@open-mpi.org>;
>  *主题:* 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, 胡杨 <781578...@qq.com> 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
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

Reply via email to