Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Eric Thibodeau (kyron_at_[hidden])
Date: 2007-04-04 13:32:15

hehe...don't we all love it when a problem "fixes" itself. I was missing a line in my Type creation to realigne the elements correctly:

        // Displacement is RELATIVE to it's first structure element!
        for(i=2; i >= 0; i--) Displacement[i] -= Displacement[0];

I'm attaching the functionnal code so that others can maybe see this one as an example ;)

Le mercredi 4 avril 2007 11:47, Eric Thibodeau a écrit :
> 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

Eric Thibodeau
Neural Bucket Solutions Inc.