Re: [OMPI users] MPI_Read_file and MPI_Write_file fails

2007-09-03 Thread Corey Putkunz
Hi Edgar, Yeah I finally figured out that by MPI_2DOUBLE_COMPLEX they didn't mean it was two doubles side my side (real and imag) to make a complex. Once I sorted things out with MPI_DOUBLE_COMPLEX it seems to work great. Thanks! Corey On 9/4/07, Edgar Gabriel wrote: > you are probably using th

Re: [OMPI users] memory leaks on solaris

2007-09-03 Thread Glenn Carver
Hi Don, Somehow I thought it might not be so easy.. otherwise it might have been spotted before! Although we first spotted the problem with our own application, I did the most recent tests using the Intel MPI Benchmarks (intel_clustertools3.tar.gz) and saw the same behaviour. It might be i

Re: [OMPI users] MPI_Read_file and MPI_Write_file fails

2007-09-03 Thread Edgar Gabriel
you are probably using the wrong data type. MPI_2DOUBLE_COMPLEX is like a structure of two 'double complex' data types for MPI_MINLOC/MAXLOC operations in MPI_Reduce/Allreduce. You should try MPI_DOUBLE_COMPLEX. Resp, if this still doesn't work, compare the size of your complex data type from

[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