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

Intel MPI : Fortran 2008 Error

aruhela
초보자
6,539 조회수

Hi Intel Support Team,

One of our staff is trying to compile a Fortran 2008 program with GNU Fortran compilers.  He has observed, "f951: Fatal Error: Reading module 'mpi_f08' at line 1 column 2: Unexpected EOF" for the line "use mpi_f08" in his program.

Program count.F90
  use mpi_f08
end Program GetCount

 


[staff f08:467] module load intel Lmod is automatically replacing "gcc/9.1.0" with "intel/19.1.1". Due to MODULEPATH changes, the following have been reloaded: 1) impi/19.0.9 2) petsc/3.16 3) python3/3.9.2
[staff f08:468] mpif90 -c count.F90 [staff f08:469] module load gcc Lmod is automatically replacing "intel/19.1.1" with "gcc/9.1.0". Due to MODULEPATH changes, the following have been reloaded: 1) impi/19.0.9 2) petsc/3.16 3) python3/3.9.2
[staff f08:470] mpif90 -c count.F90 f951: Fatal Error: Reading module 'mpi_f08' at line 1 column 2: Unexpected EOF compilation terminated.

 

As the documentation on the Intel webpage https://www.intel.com/content/www/us/en/developer/articles/release-notes/mpi-library-release-notes-linux.html show Fortran 2008 bindings are supported in intel MPI,  could you please suggest us a solution to the issue?

 

Thanks,

Amit Ruhela

 

0 포인트
6 응답
HemanthCH_Intel
중재자
6,522 조회수

Hi,

 

Thank you for posting in Intel Communities.

 

We are able to reproduce your issue on Ubuntu 18.04. we will get back to you soon regarding this issue.

HemanthCH_Intel_1-1644923793312.png

However, we tried compiling the below-attached sample code(hello.f90) using mpiifort which worked fine.

HemanthCH_Intel_2-1644923858592.png

 

 

Thanks & Regards,

Hemanth

 

0 포인트
HemanthCH_Intel
중재자
6,503 조회수

Hi,


>>"We are able to reproduce your issue on Ubuntu 18.04. we will get back to you soon regarding this issue."

Intel MPI doesn't support f08 bindings with gfortran (mpif90 wrapper)in Linux. You can only build it with ifort (mpiifort).


Thanks & Regards,

Hemanth


0 포인트
aruhela
초보자
6,496 조회수

Thanks Hemanth,

 

Do you plan to add support in further releases?

 

Thanks

Amit

0 포인트
HemanthCH_Intel
중재자
6,457 조회수

Hi,


>>"Do you plan to add support in further releases?"

Could you please refer to the release notes for the latest information, known issues, and limitations of Intel MPI in future releases?


Thanks & regards,

Hemanth,


0 포인트
aruhela
초보자
6,448 조회수

Thanks Hemanth,

 

We wish to see the f08 binding in the next software release. You may close the ticket.

 

 

0 포인트
HemanthCH_Intel
중재자
6,424 조회수

Hi,


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Hemanth.


0 포인트
응답