Re: [OMPI devel] [Score-P support] Compile errors of Fedora rawhide

2014-03-12 Thread Jeff Squyres (jsquyres)
On Mar 11, 2014, at 11:25 PM, Orion Poplawski wrote: >> Did you find any others, perchance? > > Also: > MPI_Type_hindexed > MPI_Type_struct > > But these were also deprecated in MPI-2.0, so probably gone in MPI-3. Correct -- i.e., I confirm you're right: MPI_Type_indexed and MPI_Type_struct w

[OMPI devel] Loading Open MPI from MPJ Express (Java) fails

2014-03-12 Thread Bibrak Qamar
Hi all, I am writing a new device for MPJ Express that uses a native MPI library for communication. Its based on JNI wrappers like the original mpiJava. The device works fine with MPICH3 (and MVAPICH2.2). Here is the issue with loading Open MPI 1.7.4 from MPJ Express. I have generated the follow

Re: [OMPI devel] Loading Open MPI from MPJ Express (Java) fails

2014-03-12 Thread Ralph Castain
If you are going to use OMPI via JNI, then you have to load the OMPI library from within your code. This is a little tricky from Java as OMPI by default builds as a set of dynamic libraries, and each component is a dynamic library as well. The solution is to either build OMPI static, or to use l

Re: [OMPI devel] Loading Open MPI from MPJ Express (Java) fails

2014-03-12 Thread Jeff Squyres (jsquyres)
Check out how we did this with the embedded java bindings in Open MPI; see the comment describing exactly this issue starting here: https://svn.open-mpi.org/trac/ompi/browser/trunk/ompi/mpi/java/c/mpi_MPI.c#L79 Feel free to compare MPJ to the OMPI java bindings -- they're shipping in 1.7.4

Re: [OMPI devel] Loading Open MPI from MPJ Express (Java) fails

2014-03-12 Thread Ralph Castain
Here's what I had to do to load the library correctly (we were only using ORTE, so substitute "libmpi") - this was called at the beginning of "init": /* first, load the required ORTE library */ #if OPAL_WANT_LIBLTDL lt_dladvise advise; if (lt_dlinit() != 0) { fprintf(stderr,

[OMPI devel] orte-restart and PATH

2014-03-12 Thread Adrian Reber
I am using orte-restart without setting my PATH to my Open MPI installation. I am running /full/path/to/orte-restart and orte-restart tries to run mpirun to restart the process. This fails on my system because I do not have any mpirun in my PATH. Is it expected for an Open MPI installation to set u

Re: [OMPI devel] orte-restart and PATH

2014-03-12 Thread Ralph Castain
That's what the --enable-orterun-prefix-by-default configure option is for On Mar 12, 2014, at 9:28 AM, Adrian Reber wrote: > I am using orte-restart without setting my PATH to my Open MPI > installation. I am running /full/path/to/orte-restart and orte-restart > tries to run mpirun to restart