[mpich2-dev] CFLAGS=-fPIC not passed down to MPE ?

Dave Goodell goodell at mcs.anl.gov
Mon Aug 6 13:48:25 CDT 2012


On Aug 6, 2012, at 1:27 PM CDT, Lisandro Dalcin wrote:

> On 6 August 2012 15:12, Anthony Chan <chan at mcs.anl.gov> wrote:
>> 
>> 
>> ----- Original Message -----
>> 
>>>> 
>>>> Isn't this just a configure issue? In 1.4.x, MPE's configure is
>>>> invoked with CFLAGS set:
>>> 
>>> The issue is not that the CFLAGS are unset when MPE's configure is
>>> invoked. The issue is that we no longer have a
>>> "$(top_builddir)/bin/mpicc" wrapper script to use when building MPE,
>>> so a different code path is taken through MPE's configure.
>> 
>> Is any of user's CFLAGS/FFLAGS passed down to MPE configure ?
>> 
>> A.Chan
> 
> I think so (so they should be honored, right?):

They are passed correctly to the MPE configure(s) but a combination of strange configure logic and makefile choices leads to the CFLAGS only being used for linking and a few other places.

-Dave


More information about the mpich2-dev mailing list