Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-27 Thread Oscar Vega-Gisbert
Hi Takahiro, Gilles, Siegmar, Thank you very much for all your fix. I don't notice about calling 'mca_base_var_register' before MPI_Init. I'm sorry for the inconvenience. Regards, Oscar El 27/10/14 07:16, Gilles Gouaillardet escribió: Kawashima-san, thanks a lot for the detailled

Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-27 Thread Gilles Gouaillardet
Kawashima-san, thanks a lot for the detailled explanation. FWIW, i was previously testing on Solaris 11 that behaves like Linux : printf("%s", NULL) outputs '(null)' vs a SIGSEGV on Solaris 10 i commited a16c1e44189366fbc8e967769e050f517a40f3f8 in order to fix this issue (i moved the call to

Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-26 Thread Ralph Castain
Oh yeah - that would indeed be very bad :-( > On Oct 26, 2014, at 6:06 PM, Kawashima, Takahiro > wrote: > > Siegmar, Oscar, > > I suspect that the problem is calling mca_base_var_register > without initializing OPAL in JNI_OnLoad. > > ompi/mpi/java/c/mpi_MPI.c: >

Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-26 Thread Kawashima, Takahiro
Siegmar, Oscar, I suspect that the problem is calling mca_base_var_register without initializing OPAL in JNI_OnLoad. ompi/mpi/java/c/mpi_MPI.c: jint JNI_OnLoad(JavaVM *vm, void *reserved) { libmpi = dlopen("libmpi."

Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-25 Thread Siegmar Gross
Hi Gilles, I changed _dbg to a static variable, so that it is visible in the library, but unfortunately still not in the symbol table. tyr java 419 nm /usr/local/openmpi-1.9.0_64_gcc/lib64/libmpi_java.so | grep -i _dbg [271] | 1249644| 4|OBJT |LOCL |0|18 |_dbg.14258 tyr java 420

Re: [OMPI users] which info is needed for SIGSEGV in Java foropenmpi-dev-124-g91e9686on Solaris

2014-10-24 Thread Siegmar Gross
Hi Gilles, thank you very much for your help. > how did you configure openmpi ? which java version did you use ? > > i just found a regression and you currently have to explicitly add > CFLAGS=-D_REENTRANT CPPFLAGS=-D_REENTRANT > to your configure command line I added "-D_REENTRANT" to my