Re: [OMPI users] MPI_Read_file and MPI_Write_file fails

2007-09-03 Thread Corey Putkunz
complex data type from complex.h (e.g. using > the sizeof operator) and the size of the MPI_DOUBLE_COMPLEX data type > (e.g. using MPI_Type_size). If they don't match you probably need to use > MPI_COMPLEX. > > > Corey Putkunz wrote: > > Hi everyone, > > > > An

[OMPI users] MPI_Read_file and MPI_Write_file fails

2007-09-03 Thread Corey Putkunz
Hi everyone, An interesting problem I've discovered with MPI_Read_file (part of the MPI I/O interface). When trying to read a 256^3 complex array (by complex I mean "complex" defined in complex.h) into a single dynamically allocated array (whos memory is successfully allocated). To read I call: M