Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Asymmetric performance with nonblocking, multithreaded communications
From: Patrik Jonsson (code_at_[hidden])
Date: 2011-11-30 17:35:17

Replying to my own post, I'd like to add some info:

After making the master thread put more of a premium on receiving the
missing messages, the problem went away. Both tasks now appear to keep
up on the messages sent from the other. However, after about a minute
and ~1.5e6 messages exchanged, both tasks segfault after printing the
following error:

[] mca_btl_sm_component_progress
read an unknown type of header

The debugger spits me out on line 674 of btl_sm_component.c, in the
default of a switch on fragment type. There's a comment there that

* This code path should presumably never be called.
* It's unclear if it should exist or, if so, how it should be written.
* If we want to return it to the sending process,
* we have to figure out who the sender is.
* It seems we need to subtract the mask bits.
* Then, hopefully this is an sm header that has an smp_rank field.
* Presumably that means the received header was relative.
* Or, maybe this code should just be removed.

That seems worrisome, like whoever wrote the code didn't know what was
going on... I've gotten that error previously, but only when millions
of outstanding messages had built up. Now, that's not the case.

Does anyone have any idea what could be going on here?


/Patrik J.