Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Open MPI 1.2.4 verbosity w.r.t. osc pt2pt
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-12-13 20:10:17


On Dec 13, 2007, at 6:01 PM, Brian W. Barrett wrote:

> But it is easy for OPen MPI to figure out whether it's statically or
> dynamically linked, as libtool compiles the code twice if building
> both
> static and shared and you could poke at #defines to figure out what's
> going on -- easy enough to deal with. I just don't think we should be
> doing so :).

I agree.

But FWIW: how do you do this in the "--enable-static --enable-shared"
case? I couldn't think of how to do a different #define for two
different compiles of the same source file without significant hackery.

-- 
Jeff Squyres
Cisco Systems