PETSc chooses to use mpif77 as fortran compiler

Matthew Knepley knepley at
Thu Mar 19 07:58:26 CDT 2009

On Thu, Mar 19, 2009 at 4:46 AM, Wee-Beng TAY <zonexo at> wrote:

> Hi,
> I tried to configure PETSc using :
> ./config/ --with-vendor-compilers=intel --with-x=0
> --with-hypre-dir=/home/taywb/lib/hypre-2.4.0b --with-debugging=0
> --with-batch=1 --with-mpi-dir=/opt/mpi/mpich --with-mpi-shared=0
> --with-blas-lapack-dir=/opt/intel/mkl/9.1.021/lib/em64t/ --with-shared=0
> After running conftest and,
> PETSc chooses mpif77 as the fortran compiler, instead of mpif90.
> I tried to use --with-fc=mpif90 but it was not allowed. I wonder why. I'm
> currently writing codes in F90. Will this configuration affect my F90 codes?

We cannot tell anything without the log. Please send configure.log to
petsc-maint at


> Thank you very much.
> Regards,
> Wee-Beng TAY
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list