[OMPI devel] vt compilation problem

2010-03-19 Thread Terry Dontje
I was trying to compile the trunk head using Linux and Sun Studio compilers and saw the following error. I am not sure that the compiler really is the smoking gun. I see that State.cpp was last modified in r22820 and I wonder if the modification added the usage of "__FUNCTION__" outside an if

Re: [OMPI devel] Problem with MPI_Type_indexed and hole (defined with MPI_Type_create_resized )

2010-03-19 Thread George Bosilca
Pascal, I went inside the code, and I have to say it's a long tricky story. Let me try to sort it out: - you create two types: - the indexed one containing just one element. This type is contiguous as there are no holes around the data, i.e. the size and the extent of this datatype are equal

Re: [OMPI devel] Problem with MPI_Type_indexed and hole (defined with MPI_Type_create_resized )

2010-03-19 Thread Pascal Deveze
Hi George, I went further on my investigations, and I found a solution. ADIOI_Datatype_iscontig is defined in the file ompi/mca/io/romio/src/io_romio_module.c as: void ADIOI_Datatype_iscontig(MPI_Datatype datatype, int *flag) { /* * Open MPI contiguous check return true for datatype wi