Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] bug in mpif90? OMPI_FC envvar does not work with 'use mpi'
From: Paul Kapinos (kapinos_at_[hidden])
Date: 2013-03-13 06:37:01


AFAIK the GNU people change the Fotran Module syntax every time they get any
chance for doing it :-(

So openmpi compiled with 4.4.6 (sys-default for RHEL 6.x) definitely does not
work with 4.5, 4.6, 4.7 versions of gfortran.

Intel 'ifort' compiler build modules which are compatible from 11.x through 13.x
versions.

So, the recommended solution is to build an own version of Open MPI with any
compiler you use.

Greetings,
Paul

P.S. As Hristo said, changing the Fortran compiler vendor and using the
precompiled Fortran header would never work: the syntax of these .mod files is
not standatised at all.

On 03/13/13 11:05, Iliev, Hristo wrote:
> However, it works if for example you configure Open MPI with the system supplied
> version of gfortran and then specify a later gfortran version, e.g.
> OMPI_FC=gfortran-4.7 (unless the module format has changed in the meantime).

-- 
Dipl.-Inform. Paul Kapinos   -   High Performance Computing,
RWTH Aachen University, Center for Computing and Communication
Seffenter Weg 23,  D 52074  Aachen (Germany)
Tel: +49 241/80-24915