The problem has been found.
I'm trying to use MPI-IO to write the file with all processes taking part
in the calculation writing their bit. Here lies the rub.
Each process has to write a piece of DIM = 35709696 elements.
Using 64 processes the ofsett is my_rank * dim
and so... the ofset size, for last processes becomes.
DBG: 60 will WriteMPI_IO. dim 35709696 offset 2142581760
DBG: 61 will WriteMPI_IO. dim 35709696 offset -2116675840
DBG: 62 will WriteMPI_IO. dim 35709696 offset -2080966144
DBG: 63 will WriteMPI_IO. dim 35709696 offset -2045256448
offset is of the type MPI_OFFSET_KIND which seems insuficient to hold the
correct size for the offset.
So... am I condemned to write my own MPI data type so I can write the
files? ideas... ?
PhD/MSc Mechanical Engineering | Lic. Aerospace Engineering
Computational Fluid Dynamics, High Performance Computing, Turbulence
Cultural Instigator @ Rádio Zero
contacts: gtalk: kyriusan_at_[hidden] skype: kyriusan
Ricardo J.N. dos Reis
IDMEC, Instituto Superior Técnico, Technical University of Lisbon
Av. Rovisco Pais
- email sent with alpine 2.00 -