[Insight-users] MPI_Ssend image buffer

Kevin H. Hobbs hobbsk at ohiou.edu
Thu Jul 17 10:07:24 EDT 2008


Is there any particular reason that I should not be able to send an 
ITK image from node to node?

I'm still working on it, but when I try with the attached code I get:

[kevin at murron ITK_MPI]$ mpirun -np 2 ./read_send_write /home/kevin/kitware/Insight/Testing/Data/Baseline/IO/HeadMRVolume.mhd HeadMRVolume.mhd
[murron:11224] *** Process received signal ***
[murron:11224] Signal: Segmentation fault (11)
[murron:11224] Signal code: Address not mapped (1)
[murron:11224] Failing at address: 0x7fff4fa34000
We got ImageRegion (0x7fff0b3a00b0)
  Dimension: 3
  Index: [0, 0, 0]
  Size: [48, 62, 42]

[murron:11224] [ 0] /lib64/libpthread.so.0 [0x3ab840ed30]
[murron:11224] [ 1] /lib64/libc.so.6(memcpy+0x15b) [0x3ab788392b]
[murron:11224] [ 2] /usr/lib64/openmpi/1.2.4-gcc/libmpi.so.0(ompi_convertor_pack+0x152) [0x3814245392]
[murron:11224] [ 3] /usr/lib64/openmpi/1.2.4-gcc/openmpi/mca_btl_self.so(mca_btl_self_prepare_src+0x1b6) [0x7fd33f89bd06]
[murron:11224] [ 4] /usr/lib64/openmpi/1.2.4-gcc/openmpi/mca_pml_ob1.so(mca_pml_ob1_send_request_start_rndv+0x140) [0x7fd33fcb0230]
[murron:11224] [ 5] /usr/lib64/openmpi/1.2.4-gcc/openmpi/mca_pml_ob1.so(mca_pml_ob1_send+0x332) [0x7fd33fca90f2]
[murron:11224] [ 6] /usr/lib64/openmpi/1.2.4-gcc/libmpi.so.0(MPI_Ssend+0x13a) [0x3814262f2a]
[murron:11224] [ 7] ./read_send_write(main+0x263) [0x41ff5f]
[murron:11224] [ 8] /lib64/libc.so.6(__libc_start_main+0xfa) [0x3ab781e32a]
[murron:11224] [ 9] ./read_send_write(_ZN3MPI3Win4FreeEv+0xd1) [0x41fbc9]
[murron:11224] *** End of error message ***
mpirun noticed that job rank 0 with PID 11224 on node murron exited on signal 11 (Segmentation fault). 
1 additional process aborted (not shown)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_send_write.cxx
Type: text/x-c++src
Size: 2719 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080717/60c17028/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080717/60c17028/attachment.pgp>


More information about the Insight-users mailing list