|
14 | 14 | * Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved. |
15 | 15 | * Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights |
16 | 16 | * reserved. |
| 17 | + * Copyright (c) 2016 Research Organization for Information Science |
| 18 | + * and Technology (RIST). All rights reserved. |
17 | 19 | * $COPYRIGHT$ |
18 | 20 | * |
19 | 21 | * Additional copyrights may follow |
@@ -139,18 +141,18 @@ config_window(void *base, size_t size, int disp_unit, |
139 | 141 | MPI_WIN_SIZE, size, true); |
140 | 142 | if (OMPI_SUCCESS != ret) return ret; |
141 | 143 |
|
142 | | - ret = ompi_attr_set_fortran_mpi2(WIN_ATTR, win, |
143 | | - &win->w_keyhash, |
| 144 | + ret = ompi_attr_set_fortran_mpi1(WIN_ATTR, win, |
| 145 | + &win->w_keyhash, |
144 | 146 | MPI_WIN_DISP_UNIT, disp_unit, |
145 | 147 | true); |
146 | 148 | if (OMPI_SUCCESS != ret) return ret; |
147 | 149 |
|
148 | | - ret = ompi_attr_set_fortran_mpi2(WIN_ATTR, win, |
| 150 | + ret = ompi_attr_set_fortran_mpi1(WIN_ATTR, win, |
149 | 151 | &win->w_keyhash, |
150 | 152 | MPI_WIN_CREATE_FLAVOR, flavor, true); |
151 | 153 | if (OMPI_SUCCESS != ret) return ret; |
152 | 154 |
|
153 | | - ret = ompi_attr_set_fortran_mpi2(WIN_ATTR, win, |
| 155 | + ret = ompi_attr_set_fortran_mpi1(WIN_ATTR, win, |
154 | 156 | &win->w_keyhash, |
155 | 157 | MPI_WIN_MODEL, model, true); |
156 | 158 | if (OMPI_SUCCESS != ret) return ret; |
|
0 commit comments