[OMPI users] Multi-program between Java and C/Fortran...

2013-07-18 Thread Andre Dozier
I'm interested in connecting new Java programs with legacy programs written in C and Fortran using MPI (so that they are machine independent and parallel). To try this out at first, I was hoping to simply Send arrays of basic datatypes (integer, floats, etc.) from a Java program to a simple C o

Re: [OMPI users] Multi-program between Java and C/Fortran...

2013-07-22 Thread Andre Dozier
_Send(&buf, 1, MPI_INT32_T, i, 0, MPI_COMM_WORLD); recvr++; } } else { printf("C program is waiting at %d\n", rank); MPI_Recv(&buf, 1, MPI_INT32_T, sender, 0, MPI_COMM_WORLD, &status); } } printf("C program received %d at %d\n&qu

Re: [OMPI users] Multi-program between Java and C/Fortran...

2013-07-23 Thread Andre Dozier
the C bindings. Were you using the Java bindings in the OMPI trunk? Or were you using a 3rd party library? On Jul 22, 2013, at 9:13 AM, Andre Dozier wrote: I never got mpiJava to stop freezing at the MPI calls when trying to talk to a program written in C (most likely because I don't