Try 

env | grep LD_LIBRARY_PATH

Does it show /home/sunitap/soft/openmpi/lib in your library path.

I have a similar installation. This is how my LD_LIBRARY_PATH looks.

LD_LIBRARY_PATH=/lustre/work/apps/gromacs-testgar/lib:/lustre/work/apps/gromacs-mkl/lib:/lustre/work/apps/openmpi-testgar/lib:/opt/intel/Compiler/11.1/064/lib/intel64:/opt/intel/Compiler/11.1/064/mkl/lib/em64t:/opt/intel/Compiler/11.1/064/lib/intel64:/opt/intel/Compiler/11.1/064/mkl/lib/em64t:/opt/gridengine/lib/lx26-amd64

Rangam
________________________________________
From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] On Behalf Of 
sun...@chem.iitb.ac.in [sun...@chem.iitb.ac.in]
Sent: Monday, August 16, 2010 1:24 AM
To: Open MPI Users
Subject: Re: [OMPI users] problem with .bashrc stetting of openmpi

> Hello Sunitha,
> If you have admin privileges on this system add library path to
>  /etc/ld.so.conf
I don't have admin privileges.
>
> eg: echo "/home/sunitap/soft/openmpi/lib" >> /etc/ld.so.conf
>
> ldconfig
>
> Rangam
> ________________________________________
> From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] On Behalf Of
> sun...@chem.iitb.ac.in [sun...@chem.iitb.ac.in]
> Sent: Monday, August 16, 2010 12:28 AM
> To: Open MPI Users
> Subject: Re: [OMPI users] problem with .bashrc stetting of openmpi
>
> Hi,
>
>> hello Sunita,
>>
>> what linux distribution is this?
> The linux distribution is Red Hat Enterprise Linux Server release 5.5
> (Tikanga)
>>
>> On Fri, Aug 13, 2010 at 1:57 AM, <sun...@chem.iitb.ac.in> wrote:
>>
> Thanks,
> Sunita
>
>>> Dear Open-mpi users,
>>>
>>> I installed openmpi-1.4.1 in my user area and then set the path for
>>> openmpi in the .bashrc file as follow. However, am still getting
>>> following
>>> error message whenever am starting the parallel molecular dynamics
>>> simulation using GROMACS. So every time am starting the MD job, I need
>>> to
>>> source the .bashrc file again.
>>>
>>> Earlier in some other machine I did the same thing and was not getting
>>> any
>>> problem.
>>>
>>> Could you guys suggest what would be the problem?
>>>
>>> ============.bashrc============
>>> #path for openmpi
>>> export PATH=$PATH:/home/sunitap/soft/openmpi/bin
>>> export CFLAGS="-I/home/sunitap/soft/openmpi/include"
>>> export LDFLAGS="-L/home/sunitap/soft/openmpi/lib"
>>> export LD_LIBRARY_PATH=/home/sunitap/soft/openmpi/lib:$LD_LIBRARY_PATH
>>>
>>> ============== error message ==============
>>> mdrun_mpi: error while loading shared libraries: libmpi.so.0: cannot
>>> open
>>> shared object file: No such file or directory
>>>
>>> ============================================
>>>
>>> Thanks for any help.
>>> Best regards,
>>> Sunita
>>>
>>> _______________________________________________
>>> 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
>
>
> _______________________________________________
> 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
>


_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to