Re: [OMPI users] Error with MPI_Register_datarep

2016-03-16 Thread Edgar Gabriel
On 3/16/2016 7:06 AM, Éric Chamberland wrote: Le 16-03-14 15:07, Rob Latham a écrit : On mpich's discussion list the point was made that libraries like HDF5 and (Parallel-)NetCDF provide not only the sort of platform portability Eric desires, but also provide a self-describing file format.

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-16 Thread Éric Chamberland
Le 16-03-14 15:07, Rob Latham a écrit : On mpich's discussion list the point was made that libraries like HDF5 and (Parallel-)NetCDF provide not only the sort of platform portability Eric desires, but also provide a self-describing file format. ==rob But I do not agree with that. If

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-14 Thread Rob Latham
On 03/13/2016 12:21 PM, George Bosilca wrote: Eric, A quick grep in Open MPI source indicates that the only 2 places where MPI_ERR_UNSUPPORTED_DATAREP is issue are deep inside the imported ROMIO code (3.14):

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-13 Thread George Bosilca
Eric, A quick grep in Open MPI source indicates that the only 2 places where MPI_ERR_UNSUPPORTED_DATAREP is issue are deep inside the imported ROMIO code (3.14): ./ompi/mca/io/romio314/romio/adio/include/adioi_errmsg.h:70:MPI_ERR_UNSUPPORTED_DATAREP

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-12 Thread Éric Chamberland
Hi Gilles, Le 16-03-10 23:14, Gilles Gouaillardet a écrit : Eric, my short answer is no. long answer is : - from MPI_Register_datarep() /* The io framework is only initialized lazily. If it hasn't already been initialized, do so now (note that MPI_FILE_OPEN and

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-10 Thread Gilles Gouaillardet
Eric, my short answer is no. long answer is : - from MPI_Register_datarep() /* The io framework is only initialized lazily. If it hasn't already been initialized, do so now (note that MPI_FILE_OPEN and MPI_FILE_DELETE are the only two places that it will be

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-10 Thread Éric Chamberland
Thanks Gilles! it works... I will continue my tests with that command line... Until OMPIO supports this, is there a way to put a call into the code to disable ompio the same way --mca io ^ompio does? Thanks, Eric Le 16-03-10 20:13, Gilles Gouaillardet a écrit : Eric, I will fix the crash

Re: [OMPI users] Error with MPI_Register_datarep

2016-03-10 Thread Gilles Gouaillardet
Eric, I will fix the crash (fwiw, it is already fixed in v2.x and master) note this program cannot currently run "as is". by default, there are two frameworks for io : ROMIO and OMPIO. MPI_Register_datarep does try to register the datarep into all frameworks, and successes only if datarep was

[OMPI users] Error with MPI_Register_datarep

2016-03-10 Thread Éric Chamberland
Hi, I have a segfault while trying to use MPI_Register_datarep with openmpi-1.10.2: mpic++ -g -o int64 int64.cc ./int64 [melkor:24426] *** Process received signal *** [melkor:24426] Signal: Segmentation fault (11) [melkor:24426] Signal code: Address not mapped (1) [melkor:24426] Failing at