Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-06-08 12:03:12


This indicates that when your Open MPI was configured and installed, it
could not find a Fortran 90 compiler that both worked properly and was
compatible with your Fortran 77 compiler. So it simply skipped building
the F90 support in Open MPI and therefore deactivated the "mpif90"
wrapper compiler.

Have a look at the output of when you ran "configure" -- there's a
section somewhere near the top where it looks for a F90 compiler. See
what it says there: whether it didn't find one, or perhaps it found one
but it was not compatible with your F77 compiler, or perhaps the F90
compiler couldn't produce valid executables. These are the typical
reasons that OMPI chooses to skip the F90 bindings.

If you need to explicitly specify the F90 compiler on the configure
command line, use the "FC" variable. For example:

        shell$ ./configure F77=gfortran FC=gfortran ...

This will set both the F77 and F90 compilers to use gfortran, while:

        shell$ ./configure F77=pgf77 FC=pgf90 ...

Sets the F77 compiler to pgf77 and the F90 compiler to pgf90 (both of
which, naturally, are compatible with each other). You can put in
whatever values for F77 and FC are relevant to your system.

Hope this helps.

> -----Original Message-----
> From: users-bounces_at_[hidden]
> [mailto:users-bounces_at_[hidden]] On Behalf Of sdamjad
> Sent: Thursday, June 08, 2006 11:52 AM
> To: users_at_[hidden]
> Subject: [OMPI users] mpif90 error
>
> Folks
> While running mpi on open mpi. This error i get
>
> cpp -P -Dmpi=1 -Dsgi=0 -Dlinux=0 -Dibm=0 -Dmac_osx=1
> -Dlink_to_coupler=0
> ../source/kinds.F >
> kinds.f
> mpif90 -c -O3 kinds.f
> --------------------------------------------------------------
> ------------
> Unfortunately, this installation of Open MPI was not compiled with
> Fortran 90 support. As such, the mpif90 compiler is non-functional.
> --------------------------------------------------------------
> ------------
> make: *** [kinds.o] Error 1
>
> any solutions
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>