Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # dev >> MPI: Java/JNI help


+
Ralph Castain 2012-01-30, 23:58
Copy link to this message
-
Re: MPI: Java/JNI help
It doesn't have to be static.
Do architectures match between the node manager jvm and the library?
If one is 32 bit and the other is 64, it won't work.

Kihwal

On 1/30/12 5:58 PM, "Ralph Castain" <[EMAIL PROTECTED]> wrote:

Hi folks

As per earlier emails, I'm just about ready to release the Java MPI bindings. I have one remaining issue and would appreciate some help.

We typically build OpenMPI dynamically. For the Java bindings, this means that the JNI code underlying the Java binding must dynamically load OMPI plug-ins. Everything works fine on Mac. However, on Linux, I am getting dynamic library load errors.

I have tried setting -Djava.library.path and LD_LIBRARY_PATH to the correct locations. In both cases, I get errors from the JNI code indicating that it was unable to open the specified dynamic library.

I have heard from one person that JNI may need to be built statically, and I suppose it is possible that Apple's customized Java implementation specifically resolved that problem. However, all the online documentation I can find indicates that Java on Linux should also be able to load dynamic libraries - but JNI is not specifically addressed.

Can any of you Java experts provide advice on this behavior? I'd like to get these bindings released!

Thanks
Ralph
+
Ralph Castain 2012-01-31, 00:37
+
Ralph Castain 2012-01-31, 19:07
+
Ralph Castain 2012-01-31, 22:34
+
Kihwal Lee 2012-01-31, 23:35
+
Ralph Castain 2012-02-01, 16:37
+
Noah Watkins 2012-01-31, 00:24
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB