Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi_f08 interfaces are missing IGNORE_TKR #7250

Open
ShatrovOA opened this issue Dec 30, 2024 · 0 comments
Open

mpi_f08 interfaces are missing IGNORE_TKR #7250

ShatrovOA opened this issue Dec 30, 2024 · 0 comments

Comments

@ShatrovOA
Copy link

mpich 4.2.3 compiled with NVIDIA HPC SDK compilers (nvc, nvc++, nvfortran) with cuda support

Unable to use mpi_f08 module with device pointers.
Sample

program main
#if defined(USE_MPI)
use mpi
#define TYPE_MPI_REQUEST integer
#else
use mpi_f08
#define TYPE_MPI_REQUEST type(MPI_Request)
#endif
  implicit none
  TYPE_MPI_REQUEST :: request
  real, device, allocatable :: buf(:)
  integer :: mpi_ierr

  call MPI_Isend(buf( 1 ), 1, MPI_REAL, 1, 0, MPI_COMM_WORLD, request, mpi_ierr)
  
end program main

mpifort mpich.F90 -cuda
NVFORTRAN-S-0155-Could not resolve generic procedure mpi_isend (mpich.F90: 14)
0 inform, 0 warnings, 1 severes, 0 fatal for main

mpifort mpich.F90 -cuda -DUSE_MPI
SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant