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, PaulP.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
smime.p7s
Description: S/MIME Cryptographic Signature