Skip to content

Commit 16e0752

Browse files
authored
Merge pull request #11712 from ggouaillardet/topic/mpi_intercomm_merge
Fix parameter name in MPI_Intercomm_merge()
2 parents 5656a09 + e07dd3c commit 16e0752

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

ompi/include/mpi.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* reserved.
1818
* Copyright (c) 2011-2013 INRIA. All rights reserved.
1919
* Copyright (c) 2015 University of Houston. All rights reserved.
20-
* Copyright (c) 2015-2021 Research Organization for Information Science
20+
* Copyright (c) 2015-2023 Research Organization for Information Science
2121
* and Technology (RIST). All rights reserved.
2222
* Copyright (c) 2017-2022 IBM Corporation. All rights reserved.
2323
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
@@ -1768,7 +1768,7 @@ OMPI_DECLSPEC int MPI_Intercomm_create_from_groups (MPI_Group local_group, int
17681768
int remote_leader, const char *tag, MPI_Info info, MPI_Errhandler errhandler,
17691769
MPI_Comm *newintercomm);
17701770
OMPI_DECLSPEC int MPI_Intercomm_merge(MPI_Comm intercomm, int high,
1771-
MPI_Comm *newintercomm);
1771+
MPI_Comm *newintracomm);
17721772
OMPI_DECLSPEC int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag,
17731773
MPI_Status *status);
17741774
OMPI_DECLSPEC int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
1212
* Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
13-
* Copyright (c) 2015 Research Organization for Information Science
14-
* and Technology (RIST). All rights reserved.
13+
* Copyright (c) 2015-2023 Research Organization for Information Science
14+
* and Technology (RIST). All rights reserved.
1515
* $COPYRIGHT$
1616
*
1717
* Additional copyrights may follow
@@ -38,8 +38,8 @@ OMPI_GENERATE_F77_BINDINGS (PMPI_INTERCOMM_MERGE,
3838
pmpi_intercomm_merge_,
3939
pmpi_intercomm_merge__,
4040
pompi_intercomm_merge_f,
41-
(MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintercomm, MPI_Fint *ierr),
42-
(intercomm, high, newintercomm, ierr) )
41+
(MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintracomm, MPI_Fint *ierr),
42+
(intercomm, high, newintracomm, ierr) )
4343
#endif
4444
#endif
4545

@@ -58,8 +58,8 @@ OMPI_GENERATE_F77_BINDINGS (MPI_INTERCOMM_MERGE,
5858
mpi_intercomm_merge_,
5959
mpi_intercomm_merge__,
6060
ompi_intercomm_merge_f,
61-
(MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintercomm, MPI_Fint *ierr),
62-
(intercomm, high, newintercomm, ierr) )
61+
(MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintracomm, MPI_Fint *ierr),
62+
(intercomm, high, newintracomm, ierr) )
6363
#else
6464
#define ompi_intercomm_merge_f pompi_intercomm_merge_f
6565
#endif

ompi/mpi/fortran/mpif-h/prototypes_mpi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Copyright (c) 2011-2013 Universite Bordeaux 1
1515
* Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
1616
* reserved.
17-
* Copyright (c) 2016-2020 Research Organization for Information Science
17+
* Copyright (c) 2016-2023 Research Organization for Information Science
1818
* and Technology (RIST). All rights reserved.
1919
* Copyright (c) 2019-2022 Triad National Security, LLC. All rights
2020
* reserved.
@@ -318,7 +318,7 @@ PN2(void, MPI_Initialized, mpi_initialized, MPI_INITIALIZED, (ompi_fortran_logic
318318
PN2(void, MPI_Init_thread, mpi_init_thread, MPI_INIT_THREAD, (MPI_Fint *required, MPI_Fint *provided, MPI_Fint *ierr));
319319
PN2(void, MPI_Intercomm_create, mpi_intercomm_create, MPI_INTERCOMM_CREATE, (MPI_Fint *local_comm, MPI_Fint *local_leader, MPI_Fint *bridge_comm, MPI_Fint *remote_leader, MPI_Fint *tag, MPI_Fint *newintercomm, MPI_Fint *ierr));
320320
PN2(void, MPI_Intercomm_create_from_groups, mpi_intercomm_create_from_groups, MPI_INTERCOMM_CREATE_FROM_GROUPS, (MPI_Fint *local_group, MPI_Fint *local_leader, MPI_Fint *remote_group, MPI_Fint *remote_leader, char *stringtag, MPI_Fint *info, MPI_Fint *errhandler, MPI_Fint *newintercomm, MPI_Fint *ierr, int name_len));
321-
PN2(void, MPI_Intercomm_merge, mpi_intercomm_merge, MPI_INTERCOMM_MERGE, (MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintercomm, MPI_Fint *ierr));
321+
PN2(void, MPI_Intercomm_merge, mpi_intercomm_merge, MPI_INTERCOMM_MERGE, (MPI_Fint *intercomm, ompi_fortran_logical_t *high, MPI_Fint *newintracomm, MPI_Fint *ierr));
322322
PN2(void, MPI_Iprobe, mpi_iprobe, MPI_IPROBE, (MPI_Fint *source, MPI_Fint *tag, MPI_Fint *comm, ompi_fortran_logical_t *flag, MPI_Fint *status, MPI_Fint *ierr));
323323
PN2(void, MPI_Irecv, mpi_irecv, MPI_IRECV, (char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *source, MPI_Fint *tag, MPI_Fint *comm, MPI_Fint *request, MPI_Fint *ierr));
324324
PN2(void, MPI_Irsend, mpi_irsend, MPI_IRSEND, (char *buf, MPI_Fint *count, MPI_Fint *datatype, MPI_Fint *dest, MPI_Fint *tag, MPI_Fint *comm, MPI_Fint *request, MPI_Fint *ierr));

ompi/mpi/fortran/use-mpi-ignore-tkr/mpi-ignore-tkr-interfaces.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
! Copyright (c) 2012 Inria. All rights reserved.
1010
! Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
1111
! reserved.
12-
! Copyright (c) 2015-2020 Research Organization for Information Science
12+
! Copyright (c) 2015-2023 Research Organization for Information Science
1313
! and Technology (RIST). All rights reserved.
1414
! Copyright (c) 2019-2022 Triad National Security, LLC. All rights
1515
! reserved.
@@ -2343,10 +2343,10 @@ end interface
23432343

23442344
interface
23452345

2346-
subroutine MPI_Intercomm_merge(intercomm, high, newintercomm, ierror)
2346+
subroutine MPI_Intercomm_merge(intercomm, high, newintracomm, ierror)
23472347
integer, intent(in) :: intercomm
23482348
logical, intent(in) :: high
2349-
integer, intent(out) :: newintercomm
2349+
integer, intent(out) :: newintracomm
23502350
integer, intent(out) :: ierror
23512351
end subroutine MPI_Intercomm_merge
23522352

ompi/mpi/fortran/use-mpi-tkr/mpi-f90-interfaces.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,10 +1168,10 @@ end interface
11681168

11691169
interface
11701170

1171-
subroutine MPI_Intercomm_merge(intercomm, high, newintercomm, ierror)
1171+
subroutine MPI_Intercomm_merge(intercomm, high, newintracomm, ierror)
11721172
integer, intent(in) :: intercomm
11731173
logical, intent(in) :: high
1174-
integer, intent(out) :: newintercomm
1174+
integer, intent(out) :: newintracomm
11751175
integer, intent(out) :: ierror
11761176
end subroutine MPI_Intercomm_merge
11771177

0 commit comments

Comments
 (0)