[petsc-dev] Fortran libraries cannot be used with C++ compiler

Satish Balay balay at mcs.anl.gov
Fri Jun 24 14:56:13 CDT 2011


on hopper you don't do download-mpich [as cc/ftn automatically use
mpi preinstalled on it.

Try modifying config/examples/arch-cray-xt6-pkgs-opt.py
appropriately [wrt package selection, other options] and run it.

Satish


On Fri, 24 Jun 2011, Rebecca Xuefei Yuan wrote:

> 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