Re: [OMPI users] Fortran MPI Struct with Allocatable Array

2010-08-02 Thread Eugene Loh
I can't give you a complete answer, but I think this is less an MPI question and more of a Fortran question.  The question is if you have a Fortran derived type, one of whose components is a POINTER, what does the data structure look like in linear memory?  I could imagine the answer is impleme

[OMPI users] Fortran MPI Struct with Allocatable Array

2010-07-30 Thread Jeremy Roberts
I'm trying to parallelize a Fortran code with rather complicated derived types full of pointer arrays. When I build the MPI type for sending, all the static components are sent, but the pointer arrays are not (and retain initial values). I imagine this has to do with memory addresses when creatin