Re: [O-MPI users] Collective communications with derived datatypes

2005-08-15 Thread George Bosilca
Joel, I took a look at your code and found the error. Basically, it's just a datatype problem. The datatype as described in your program does not correspond to the one you expect to see in practice. Actually you forget to set the correct extent. Let me show you the problem. Let's suppose

[O-MPI users] mpi opaque object fortran type

2005-08-15 Thread Ben Allan
Hi, I deal with mixed-language c/c++/fortran codes and it appears I might be able to define an inter-language opaque reference (e.g. a Comm) as C int64t for passing to fortran and using the MPI_Comm_c2f/f2c macros to encode/decode it on the C side. The MPI standard says that on the FORTRAN side