[OMPI users] Regarding the error while running an mpi program

2012-04-01 Thread seshendra seshu
Hi,
This is seshendra, iam new to MPI , iam doing my thesis on MPI, iam trying
to configure openMPI in clould using UNIVA cluster in amazon cloud.
I have followed the procedure given in the FAQ of the openMPI website and i
have installed successfully on all the nodes. But when i run the an MPI
program i was getting an following error "[root@ip-10-46-89-192 opt]#
mpirun -np 2 a.out
a.out: error while loading shared libraries: libmpi.so.0: cannot open
shared object file: No such file or directory
a.out: error while loading shared libraries: libmpi.so.0: cannot open
shared object file: No such file or directory"
So kindly any one help in sloving this problem.


Thanking you,



-- 
 WITH REGARDS
M.L.N.Seshendra


Re: [OMPI users] Regarding the error while running an mpi program

2012-04-01 Thread George Bosilca
http://www.open-mpi.org/faq/?category=running#run-prereqs

  george.

On Apr 1, 2012, at 20:18 , seshendra seshu wrote:

> Hi,
> This is seshendra, iam new to MPI , iam doing my thesis on MPI, iam trying to 
> configure openMPI in clould using UNIVA cluster in amazon cloud.
> I have followed the procedure given in the FAQ of the openMPI website and i 
> have installed successfully on all the nodes. But when i run the an MPI 
> program i was getting an following error "[root@ip-10-46-89-192 opt]# mpirun 
> -np 2 a.out
> a.out: error while loading shared libraries: libmpi.so.0: cannot open shared 
> object file: No such file or directory
> a.out: error while loading shared libraries: libmpi.so.0: cannot open shared 
> object file: No such file or directory"
> So kindly any one help in sloving this problem.
> 
> 
> Thanking you,
> 
> 
> 
> -- 
>  WITH REGARDS
> M.L.N.Seshendra
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] Regarding the error while running an mpi program

2012-04-01 Thread seshendra seshu
Hi george
Thank you , but i dont know how to configure the path. can you help me in
configuring the path.
On Mon, Apr 2, 2012 at 2:22 AM, George Bosilca  wrote:

> http://www.open-mpi.org/faq/?category=running#run-prereqs
>
>   george.
>
> On Apr 1, 2012, at 20:18 , seshendra seshu wrote:
>
> Hi,
> This is seshendra, iam new to MPI , iam doing my thesis on MPI, iam trying
> to configure openMPI in clould using UNIVA cluster in amazon cloud.
> I have followed the procedure given in the FAQ of the openMPI website and
> i have installed successfully on all the nodes. But when i run the an MPI
> program i was getting an following error "[root@ip-10-46-89-192 opt]#
> mpirun -np 2 a.out
> a.out: error while loading shared libraries: libmpi.so.0: cannot open
> shared object file: No such file or directory
> a.out: error while loading shared libraries: libmpi.so.0: cannot open
> shared object file: No such file or directory"
> So kindly any one help in sloving this problem.
>
>
> Thanking you,
>
>
>
> --
>  WITH REGARDS
> M.L.N.Seshendra
> ___
> 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
>



-- 
 WITH REGARDS
M.L.N.Seshendra


Re: [OMPI users] Regarding the error while running an mpi program

2012-04-01 Thread anurag sharma
Hi .

export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
/usr/local/lib/ instead of this path give the path name where your .so file
is located


 anurag

On Sun, Apr 1, 2012 at 5:31 PM, seshendra seshu  wrote:

>
> Hi george
> Thank you , but i dont know how to configure the path. can you help me in
> configuring the path.
>
> On Mon, Apr 2, 2012 at 2:22 AM, George Bosilca wrote:
>
>> http://www.open-mpi.org/faq/?category=running#run-prereqs
>>
>>   george.
>>
>> On Apr 1, 2012, at 20:18 , seshendra seshu wrote:
>>
>> Hi,
>> This is seshendra, iam new to MPI , iam doing my thesis on MPI, iam
>> trying to configure openMPI in clould using UNIVA cluster in amazon cloud.
>> I have followed the procedure given in the FAQ of the openMPI website and
>> i have installed successfully on all the nodes. But when i run the an MPI
>> program i was getting an following error "[root@ip-10-46-89-192 opt]#
>> mpirun -np 2 a.out
>> a.out: error while loading shared libraries: libmpi.so.0: cannot open
>> shared object file: No such file or directory
>> a.out: error while loading shared libraries: libmpi.so.0: cannot open
>> shared object file: No such file or directory"
>> So kindly any one help in sloving this problem.
>>
>>
>> Thanking you,
>>
>>
>>
>> --
>>  WITH REGARDS
>> M.L.N.Seshendra
>> ___
>> 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
>>
>
>
>
> --
>  WITH REGARDS
> M.L.N.Seshendra
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Regards
Anurag Sharma
email: anurag89sha...@gmail.com


[OMPI users] Error while loading shared libraries

2012-04-01 Thread Rohan Deshpande
Hi ,

I have installed mpi successfully and I am able to compile the programs
using mpicc

But when I run using mpirun, I get following error

 * error while loading shared libraries: libmpi.so.0: cannot open shared
object file no such object file: No such file or directory. *

When I run using - mpirun -np 1 ldd hello the following libraries are not
found
  1. *libmpi.so.0*
  2.* libopen-rte.so.0*
  3. *libopen.pal.so.0*

I am using openmpi version *1.4.5. *Also PATH and LD_LIBRARY_PATH variables
are correctly set and 'which mpicc' returns correct path
*
*
Any help would be highly appreciated.

Thanks