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 successfully registered into all
frameworks.
OMPIO does not currently support this
(and the stub is missing in v1.10 so the app does not crash)
your test is successful if you blacklist ompio :
mpirun --mca io ^ompio ./int64
or
OMPI_MCA_io=^romio ./int64
and you do not even need a patch for that :-)
Cheers,
Gilles
On 3/11/2016 4:47 AM, Éric Chamberland wrote:
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 address: (nil)
[melkor:24426] [ 0] /lib64/libpthread.so.0(+0xf1f0)[0x7f66cfb731f0]
[melkor:24426] *** End of error message ***
Segmentation fault (core dumped)
I have attached the beginning of a test program that use this function.
(and btw a totally different error occur with mpich:
http://lists.mpich.org/pipermail/discuss/2016-March/004586.html)
Can someone help me?
Thanks,
Eric
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/03/28677.php