Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Eric Thibodeau (kyron_at_[hidden])
Date: 2007-04-04 11:47:05

Hello all,

        First off, please excuse the attached code as I may be naïve in my attempts to implement my own MPI_OP.

        I am attempting to create my own MPI_OP to use with MPI_Allreduce. I have been able to find very little examples off the net of creating MPI_OPs. My present references are "MPI The complete reference Volume 1 2nd edition" and some rather good slides I found at . I am attaching my "proof of concept" code which fails with:

[kyron:14074] *** Process received signal ***
[kyron:14074] Signal: Segmentation fault (11)
[kyron:14074] Signal code: Address not mapped (1)
[kyron:14074] Failing at address: 0x801da600
[kyron:14074] [ 0] [0x6ffa6440]
[kyron:14074] [ 1] /home/kyron/openmpi_i686/lib/openmpi/ [0x6fbb0dd0]
[kyron:14074] [ 2] /home/kyron/openmpi_i686/lib/openmpi/ [0x6fbae9a2]
[kyron:14074] [ 3] /home/kyron/openmpi_i686/lib/ [0x6ff61e86]
[kyron:14074] [ 4] AllReduceTest(main+0x180) [0x8048ee8]
[kyron:14074] [ 5] /lib/ [0x6fcbd823]
[kyron:14074] *** End of error message ***

Eric Thibodeau