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: Dominik Goeddeke (dominik.goeddeke_at_[hidden])
Date: 2013-03-13 06:44:16

Yes, sure. My point is just that "strongly discouraged" (as per the FAQ)
is different from "simply will not work at all". I find that a bit
confusing, especially since in other areas of the FAQ, explicit
workarounds are stated, e.g. on how to build a Makefile rule to extract
flags from an mpiwrapper to pass them to the compiler manually (which is
in exactly the same way "strongly discouraged". Maybe adding something
like "is strongly discouraged and may not even work in certain cases,
especially with Fortran" can help.


On 03/13/2013 11:37 AM, Paul Kapinos wrote:
> 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).
> _______________________________________________
> users mailing list
> users_at_[hidden]

Jun.-Prof. Dr. Dominik Göddeke
Hardware-orientierte Numerik für große Systeme
Institut für Angewandte Mathematik (LS III)
Fakultät für Mathematik, Technische Universität Dortmund
Tel. +49-(0)231-755-7218  Fax +49-(0)231-755-5933