[petsc-dev] should MPICH do this?

Barry Smith bsmith at mcs.anl.gov
Wed Sep 3 14:58:58 CDT 2014


Configuring MPICH version 3.1 with  '--prefix=/Users/barrysmith/Src/petsc/arch-mpich' 'CC=/Users/barrysmith/Src/petsc/arch-mpich/bin/mpicc' 'CFLAGS= -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 ' 'AR=/usr/bin/ar' 'ARFLAGS=cr' '--disable-cxx' '--disable-fortran' '--disable-fc' '--disable-f77' '--disable-f90' '--enable-shared' '--with-device=ch3:sock' '--without-mpe' '--with-pm=hydra' '--enable-g=meminit' '--enable-fast'
Running on system: Darwin anlextwls002-182.wl.anl-external.org 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64configure: error: 
--enable-f90 and --disable-f90 are NO longer valid configure options,
use --enable-fc or --disable-fc instead
*******************************************************************************


Note that --disable-fc is also given along with '--disable-f77’ and '--disable-f90’  for backward capability. If configure is intended to be scriptable (as opposed to always run by hand by someone) should it really error out in this situation. Now my script that runs configure on MPICH needs to be super complicated and try different options based on the version of MPICH etc etc.

We should make sure we don’t error PETSc stuff out for silly reasons like this.

   Barry




More information about the petsc-dev mailing list