<div dir="ltr"><div><br></div><div>pulling from git PETSC and on master branch.</div><div><br></div><div><span style="font-family:monospace">./configure CPP=/usr/bin/cpp<br>===============================================================================<br>             Configuring PETSc to compile on your system                       <br>===============================================================================<br>TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:592)                           *******************************************************************************<br>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Cannot find a C preprocessor<br>*******************************************************************************</span><br></div><div><br></div><div><br></div><div><br></div><div>Brian</div><div><br></div><div>my configure script</div><div><br></div><div><span style="font-family:monospace">configure_options = [<br>#   '--with-mpi-dir=/usr/local/opt/open-mpi',<br>   '--with-cc=/usr/bin/clang',<br>   '--with-cpp=/usr/bin/cpp',<br>   '--with-cxx=/usr/bin/clang++',<br>   '--with-fc=0',<br>    'COPTFLAGS=-g -framework Accelerate',<br>    'CXXOPTFLAGS=-g -framework Accelerate',<br>    'FOPTFLAGS=-g',<br>#  '--with-memalign=64',<br>  '--download-hypre=1',<br>  '--download-metis=1',<br>  '--download-parmetis=1',<br>  '--download-c2html=1',<br>  '--download-ctetgen',<br>#  '--download-viennacl',<br>#  '--download-ml=1',<br>  '--download-p4est=1',<br>  '--download-superlu_dist',<br>  '--download-superlu',<br>  '--with-cxx-dialect=C++11',<br>  '--download-mumps=1',<br>  '--download-scalapack=1',<br>#  '--download-exodus=1',<br>#  '--download-ctetgen=1',<br>  '--download-triangle=1',<br>#  '--download-pragmatic=1',<br>#  '--download-eigen=1',<br>  '--download-zlib',<br>  '--with-x=1',<br>  '--with-sowing=0',<br>  '--with-debugging=1',<br>  '--with-precision=double',<br>  'PETSC_ARCH=arch-macosx-gnu-g',<br>  '--download-chaco'<br>  ]<br><br>if __name__ == '__main__':<br>  import sys,os<br>  sys.path.insert(0,os.path.abspath('config'))<br>  import configure<br>  configure.petsc_configure(configure_options)</span><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:monospace,monospace">Brian Van Straalen         Lawrence Berkeley Lab<br><a href="mailto:BVStraalen@lbl.gov" target="_blank">BVStraalen@lbl.gov</a>        Computational Research<br>(510) 486-4976            Division (<a href="http://crd.lbl.gov" target="_blank">crd.lbl.gov</a>)</span><br></div></div></div>