[petsc-users] configure cannot find a c preprocessor

Santiago Andres Triana repepo at gmail.com
Wed Dec 20 16:46:17 CST 2017


Dear petsc-users,

I'm trying to install petsc in a cluster using SGI's MPT. The mpicc
compiler is in the search path. The configure command is:

./configure --with-scalar-type=complex --with-mumps=1 --download-mumps
--download-parmetis --download-metis --download-scalapack

However, this leads to an error (configure.log attached):

===============================================================================
             Configuring PETSc to compile on your system

===============================================================================
TESTING: checkCPreprocessor from
config.setCompilers(config/BuildSystem/config/setCompilers.py:599)

*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):
-------------------------------------------------------------------------------
Cannot find a C preprocessor
*******************************************************************************

The configure.log says something about cpp32, here's the excerpt:

Possible ERROR while running preprocessor: exit code 256
stderr:
gcc: error: cpp32: No such file or directory


Any ideas of what is going wrong? any help or comments are highly
appreciated. Thanks in advance!

Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171220/b0807565/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 88969 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171220/b0807565/attachment-0001.obj>


More information about the petsc-users mailing list