Skip to content

Commit 234ad2a

Browse files
committed
mpif-h: add missing declaration in session_get_nth_pset_f()
Add a missing OMPI_SINGLE_NAME_DECL() to correctly support 8 bytes Fortran INTEGER Thanks Neil Mehta for the report. Ref. #11887 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
1 parent 1edfdb0 commit 234ad2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mpi/fortran/mpif-h/session_get_nth_pset_f.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved.
1414
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
1515
* reserved.
16-
* Copyright (c) 2015 Research Organization for Information Science
17-
* and Technology (RIST). All rights reserved.
16+
* Copyright (c) 2015-2023 Research Organization for Information Science
17+
* and Technology (RIST). All rights reserved.
1818
* Copyright (c) 2019 Triad National Security, LLC. All rights reserved.
1919
*
2020
* $COPYRIGHT$
@@ -78,6 +78,7 @@ void ompi_session_get_nth_pset_f(MPI_Fint *session, MPI_Fint *info, MPI_Fint *n,
7878
int c_ierr;
7979
MPI_Session c_session;
8080
char c_name[MPI_MAX_PSET_NAME_LEN];
81+
OMPI_SINGLE_NAME_DECL(pset_len);
8182

8283
c_session = PMPI_Session_f2c(*session);
8384

0 commit comments

Comments
 (0)