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

[feature request] mpi_f08 in ilp64 mode

foxtran
New Contributor I
1,073 Views

Merry Christmas everyone!

Is there any plan to add mpi_f08 for ILP64 mode?

Currently, the following code can not be compiled:

program main
  use mpi_f08
  implicit none
  integer, parameter :: is = 8
  integer(is) :: ierror
  call mpi_init(ierror)
  call mpi_finalize(ierror)
end program main

With the following command:

mpiifx test_mpi_ILP64.f90 -ilp64

 It fails as:

test_mpi_ILP64.f90(6): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MPI_INIT]
  call mpi_init(ierror)
-------^
test_mpi_ILP64.f90(7): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MPI_FINALIZE]
  call mpi_finalize(ierror)
-------^
compilation aborted for test_mpi_ILP64.f90 (code 1)

I'm using the following ifx from the corresponding oneAPI (so, the resulting binaries looks ok, when they are compiled):

$ ifx --version
ifx (IFX) 2023.2.0 20230622
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.

Best regards,
Igor

0 Kudos
1 Solution
TobiasK
Moderator
918 Views

@foxtran


Please note, for the time being we will not support ILP64 mode in MPI_F08.

However, we might reconsider this decision if more customers will request this feature.


View solution in original post

0 Kudos
3 Replies
RabiyaSK_Intel
Employee
1,042 Views

Hi,


We have informed the concerned development team. We will get back to you soon.


Thanks & Regards,

Shaik Rabiya


0 Kudos
TobiasK
Moderator
989 Views

@foxtran

currently we do not support ILP64 in our MPI_F08 module. For large counts we advise to use MPI 4.0 standard 'large counts' which is available in MPI_F08.

However, I am collecting customer requests for ILP64 support in MPI_F08, if there is a critical mass we may reconsider supporting ILP64.


Why do you want to use ILP64 instead of large counts with MPI_F08?


Best

Tobias


0 Kudos
TobiasK
Moderator
919 Views

@foxtran


Please note, for the time being we will not support ILP64 mode in MPI_F08.

However, we might reconsider this decision if more customers will request this feature.


0 Kudos
Reply