Re: [OMPI users] broadcasting basic data items in Java

2012-12-24 Thread Jeff Squyres
I can confirm that the first program fails (bcast a single int). I'm trying to understand how the implementation works, but this may take some time (due to the holidays, etc.). On Dec 22, 2012, at 2:53 AM, Siegmar Gross wrote: > Hi > >> Interesting. My best guess is that the OMPI libraries ar

Re: [OMPI users] broadcasting basic data items in Java

2012-12-22 Thread Siegmar Gross
Hi > Interesting. My best guess is that the OMPI libraries aren't being > found, though I'm a little surprised because the error message > indicates an inability to malloc - but it's possible the message > isn't accurate. > > One thing stands out - I see you compiled your program with "javac". >

Re: [OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Ralph Castain
Interesting. My best guess is that the OMPI libraries aren't being found, though I'm a little surprised because the error message indicates an inability to malloc - but it's possible the message isn't accurate. One thing stands out - I see you compiled your program with "javac". I suspect that

Re: [OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Siegmar Gross
Hi > Hmmm...weird. Well, it looks like OMPI itself is okay, so the issue > appears to be in the Java side of things. For whatever reason, your > Java VM is refusing to allow a malloc to succeed. I suspect it has > something to do with its setup, but I'm not enough of a Java person > to point you t

Re: [OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Ralph Castain
Hmmm...weird. Well, it looks like OMPI itself is okay, so the issue appears to be in the Java side of things. For whatever reason, your Java VM is refusing to allow a malloc to succeed. I suspect it has something to do with its setup, but I'm not enough of a Java person to point you to the probl

Re: [OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Siegmar Gross
Hi > I can't speak to the other issues, but for these - it looks like > something isn't right in the system. Could be an incompatibility > with Suse 12.1. > > What the errors are saying is that malloc is failing when used at > a very early stage in starting the process. Can you run even a > C-bas

Re: [OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Ralph Castain
I can't speak to the other issues, but for these - it looks like something isn't right in the system. Could be an incompatibility with Suse 12.1. What the errors are saying is that malloc is failing when used at a very early stage in starting the process. Can you run even a C-based MPI "hello" p

[OMPI users] broadcasting basic data items in Java

2012-12-21 Thread Siegmar Gross
Hi I'm still using "Open MPI: 1.9a1r27668" and Java 1.7.0_07. Today I implemented a few programs to broadcast int, int[], double, or double[]. I can compile all four programs without problems, which means that "Object buf" as a parameter in "MPI.COMM_WORLD.Bcast" isn't a problem for basic datatype