Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Compiling a program using mpi_f08 fails with gfortran based mpif90

Todor_K_
Novice
2,081 Views

 

I have downloaded the 5.1 Update 3 library to my x64 linux machine and am trying to compile a Fortran program. I have only GNU compilers on this, personal machine. Using mpif90 (even when forced with -f90=gfortran) as a compiler produced the following error:

f951: Fatal Error: Reading module 'mpi_f08' at line 2 column 1: Unexpected EOF
compilation terminated.

The gfortran version is 5.2.1 .

 

Any pointers?

0 Kudos
4 Replies
Artem_R_Intel1
Employee
2,081 Views

Hi Todor,

According to Intel(R) MPI Library 5.1 Update 3 for Linux* OS Release Notes:

(SDK only) Supported Languages
------------------------------

For GNU* compilers: C, C++, Fortran 77, Fortran 95
For Intel compilers: C, C++, Fortran 77, Fortran 90, Fortran 95, Fortran 2008

0 Kudos
Todor_K_
Novice
2,081 Views

Ah. Disappointing.

0 Kudos
Artem_R_Intel1
Employee
2,081 Views

Hi Todor,

I've submitted an internal feature request to add Fortran 2008 support for GNU* compilers related part of Intel® MPI Library.

0 Kudos
Todor_K_
Novice
2,081 Views

This is appreciated. And, it makes sense, because many users have access to intel compilers only on machines/clusters of the institutions they work for. While it is possible to develop code remotely, doing it on local, personal machines is still much more convenient. 

0 Kudos
Reply