Re: [OMPI devel] Bug in MPI.MINLOC with Java binding

2013-11-12 Thread Oscar Vega-Gisbert
must use the struct 'mpi.Int2' as you can see in your corrected example. Regards, Oscar From: Saliya Ekanayake mailto:esal...@gmail.com>> Subject: [OMPI devel] Bug in MPI.MINLOC with Java binding Date: November 11, 2013 3:35:23 PM EST To: mailto:de...@open-mpi.org>> Reply-T

Re: [OMPI devel] Bug in MPI.MINLOC with Java binding

2013-11-11 Thread Ralph Castain
Afraid I'll have to let them answer - I can't find the corresponding code. On Nov 11, 2013, at 6:50 PM, Saliya Ekanayake wrote: > Hi Ralph, > > In the nightly snapshot that I was using (openmpi-1.9a1r28919) there were two > java files (Minloc.java and Maxloc.java) inside $OMPI_HOME/ompi/mpi/ja

Re: [OMPI devel] Bug in MPI.MINLOC with Java binding

2013-11-11 Thread Saliya Ekanayake
Hi Ralph, In the nightly snapshot that I was using (openmpi-1.9a1r28919) there were two java files (Minloc.java and Maxloc.java) inside $OMPI_HOME/ompi/mpi/java/java However, these are no longer available in the trunk. I think this is because of the reason Oscar mentioned that now MINLOC and MAXL

Re: [OMPI devel] Bug in MPI.MINLOC with Java binding

2013-11-11 Thread Ralph Castain
I'm lost - where were you making a change? I'm unaware of Minloc.java or Maxloc.java files in the MPI bindings, so I assume the change was being made to the Intracomm.java file? On Nov 11, 2013, at 12:35 PM, Saliya Ekanayake wrote: > Hi, > > I've been using nightly tarball openmpi-1.9a1r289

[OMPI devel] Bug in MPI.MINLOC with Java binding

2013-11-11 Thread Saliya Ekanayake
Hi, I've been using nightly tarball openmpi-1.9a1r28919 with Java binding and it had a bug in its MINLOC implementation (Minloc.java). Essentially, the following line, out_array [outdisp + 1] = in_array [*outdisp* + 1] ; should be changed to out_array [outdisp + 1] = in_array [*indisp* + 1] ;