Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] MPIR attach from padb broken (1.5.5rc1)
From: Nathan T. Hjelm (hjelmn_at_[hidden])
Date: 2011-12-16 10:56:47


> Why do the symbols need to be weak? Remember that not all platforms
> support weak symbols.

I don't know. The way we currently pull MPIR symbols into orterun breaks
with some configuration. If we don't pull the symbols in then launchmon
can't attach to orterun. Moving the symbols to weak fixes the problem
Ashley is seeing without breaking launchmon.

What platforms configurations do not support weak?

> The symbols don't need to be in the executable itself, right? It should
> be fine for them to be a library (e.g., libopen-rte.so/a).

In theory, yes, but in practice, no. To support launchmon orterun needs to
"define" MPIR symbols. At the moment they are in the wrong section (B) and
moving them to section V (when it is supported) should be better.

-Nathan