56 #ifdef USE_8_BYTE_WORDS 58 mpi_comm_group => mpi_comm_group8, mpi_group_incl => mpi_group_incl8, mpi_comm_create => mpi_comm_create8
62 INTEGER(KIND=JPIM),
INTENT(OUT) :: KCOMM
63 INTEGER(KIND=JPIM),
INTENT(IN) :: N
65 INTEGER(KIND=JPIM) :: IRANK(n)
66 INTEGER(KIND=JPIM) :: J, IER, IGROUP, MPI_GROUP_WORLD
67 LOGICAL :: LLABORT=.true.
73 CALL mpi_comm_group(
mpl_comm,mpi_group_world,ier)
74 IF (ier/=0)
CALL mpl_message(ier,
'MPL_LOCOMM_CREATE: MPI_COMM_GROUP',ldabort=llabort)
76 CALL mpi_group_incl(mpi_group_world,n,irank,igroup,ier)
77 IF (ier/=0)
CALL mpl_message(ier,
'MPL_LOCOMM_CREATE: MPI_GROUP_INCL',ldabort=llabort)
79 CALL mpi_comm_create(
mpl_comm,igroup,kcomm,ier)
80 IF (ier/=0)
CALL mpl_message(ier,
'MPL_LOCOMM_CREATE: MPI_COMM_CREATE',ldabort=llabort)
subroutine, public mpl_message(KERROR, CDMESSAGE, CDSTRING, LDABORT)
subroutine, public mpl_locomm_create(N, KCOMM)
integer(kind=jpim) mpl_comm