[mpich-devel] overzealous F90/F90FLAGS error

Rob Latham robl at mcs.anl.gov
Tue Jan 13 10:41:35 CST 2015



On 01/13/2015 10:20 AM, Jeff Hammond wrote:

>
> Googling "F90FLAGS -mpich" reveals a litany of scientific applications
> that rely upon the F90 environment variable to be configured.  Some
> users don't want to set F90 manually for every build if they know they
> always want to use F90=ifort, hence the shell export.

no one is asking anyone to set F90FLAGS globally.  that's ridiculous.

One can easily scope the environment variables to the invocation of 
configure:

/home/robl/src/mpich/configure  CFLAGS="-DJEFF_IS_A_HOTTHEAD" 
F90FLAGS="-Wall -Something_only_mpich_needs"  --enable-robl-is-awesome

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the devel mailing list