Skip to content

Commit 9c343a9

Browse files
committed
Merge pull request open-mpi#672 from jsquyres/pr/v2.0.0/add-missing-mpi-f08-mpi-aint
v2.x: Fortran: add missing MPI_AINT in mpi_f08 module
2 parents 2c1de38 + bf5e662 commit 9c343a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ompi/mpi/fortran/use-mpi-f08/constants.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
2+
* Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved.
33
* Copyright (c) 2015 Research Organization for Information Science
44
* and Technology (RIST). All rights reserved.
55
*
@@ -69,6 +69,7 @@ OMPI_DECLSPEC ompi_fortran_08_handle_t OMPI_F08_HANDLE_ALIGNED ompi_f08_mpi_file
6969
/*
7070
* common block items from ompi/include/mpif-common.h
7171
*/
72+
OMPI_DECLSPEC ompi_fortran_08_handle_t OMPI_F08_HANDLE_ALIGNED ompi_f08_mpi_aint = {OMPI_MPI_AINT};
7273
OMPI_DECLSPEC ompi_fortran_08_handle_t OMPI_F08_HANDLE_ALIGNED ompi_f08_mpi_byte = {OMPI_MPI_BYTE};
7374
OMPI_DECLSPEC ompi_fortran_08_handle_t OMPI_F08_HANDLE_ALIGNED ompi_f08_mpi_packed = {OMPI_MPI_PACKED};
7475
OMPI_DECLSPEC ompi_fortran_08_handle_t OMPI_F08_HANDLE_ALIGNED ompi_f08_mpi_ub = {OMPI_MPI_UB};

ompi/mpi/fortran/use-mpi-f08/mpi-f08-types.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! -*- f90 -*-
22
!
3-
! Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
3+
! Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
44
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
55
! All rights reserved.
66
! Copyright (c) 2015 Research Organization for Information Science
@@ -131,6 +131,7 @@ module mpi_f08_types
131131
! They are defined in ompi/runtime/ompi_mpi_init.c
132132
!
133133

134+
type(MPI_Datatype), bind(C, name="ompi_f08_mpi_aint") OMPI_PROTECTED :: MPI_AINT
134135
type(MPI_Datatype), bind(C, name="ompi_f08_mpi_byte") OMPI_PROTECTED :: MPI_BYTE
135136
type(MPI_Datatype), bind(C, name="ompi_f08_mpi_packed") OMPI_PROTECTED :: MPI_PACKED
136137
type(MPI_Datatype), bind(C, name="ompi_f08_mpi_ub") OMPI_PROTECTED :: MPI_UB

0 commit comments

Comments
 (0)