Jeff,
the following program does not compile :
$ mpifort -c mpi_displacement_current_usempi.f90
mpi_displacement_current_usempi.f90:6:64:
& ,MPI_DATATYPE_NULL , "native", MPI_INFO_NULL, ierr )
1
Error: There is no specific subroutine for the generic
‘mpi_file_set_view’ at (1)
the root cause is MPI_DISPLACEMENT_CURRENT is defined as an integer
instead of
integer(kind=MPI_ADDRESS_KIND)
/* this is defined in ompi/include/mpif-io-constants.h generated by
ompi/include/mpif-values.pl,
and this is all perl ... */
could you please have a look ?
Cheers,
Gilles
program main
use mpi
implicit none
integer :: ierr
call MPI_File_set_view( 0, MPI_DISPLACEMENT_CURRENT, MPI_DATATYPE_NULL &
& ,MPI_DATATYPE_NULL , "native", MPI_INFO_NULL, ierr )
stop
end program