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

Lisandro Dalcin dalcinl at gmail.com
Mon Aug 6 13:27:48 CDT 2012


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?):

$ cd mpich2-dev
$ head -n 7 config.log | tail -n 1
  $ ./configure --prefix=/home/devel/mpi/mpich2-dev --enable-shared
CFLAGS=-fPIC FFLAGS=-fPIC --enable-g=all

$ cd src/mpe2/
$ head -n 7 config.log | tail -n 1
  $ ./configure --disable-option-checking
--prefix=/home/devel/mpi/mpich2-dev --enable-shared CFLAGS=-fPIC   -g
-O2 FFLAGS=-fPIC  -g -O2 --enable-g=all --cache-file=/dev/null
--srcdir=.


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the mpich2-dev mailing list