Skip to content

Commit 5972f1d

Browse files
committed
Merge pull request open-mpi#1026 from ggouaillardet/topic/v2.x/fortran_missing_mpi_win_constants
fortran: add missing constants for MPI_WIN_CREATE_FLAVOR and MPI_WIN_…
2 parents 3c4f09c + bdaceda commit 5972f1d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ompi/include/mpif-values.pl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env perl
22
#
33
# Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved.
4+
# Copyright (c) 2016 Research Organization for Information Science
5+
# and Technology (RIST). All rights reserved.
46
# $COPYRIGHT$
57
#
68
# Additional copyrights may follow
@@ -227,6 +229,12 @@ sub write_file {
227229
$constants->{MPI_WIN_BASE} = 7;
228230
$constants->{MPI_WIN_SIZE} = 8;
229231
$constants->{MPI_WIN_DISP_UNIT} = 9;
232+
$constants->{MPI_WIN_CREATE_FLAVOR} = 10;
233+
$constants->{MPI_WIN_MODEL} = 11;
234+
$constants->{MPI_WIN_FLAVOR_CREATE} = 1;
235+
$constants->{MPI_WIN_FLAVOR_ALLOCATE} = 2;
236+
$constants->{MPI_WIN_FLAVOR_DYNAMIC} = 3;
237+
$constants->{MPI_WIN_FLAVOR_SHARED} = 4;
230238

231239
$constants->{MPI_BSEND_OVERHEAD} = 128;
232240
$constants->{MPI_ORDER_C} = 0;

0 commit comments

Comments
 (0)