From 8b466c6573dd9de24b0434a2721b0165bd6a4b60 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Tue, 25 Mar 2025 11:40:38 -0600 Subject: [PATCH] Revert "fortran:fix integer kind=8 problem" turns out there's more to do here. many functions aren't actually treating the string len arg correctly in the use-mpi-f08 folder This reverts commit 32db65f768caebf4eb8c58420fc4ebe35a606111. --- ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h b/ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h index bbc6b1ad252..2de875ade72 100644 --- a/ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h +++ b/ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h @@ -4005,12 +4005,12 @@ end subroutine ompi_session_get_info_f subroutine ompi_session_get_nth_pset_f(session, info, n, pset_len, pset_name, ierror, pset_name_len) & BIND(C, name="ompi_session_get_nth_pset_f") - use, intrinsic :: ISO_C_BINDING, only : C_CHAR + use, intrinsic :: ISO_C_BINDING, only : C_CHAR, C_INT implicit none INTEGER, INTENT(IN) :: session INTEGER, INTENT(IN) :: info INTEGER, INTENT(IN) :: n - INTEGER, VALUE, INTENT(IN) :: pset_name_len + INTEGER(KIND=C_INT), VALUE, INTENT(IN) :: pset_name_len INTEGER, INTENT(INOUT) :: pset_len CHARACTER(KIND=C_CHAR), DIMENSION(*), INTENT(OUT) :: pset_name INTEGER, INTENT(out) :: ierror