Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Java bindings failed to load required libraries
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-10-25 16:47:26


When you do a developer's build like this (i.e., checking our from SVN), you need much newer Autotools.

See the HACKING file in the OMPI top-level directory.

On Oct 25, 2012, at 4:45 PM, Georg Ruzicka wrote:

> I have a svn checkout and installed the tools are listed for the trunk.
> There are an newer version of libtool 1.12.3
> But i haven't installed yet
>
> I try it with the newer version...
>
>
> ----- Ursprüngliche Mail -----
> Von: "Jeff Squyres" <jsquyres_at_[hidden]>
> An: "Open MPI Users" <users_at_[hidden]>
> Gesendet: Donnerstag, 25. Oktober 2012 20:03:48 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
> Betreff: Re: [OMPI users] Java bindings failed to load required libraries
>
> Did you build from a trunk nightly tarball, or a SVN checkout?
>
> If a SVN checkout, you probably need to upgrade your Libtool. See this chart:
>
> http://www.open-mpi.org/svn/building.php
>
>
> On Oct 25, 2012, at 1:06 PM, Georg Ruzicka wrote:
>
>> Hello.
>>
>> I installed open mpi and try to run the examples.
>> I used the developer trunk.
>> C, C++ and Fortran90 examples compiling and running well.
>>
>> When i tried to run the compiled Hello.java class
>> i get this messages:
>>
>> georg_at_ThinkPad-R61:~/ompi-svn/examples$ mpirun java Hello
>> [ThinkPad-R61:19720] NO LT_DLADVISE - CANNOT LOAD LIBOMPI
>> JAVA BINDINGS FAILED TO LOAD REQUIRED LIBRARIES
>> -------------------------------------------------------
>> Primary job terminated normally, but 1 process returned
>> a non-zero exit code.. Per user-direction, the job has been aborted.
>> -------------------------------------------------------
>> --------------------------------------------------------------------------
>> mpirun detected that one or more processes exited with non-zero status, thus causing
>> the job to be terminated. The first process to do so was:
>>
>> Process name: [[43465,1],0]
>> Exit code: 1
>> --------------------------------------------------------------------------
>>
>>
>> I configure with:
>> ./configure --prefix=/home/georg/ompi-install1 --with-platform=optimized --enable-mpi-java --with-jdk-dir=/opt/jdk1.7.0_09
>>
>> I work with ubuntu 10.10.
>>
>> I added to .bashrc:
>> export PATH=$PATH:/home/georg/tools/installed/bin:/home/georg/ompi-install1/bin:/opt/jdk1.7.0_09/bin:/opt/jdk1.7.0_09
>> export LD_LIBRARY_PATH=$LB_LIBRARY_PATH:/home/georg/ompi-install1/lib:/home/georg/ompi-install1/lib/openmpi:/home/georg/ompi-install1/lib/pkgconfig
>>
>> I can compile and run java progs
>>
>> Did anyone know the fault?
>>
>> Thanks.
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> 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

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/