[petsc-dev] Fortran libraries cannot be used with C++ compiler
Rebecca Xuefei Yuan
xy2102 at columbia.edu
Fri Jun 24 14:41:42 CDT 2011
Hello,
I tried to configure dev on Hopper, however there are some errors out:
Software_HOPPER/petsc-dev> ./config/configure.py --with-cc=cc
--with-fc=ftn --download-mpich=1 download-f-blas-lapack=1
--download-superlu_dist=1 --download-mumps=1 --download-hypre=1
--with-fortran-kernels=generic --with-scalar-type=complex
--download-parmetis=1 --download-scalapack=1 --download-blacs=1
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
TESTING: checkFortranLibraries from
config.compilers(config/BuildSystem/config/compilers.py:672)
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):
-------------------------------------------------------------------------------
Fortran libraries cannot be used with C++ compiler.
Run with --with-fc=0 or --with-cxx=0
*******************************************************************************
Anything wrong with it?
Shall I attach the log file?
Thanks very much!
Rebecca
Rebecca Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102
More information about the petsc-dev
mailing list