[petsc-users] Could not find a CXX preprocessor on Catalina

Smith, Barry F. bsmith at mcs.anl.gov
Thu Dec 5 02:32:24 CST 2019


  Hmm, MPICH and OpenMPI have also passed this info in there compilers; perhaps this is a newer version clang that no longer tolerates these options

  I think we need to strip out those options as a guess



> On Dec 4, 2019, at 2:18 PM, Balay, Satish <balay at mcs.anl.gov> wrote:
> 
> Yes - this is a link time option - and somehow your build of mpich is
> using at compile/preprocess time.
> 
> You can try rebuilding this mpich - or use --download-mpich with petsc configure
> 
> Satish
> 
> On Wed, 4 Dec 2019, Alexander Lindsay wrote:
> 
>> Is this regarded as failing just because of the unused option warning? The
>> `mpicxx` wrapper specifies `-Wl,-flat_namespace` which is indeed going to
>> be unused during preprocessing...
>> 
>> On Wed, Dec 4, 2019 at 11:40 AM Alexander Lindsay <alexlindsay239 at gmail.com>
>> wrote:
>> 
>>> I'm currently unable to build superlu_dist during configuration because of
>>> "Could not find a CXX preprocessor". From configure.log it looks like CXXPP
>>> is getting deleted after errors executing `mpicxx -E` and then `mpicxx
>>> --use cpp32`. Attached is configure.log.
>>> 
>> 
> 



More information about the petsc-users mailing list