Re: [OMPI users] little endian - big endian conversion

2006-09-01 Thread Jeff Squyres
On 8/30/06 7:03 PM, "Eng. A.A. Isola" wrote: > "As of Open MPI 1.1, we do support endian conversion between peers. It > has not been as well tested as the rest of the code base, but it > should work." > > Then if I send for example a MPI_CHAR between a solaris SPARC > and a LINUX pc both with

Re: [OMPI users] Problem with C++ Binding

2006-09-01 Thread Jeff Squyres
Tobias -- I am unfortunately unable to replicate your problem. :-( Can you confirm that you're getting the "right" mpi.h? That's the most obvious problem that I can think of. If it seems to be right, can you compile your program with debugging enabled and step through it with a debugger? A tr

[OMPI users] question about passing MPI communicator

2006-09-01 Thread Wang, Peng
Hello, I am wondering in openmpi how is the passing of MPI communcator from Fortran to C is handled? Assuming I have a Fortran 90 subroutine calling a C function passing MPI_COMM_WORLD in, in the C function, do I need to first do MPI_Comm_f2c to convert to MPI handle, then use that handle afterw

Re: [OMPI users] question about passing MPI communicator

2006-09-01 Thread Brian Barrett
Your example is pretty close to spot on. You want to convert the Fortran handle (integer) into a C handle (something else). Then use the C handle to call C functions. The one thing of note is that you should use the type MPI_Fint instead of int for the type of the Fortran handles. So your paral

Re: [OMPI users] Problem with C++ Binding

2006-09-01 Thread Tobias Graf
Hello Jeff, thank you very much for your reply! > I am unfortunately unable to replicate your problem. :-( Today I also tried the code by using gcc (V 4.0.2) to compile OpenMPI, and with this set up the example is working fine. So I guess there is a problem when I use the Intel C++ compiler (V9