impi-devel 2021.16.0__py2.py3-none-win_amd64.whl → 2021.17.0__py2.py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of impi-devel might be problematic. Click here for more details.
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpi/debug/impi.dll +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpicc.bat +1 -1
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpifc.bat +1 -1
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/include/mpi.h +1224 -755
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/include/mpio.h +4 -2
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/lib/impi.lib +0 -0
- impi_devel-2021.17.0.data/data/Library/lib/impicxx.lib +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/share/doc/mpi/licensing/third-party-programs.txt +1 -1
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/METADATA +2 -2
- impi_devel-2021.17.0.dist-info/RECORD +25 -0
- impi_devel-2021.16.0.dist-info/RECORD +0 -24
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpicl.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpicxx.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpif77.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpif90.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiicc.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiicpc.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiicpx.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiicx.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiifort.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/bin/mpiifx.bat +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/Library/include/mpicxx.h +0 -0
- {impi_devel-2021.16.0.data → impi_devel-2021.17.0.data}/data/share/doc/mpi/licensing/license.txt +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/LICENSE.txt +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/WHEEL +0 -0
- {impi_devel-2021.16.0.dist-info → impi_devel-2021.17.0.dist-info}/top_level.txt +0 -0
|
@@ -14,6 +14,40 @@
|
|
|
14
14
|
* See COPYRIGHT in top-level directory
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
/* I_MPI_VERSION is the version string. I_MPI_NUMVERSION is the
|
|
18
|
+
* numeric version that can be used in numeric comparisons.
|
|
19
|
+
*
|
|
20
|
+
* I_MPI_VERSION uses the following format:
|
|
21
|
+
* Version: [MAJ].[MIN].[REV][EXT][EXT_NUMBER]
|
|
22
|
+
* Example: 2019.0.0b0 has
|
|
23
|
+
* MAJ = 2019
|
|
24
|
+
* MIN = 0
|
|
25
|
+
* REV = 0
|
|
26
|
+
* EXT = b
|
|
27
|
+
* EXT_NUMBER = 0
|
|
28
|
+
*
|
|
29
|
+
* I_MPI_NUMVERSION will convert EXT to a format number:
|
|
30
|
+
* ALPHA (a) = 0
|
|
31
|
+
* BETA (b) = 1
|
|
32
|
+
* RC (rc) = 2
|
|
33
|
+
* PATCH (p) = 3
|
|
34
|
+
* Regular releases are treated as patch 0
|
|
35
|
+
*
|
|
36
|
+
* Numeric version will have 4 digits for MAJ, 2 digits for MIN, 2
|
|
37
|
+
* digits for REV, 1 digit for EXT and 2 digits for EXT_NUMBER. So,
|
|
38
|
+
* 2019.0.0b0 will have the numeric version 20190000100.
|
|
39
|
+
*/
|
|
40
|
+
#ifndef I_MPI_VERSION
|
|
41
|
+
#define I_MPI_VERSION "2021.17.0"
|
|
42
|
+
#endif
|
|
43
|
+
#ifndef I_MPI_NUMVERSION
|
|
44
|
+
#define I_MPI_NUMVERSION 20211700300
|
|
45
|
+
#endif
|
|
46
|
+
|
|
47
|
+
#ifdef MPI_ABI
|
|
48
|
+
#include "mpi_abi.h"
|
|
49
|
+
#else
|
|
50
|
+
|
|
17
51
|
/* @configure_input@ */
|
|
18
52
|
#ifndef MPI_INCLUDED
|
|
19
53
|
#define MPI_INCLUDED
|
|
@@ -26,6 +60,84 @@
|
|
|
26
60
|
#define MPICH_API_PUBLIC
|
|
27
61
|
#endif
|
|
28
62
|
|
|
63
|
+
#ifdef BUILD_MPI_ABI
|
|
64
|
+
/* include adapted version of mpi_abi.h, which -
|
|
65
|
+
* * defines handle types with ABI_ prefix
|
|
66
|
+
* - internally we will type convert
|
|
67
|
+
* * MPI and PMPI prototypes use ABI_ handle types
|
|
68
|
+
* - we implement them in c_binding_abi.c
|
|
69
|
+
* - Note that we need MPICH_API_PUBLIC defined (and mpichconf.h included)
|
|
70
|
+
* * all defined constants and enum values
|
|
71
|
+
* - all internal objects will be (re)compiled using the new constants
|
|
72
|
+
*
|
|
73
|
+
* It needs to be included after MPICH_API_PUBLIC since it defines the API prototypes.
|
|
74
|
+
*/
|
|
75
|
+
#include "mpi_abi_internal.h"
|
|
76
|
+
#endif
|
|
77
|
+
|
|
78
|
+
#ifndef BUILD_MPI_ABI
|
|
79
|
+
#define MPI_VERSION 4
|
|
80
|
+
#define MPI_SUBVERSION 1
|
|
81
|
+
#endif /* BUILD_MPI_ABI */
|
|
82
|
+
|
|
83
|
+
#define MPICH_NAME 3
|
|
84
|
+
#define MPICH 1
|
|
85
|
+
#define MPICH_HAS_C2F 1
|
|
86
|
+
|
|
87
|
+
#define ROMIO_VERSION 126
|
|
88
|
+
|
|
89
|
+
/* MPICH_VERSION is the version string. MPICH_NUMVERSION is the
|
|
90
|
+
* numeric version that can be used in numeric comparisons.
|
|
91
|
+
*
|
|
92
|
+
* MPICH_VERSION uses the following format:
|
|
93
|
+
* Version: [MAJ].[MIN].[REV][EXT][EXT_NUMBER]
|
|
94
|
+
* Example: 1.0.7rc1 has
|
|
95
|
+
* MAJ = 1
|
|
96
|
+
* MIN = 0
|
|
97
|
+
* REV = 7
|
|
98
|
+
* EXT = rc
|
|
99
|
+
* EXT_NUMBER = 1
|
|
100
|
+
*
|
|
101
|
+
* MPICH_NUMVERSION will convert EXT to a format number:
|
|
102
|
+
* ALPHA (a) = 0
|
|
103
|
+
* BETA (b) = 1
|
|
104
|
+
* RC (rc) = 2
|
|
105
|
+
* PATCH (p) = 3
|
|
106
|
+
* Regular releases are treated as patch 0
|
|
107
|
+
*
|
|
108
|
+
* Numeric version will have 1 digit for MAJ, 2 digits for MIN, 2
|
|
109
|
+
* digits for REV, 1 digit for EXT and 2 digits for EXT_NUMBER. So,
|
|
110
|
+
* 1.0.7rc1 will have the numeric version 10007201.
|
|
111
|
+
*/
|
|
112
|
+
#define MPICH_VERSION "3.4a2"
|
|
113
|
+
#define MPICH_NUMVERSION 30400002
|
|
114
|
+
|
|
115
|
+
#define MPICH_RELEASE_TYPE_ALPHA 0
|
|
116
|
+
#define MPICH_RELEASE_TYPE_BETA 1
|
|
117
|
+
#define MPICH_RELEASE_TYPE_RC 2
|
|
118
|
+
#define MPICH_RELEASE_TYPE_PATCH 3
|
|
119
|
+
|
|
120
|
+
#define MPICH_CALC_VERSION(MAJOR, MINOR, REVISION, TYPE, PATCH) \
|
|
121
|
+
(((MAJOR) * 10000000) + ((MINOR) * 100000) + ((REVISION) * 1000) + ((TYPE) * 100) + (PATCH))
|
|
122
|
+
|
|
123
|
+
#if !defined(INT8_C)
|
|
124
|
+
/* stdint.h was not included, see if we can get it */
|
|
125
|
+
# if defined(__cplusplus)
|
|
126
|
+
# if __cplusplus >= 201103
|
|
127
|
+
# include <cstdint>
|
|
128
|
+
# endif
|
|
129
|
+
# endif
|
|
130
|
+
#endif
|
|
131
|
+
|
|
132
|
+
#if !defined(INT8_C)
|
|
133
|
+
/* stdint.h was not included, see if we can get it */
|
|
134
|
+
# if defined(__STDC_VERSION__)
|
|
135
|
+
# if __STDC_VERSION__ >= 199901
|
|
136
|
+
# include <stdint.h>
|
|
137
|
+
# endif
|
|
138
|
+
# endif
|
|
139
|
+
#endif
|
|
140
|
+
|
|
29
141
|
/* No sycl-specific defs */
|
|
30
142
|
|
|
31
143
|
/* Keep C++ compilers from getting confused */
|
|
@@ -56,24 +168,6 @@ extern "C" {
|
|
|
56
168
|
# define MPICH_ATTR_TYPE_TAG_MUST_BE_NULL()
|
|
57
169
|
#endif
|
|
58
170
|
|
|
59
|
-
#if !defined(INT8_C)
|
|
60
|
-
/* stdint.h was not included, see if we can get it */
|
|
61
|
-
# if defined(__cplusplus)
|
|
62
|
-
# if __cplusplus >= 201103
|
|
63
|
-
# include <cstdint>
|
|
64
|
-
# endif
|
|
65
|
-
# endif
|
|
66
|
-
#endif
|
|
67
|
-
|
|
68
|
-
#if !defined(INT8_C)
|
|
69
|
-
/* stdint.h was not included, see if we can get it */
|
|
70
|
-
# if defined(__STDC_VERSION__)
|
|
71
|
-
# if __STDC_VERSION__ >= 199901
|
|
72
|
-
# include <stdint.h>
|
|
73
|
-
# endif
|
|
74
|
-
# endif
|
|
75
|
-
#endif
|
|
76
|
-
|
|
77
171
|
#if defined(INT8_C)
|
|
78
172
|
/* stdint.h was included, so we can annotate these types */
|
|
79
173
|
# define MPICH_ATTR_TYPE_TAG_STDINT(type) MPICH_ATTR_TYPE_TAG(type)
|
|
@@ -81,13 +175,13 @@ extern "C" {
|
|
|
81
175
|
# define MPICH_ATTR_TYPE_TAG_STDINT(type)
|
|
82
176
|
#endif
|
|
83
177
|
|
|
84
|
-
#ifdef __STDC_VERSION__
|
|
178
|
+
#ifdef __STDC_VERSION__
|
|
85
179
|
#if __STDC_VERSION__ >= 199901
|
|
86
180
|
# define MPICH_ATTR_TYPE_TAG_C99(type) MPICH_ATTR_TYPE_TAG(type)
|
|
87
181
|
#else
|
|
88
182
|
# define MPICH_ATTR_TYPE_TAG_C99(type)
|
|
89
183
|
#endif
|
|
90
|
-
#else
|
|
184
|
+
#else
|
|
91
185
|
# define MPICH_ATTR_TYPE_TAG_C99(type)
|
|
92
186
|
#endif
|
|
93
187
|
|
|
@@ -97,6 +191,17 @@ extern "C" {
|
|
|
97
191
|
# define MPICH_ATTR_TYPE_TAG_CXX(type)
|
|
98
192
|
#endif
|
|
99
193
|
|
|
194
|
+
#ifdef USE_MPI_STATIC_LIBRARY
|
|
195
|
+
# define MPIU_DLL_SPEC
|
|
196
|
+
#else
|
|
197
|
+
# ifdef MPI_EXPORTS
|
|
198
|
+
# define MPIU_DLL_SPEC __declspec(dllexport)
|
|
199
|
+
# else
|
|
200
|
+
# define MPIU_DLL_SPEC __declspec(dllimport)
|
|
201
|
+
# endif
|
|
202
|
+
#endif
|
|
203
|
+
#define MPI_CALL __cdecl
|
|
204
|
+
|
|
100
205
|
|
|
101
206
|
/* Define some null objects */
|
|
102
207
|
#define MPI_COMM_NULL ((MPI_Comm)0x04000000)
|
|
@@ -108,63 +213,31 @@ extern "C" {
|
|
|
108
213
|
#define MPI_MESSAGE_NULL ((MPI_Message)0x2c000000)
|
|
109
214
|
#define MPI_MESSAGE_NO_PROC ((MPI_Message)0x6c000000)
|
|
110
215
|
|
|
111
|
-
/* Results of the compare operations. */
|
|
112
|
-
#define MPI_IDENT 0
|
|
113
|
-
#define MPI_CONGRUENT 1
|
|
114
|
-
#define MPI_SIMILAR 2
|
|
115
|
-
#define MPI_UNEQUAL 3
|
|
116
|
-
|
|
117
216
|
typedef int MPI_Datatype;
|
|
118
217
|
#define MPI_CHAR ((MPI_Datatype)0x4c000101)
|
|
119
|
-
#define MPI_SIGNED_CHAR ((MPI_Datatype)0x4c000118)
|
|
120
218
|
#define MPI_UNSIGNED_CHAR ((MPI_Datatype)0x4c000102)
|
|
121
|
-
#define MPI_BYTE ((MPI_Datatype)0x4c00010d)
|
|
122
|
-
#define MPI_WCHAR ((MPI_Datatype)0x4c00020e)
|
|
123
219
|
#define MPI_SHORT ((MPI_Datatype)0x4c000203)
|
|
124
220
|
#define MPI_UNSIGNED_SHORT ((MPI_Datatype)0x4c000204)
|
|
125
221
|
#define MPI_INT ((MPI_Datatype)0x4c000405)
|
|
126
222
|
#define MPI_UNSIGNED ((MPI_Datatype)0x4c000406)
|
|
127
223
|
#define MPI_LONG ((MPI_Datatype)0x4c000407)
|
|
128
224
|
#define MPI_UNSIGNED_LONG ((MPI_Datatype)0x4c000408)
|
|
225
|
+
#define MPI_LONG_LONG_INT ((MPI_Datatype)0x4c000809)
|
|
129
226
|
#define MPI_FLOAT ((MPI_Datatype)0x4c00040a)
|
|
130
227
|
#define MPI_DOUBLE ((MPI_Datatype)0x4c00080b)
|
|
131
228
|
#define MPI_LONG_DOUBLE ((MPI_Datatype)0x4c00080c)
|
|
132
|
-
#define
|
|
133
|
-
#define
|
|
134
|
-
#define MPI_LONG_LONG MPI_LONG_LONG_INT
|
|
135
|
-
|
|
136
|
-
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
137
|
-
static const MPI_Datatype mpich_mpi_char MPICH_ATTR_TYPE_TAG(char) = MPI_CHAR;
|
|
138
|
-
static const MPI_Datatype mpich_mpi_signed_char MPICH_ATTR_TYPE_TAG(signed char) = MPI_SIGNED_CHAR;
|
|
139
|
-
static const MPI_Datatype mpich_mpi_unsigned_char MPICH_ATTR_TYPE_TAG(unsigned char) = MPI_UNSIGNED_CHAR;
|
|
140
|
-
/*static const MPI_Datatype mpich_mpi_byte MPICH_ATTR_TYPE_TAG(char) = MPI_BYTE;*/
|
|
141
|
-
static const MPI_Datatype mpich_mpi_wchar MPICH_ATTR_TYPE_TAG(wchar_t) = MPI_WCHAR;
|
|
142
|
-
static const MPI_Datatype mpich_mpi_short MPICH_ATTR_TYPE_TAG(short) = MPI_SHORT;
|
|
143
|
-
static const MPI_Datatype mpich_mpi_unsigned_short MPICH_ATTR_TYPE_TAG(unsigned short) = MPI_UNSIGNED_SHORT;
|
|
144
|
-
static const MPI_Datatype mpich_mpi_int MPICH_ATTR_TYPE_TAG(int) = MPI_INT;
|
|
145
|
-
static const MPI_Datatype mpich_mpi_unsigned MPICH_ATTR_TYPE_TAG(unsigned) = MPI_UNSIGNED;
|
|
146
|
-
static const MPI_Datatype mpich_mpi_long MPICH_ATTR_TYPE_TAG(long) = MPI_LONG;
|
|
147
|
-
static const MPI_Datatype mpich_mpi_unsigned_long MPICH_ATTR_TYPE_TAG(unsigned long) = MPI_UNSIGNED_LONG;
|
|
148
|
-
static const MPI_Datatype mpich_mpi_float MPICH_ATTR_TYPE_TAG(float) = MPI_FLOAT;
|
|
149
|
-
static const MPI_Datatype mpich_mpi_double MPICH_ATTR_TYPE_TAG(double) = MPI_DOUBLE;
|
|
150
|
-
#if 0x4c00080c != 0x0c000000
|
|
151
|
-
static const MPI_Datatype mpich_mpi_long_double MPICH_ATTR_TYPE_TAG(long double) = MPI_LONG_DOUBLE;
|
|
152
|
-
#endif
|
|
153
|
-
static const MPI_Datatype mpich_mpi_long_long_int MPICH_ATTR_TYPE_TAG(long long int) = MPI_LONG_LONG_INT;
|
|
154
|
-
static const MPI_Datatype mpich_mpi_unsigned_long_long MPICH_ATTR_TYPE_TAG(unsigned long long) = MPI_UNSIGNED_LONG_LONG;
|
|
155
|
-
#endif
|
|
156
|
-
|
|
229
|
+
#define MPI_BYTE ((MPI_Datatype)0x4c00010d)
|
|
230
|
+
#define MPI_WCHAR ((MPI_Datatype)0x4c00020e)
|
|
157
231
|
#define MPI_PACKED ((MPI_Datatype)0x4c00010f)
|
|
158
232
|
#define MPI_LB ((MPI_Datatype)0x4c000010)
|
|
159
233
|
#define MPI_UB ((MPI_Datatype)0x4c000011)
|
|
160
|
-
|
|
161
|
-
/*
|
|
234
|
+
/*
|
|
162
235
|
The layouts for the types MPI_DOUBLE_INT etc are simply
|
|
163
|
-
struct {
|
|
236
|
+
struct {
|
|
164
237
|
double var;
|
|
165
238
|
int loc;
|
|
166
239
|
}
|
|
167
|
-
This is documented in the man pages on the various datatypes.
|
|
240
|
+
This is documented in the man pages on the various datatypes.
|
|
168
241
|
*/
|
|
169
242
|
#define MPI_FLOAT_INT ((MPI_Datatype)0x8c000000)
|
|
170
243
|
#define MPI_DOUBLE_INT ((MPI_Datatype)0x8c000001)
|
|
@@ -173,65 +246,45 @@ static const MPI_Datatype mpich_mpi_unsigned_long_long MPICH_ATTR_TYPE_TAG(unsig
|
|
|
173
246
|
#define MPI_2INT ((MPI_Datatype)0x4c000816)
|
|
174
247
|
#define MPI_LONG_DOUBLE_INT ((MPI_Datatype)0x8c000004)
|
|
175
248
|
|
|
176
|
-
#
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
struct mpich_struct_mpi_long_int { long l; int i; };
|
|
180
|
-
struct mpich_struct_mpi_short_int { short s; int i; };
|
|
181
|
-
struct mpich_struct_mpi_2int { int i1; int i2; };
|
|
182
|
-
#if 0x8c000004 != 0x0c000000
|
|
183
|
-
struct mpich_struct_mpi_long_double_int { long double ld; int i; };
|
|
184
|
-
#endif
|
|
185
|
-
|
|
186
|
-
static const MPI_Datatype mpich_mpi_float_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_float_int) = MPI_FLOAT_INT;
|
|
187
|
-
static const MPI_Datatype mpich_mpi_double_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_double_int) = MPI_DOUBLE_INT;
|
|
188
|
-
static const MPI_Datatype mpich_mpi_long_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_long_int) = MPI_LONG_INT;
|
|
189
|
-
static const MPI_Datatype mpich_mpi_short_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_short_int) = MPI_SHORT_INT;
|
|
190
|
-
|
|
191
|
-
/*
|
|
192
|
-
* The MPI_2INT line is commented out because currently Clang 3.3 flags
|
|
193
|
-
* struct {int i1; int i2;} as different from int[2]. But actually these
|
|
194
|
-
* two types are of the same layout. Clang gives a type mismatch warning
|
|
195
|
-
* for a definitely correct code like the following:
|
|
196
|
-
* int in[2], out[2];
|
|
197
|
-
* MPI_Reduce(in, out, 1, MPI_2INT, MPI_MAXLOC, 0, MPI_COMM_WORLD);
|
|
198
|
-
*
|
|
199
|
-
* So, we disable type checking for MPI_2INT until Clang fixes this bug.
|
|
200
|
-
*/
|
|
201
|
-
|
|
202
|
-
/* static const MPI_Datatype mpich_mpi_2int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_2int) = MPI_2INT
|
|
203
|
-
*/
|
|
204
|
-
|
|
205
|
-
#if 0x8c000004 != 0x0c000000
|
|
206
|
-
static const MPI_Datatype mpich_mpi_long_double_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_long_double_int) = MPI_LONG_DOUBLE_INT;
|
|
207
|
-
#endif
|
|
208
|
-
#endif
|
|
249
|
+
#define MPI_SIGNED_CHAR ((MPI_Datatype)0x4c000118)
|
|
250
|
+
#define MPI_UNSIGNED_LONG_LONG ((MPI_Datatype)0x4c000819)
|
|
251
|
+
#define MPI_LONG_LONG MPI_LONG_LONG_INT
|
|
209
252
|
|
|
210
253
|
/* Fortran types */
|
|
211
|
-
#define
|
|
212
|
-
#define
|
|
213
|
-
#define MPI_LOGICAL ((MPI_Datatype)1275069469)
|
|
254
|
+
#define MPI_CHARACTER ((MPI_Datatype)0x4c00011a)
|
|
255
|
+
#define MPI_INTEGER ((MPI_Datatype)1275069467)
|
|
214
256
|
#define MPI_REAL ((MPI_Datatype)1275069468)
|
|
257
|
+
#define MPI_LOGICAL ((MPI_Datatype)1275069469)
|
|
258
|
+
#define MPI_COMPLEX ((MPI_Datatype)1275070494)
|
|
215
259
|
#define MPI_DOUBLE_PRECISION ((MPI_Datatype)1275070495)
|
|
216
|
-
#define MPI_INTEGER ((MPI_Datatype)1275069467)
|
|
217
260
|
#define MPI_2INTEGER ((MPI_Datatype)1275070496)
|
|
218
261
|
#define MPI_2REAL ((MPI_Datatype)1275070497)
|
|
262
|
+
#define MPI_DOUBLE_COMPLEX ((MPI_Datatype)1275072546)
|
|
219
263
|
#define MPI_2DOUBLE_PRECISION ((MPI_Datatype)1275072547)
|
|
220
|
-
#define MPI_CHARACTER ((MPI_Datatype)0x4c00011a)
|
|
221
264
|
|
|
222
265
|
/* Size-specific types (see MPI-2, 10.2.5) */
|
|
266
|
+
#define MPI_REAL2 MPI_DATATYPE_NULL
|
|
267
|
+
#define MPI_COMPLEX4 MPI_DATATYPE_NULL
|
|
268
|
+
|
|
223
269
|
#define MPI_REAL4 ((MPI_Datatype)0x4c000427)
|
|
224
|
-
#define MPI_REAL8 ((MPI_Datatype)0x4c000829)
|
|
225
|
-
#define MPI_REAL16 ((MPI_Datatype)0x4c00102b)
|
|
226
270
|
#define MPI_COMPLEX8 ((MPI_Datatype)0x4c000828)
|
|
271
|
+
#define MPI_REAL8 ((MPI_Datatype)0x4c000829)
|
|
227
272
|
#define MPI_COMPLEX16 ((MPI_Datatype)0x4c00102a)
|
|
273
|
+
#define MPI_REAL16 ((MPI_Datatype)0x4c00102b)
|
|
228
274
|
#define MPI_COMPLEX32 ((MPI_Datatype)0x4c00202c)
|
|
229
275
|
#define MPI_INTEGER1 ((MPI_Datatype)0x4c00012d)
|
|
276
|
+
|
|
230
277
|
#define MPI_INTEGER2 ((MPI_Datatype)0x4c00022f)
|
|
231
278
|
#define MPI_INTEGER4 ((MPI_Datatype)0x4c000430)
|
|
232
279
|
#define MPI_INTEGER8 ((MPI_Datatype)0x4c000831)
|
|
233
280
|
#define MPI_INTEGER16 ((MPI_Datatype)0x4c001032)
|
|
234
281
|
|
|
282
|
+
/* MPI-3 C++ types */
|
|
283
|
+
#define MPI_CXX_BOOL ((MPI_Datatype)0x4c000133)
|
|
284
|
+
#define MPI_CXX_FLOAT_COMPLEX ((MPI_Datatype)0x4c000834)
|
|
285
|
+
#define MPI_CXX_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001035)
|
|
286
|
+
#define MPI_CXX_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001036)
|
|
287
|
+
|
|
235
288
|
/* C99 fixed-width datatypes */
|
|
236
289
|
#define MPI_INT8_T ((MPI_Datatype)0x4c000137)
|
|
237
290
|
#define MPI_INT16_T ((MPI_Datatype)0x4c000238)
|
|
@@ -242,56 +295,32 @@ static const MPI_Datatype mpich_mpi_long_double_int MPICH_ATTR_TYPE_TAG_LAYOUT_C
|
|
|
242
295
|
#define MPI_UINT32_T ((MPI_Datatype)0x4c00043d)
|
|
243
296
|
#define MPI_UINT64_T ((MPI_Datatype)0x4c00083e)
|
|
244
297
|
|
|
245
|
-
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
246
|
-
static const MPI_Datatype mpich_mpi_int8_t MPICH_ATTR_TYPE_TAG_STDINT(int8_t) = MPI_INT8_T;
|
|
247
|
-
static const MPI_Datatype mpich_mpi_int16_t MPICH_ATTR_TYPE_TAG_STDINT(int16_t) = MPI_INT16_T;
|
|
248
|
-
static const MPI_Datatype mpich_mpi_int32_t MPICH_ATTR_TYPE_TAG_STDINT(int32_t) = MPI_INT32_T;
|
|
249
|
-
static const MPI_Datatype mpich_mpi_int64_t MPICH_ATTR_TYPE_TAG_STDINT(int64_t) = MPI_INT64_T;
|
|
250
|
-
static const MPI_Datatype mpich_mpi_uint8_t MPICH_ATTR_TYPE_TAG_STDINT(uint8_t) = MPI_UINT8_T;
|
|
251
|
-
static const MPI_Datatype mpich_mpi_uint16_t MPICH_ATTR_TYPE_TAG_STDINT(uint16_t) = MPI_UINT16_T;
|
|
252
|
-
static const MPI_Datatype mpich_mpi_uint32_t MPICH_ATTR_TYPE_TAG_STDINT(uint32_t) = MPI_UINT32_T;
|
|
253
|
-
static const MPI_Datatype mpich_mpi_uint64_t MPICH_ATTR_TYPE_TAG_STDINT(uint64_t) = MPI_UINT64_T;
|
|
254
|
-
#endif
|
|
255
|
-
|
|
256
298
|
/* other C99 types */
|
|
257
299
|
#define MPI_C_BOOL ((MPI_Datatype)0x4c00013f)
|
|
258
300
|
#define MPI_C_FLOAT_COMPLEX ((MPI_Datatype)0x4c000840)
|
|
259
301
|
#define MPI_C_COMPLEX MPI_C_FLOAT_COMPLEX
|
|
260
302
|
#define MPI_C_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001041)
|
|
261
303
|
#define MPI_C_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001042)
|
|
262
|
-
/* other extension types */
|
|
263
|
-
#define MPIX_C_FLOAT16 ((MPI_Datatype)MPI_DATATYPE_NULL)
|
|
264
|
-
#define MPIX_C_BF16 ((MPI_Datatype)MPI_DATATYPE_NULL)
|
|
265
|
-
|
|
266
|
-
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
267
|
-
static const MPI_Datatype mpich_mpi_c_bool MPICH_ATTR_TYPE_TAG_C99(_Bool) = MPI_C_BOOL;
|
|
268
|
-
static const MPI_Datatype mpich_mpi_c_float_complex MPICH_ATTR_TYPE_TAG_C99(float _Complex) = MPI_C_FLOAT_COMPLEX;
|
|
269
|
-
static const MPI_Datatype mpich_mpi_c_double_complex MPICH_ATTR_TYPE_TAG_C99(double _Complex) = MPI_C_DOUBLE_COMPLEX;
|
|
270
|
-
#if 0x4c001042 != 0x0c000000
|
|
271
|
-
static const MPI_Datatype mpich_mpi_c_long_double_complex MPICH_ATTR_TYPE_TAG_C99(long double _Complex) = MPI_C_LONG_DOUBLE_COMPLEX;
|
|
272
|
-
#endif
|
|
273
|
-
#endif
|
|
274
|
-
|
|
275
304
|
/* address/offset types */
|
|
276
305
|
#define MPI_AINT ((MPI_Datatype)0x4c000843)
|
|
277
306
|
#define MPI_OFFSET ((MPI_Datatype)0x4c000844)
|
|
278
307
|
#define MPI_COUNT ((MPI_Datatype)0x4c000845)
|
|
308
|
+
/* other extension types */
|
|
309
|
+
#define MPIX_C_FLOAT16 ((MPI_Datatype)MPI_DATATYPE_NULL)
|
|
310
|
+
#define MPIX_C_BF16 ((MPI_Datatype)MPI_DATATYPE_NULL)
|
|
311
|
+
/* Fortran fixed-width logicals */
|
|
312
|
+
#define MPI_LOGICAL1 ((MPI_Datatype)0x4c000147)
|
|
313
|
+
#define MPI_LOGICAL2 ((MPI_Datatype)0x4c000248)
|
|
314
|
+
#define MPI_LOGICAL4 ((MPI_Datatype)0x4c000449)
|
|
315
|
+
#define MPI_LOGICAL8 ((MPI_Datatype)0x4c00084a)
|
|
316
|
+
#define MPI_LOGICAL16 ((MPI_Datatype)0x4c00104b)
|
|
317
|
+
/* other */
|
|
318
|
+
#define MPIX_BFLOAT16 MPIX_C_BF16
|
|
279
319
|
|
|
280
|
-
/*
|
|
281
|
-
|
|
282
|
-
#define
|
|
283
|
-
#define
|
|
284
|
-
#define MPI_CXX_LONG_DOUBLE_COMPLEX ((MPI_Datatype)0x4c001036)
|
|
285
|
-
|
|
286
|
-
/* typeclasses */
|
|
287
|
-
#define MPI_TYPECLASS_REAL 1
|
|
288
|
-
#define MPI_TYPECLASS_INTEGER 2
|
|
289
|
-
#define MPI_TYPECLASS_COMPLEX 3
|
|
290
|
-
|
|
291
|
-
/* Communicators */
|
|
292
|
-
typedef int MPI_Comm;
|
|
293
|
-
#define MPI_COMM_WORLD ((MPI_Comm)0x44000000)
|
|
294
|
-
#define MPI_COMM_SELF ((MPI_Comm)0x44000001)
|
|
320
|
+
/* Communicators */
|
|
321
|
+
typedef int MPI_Comm;
|
|
322
|
+
#define MPI_COMM_WORLD ((MPI_Comm)0x44000000)
|
|
323
|
+
#define MPI_COMM_SELF ((MPI_Comm)0x44000001)
|
|
295
324
|
|
|
296
325
|
/* Groups */
|
|
297
326
|
typedef int MPI_Group;
|
|
@@ -311,7 +340,10 @@ typedef int MPI_Session;
|
|
|
311
340
|
/* ROMIO uses a pointer for MPI_File objects. This must be the same definition
|
|
312
341
|
as in src/mpi/romio/include/mpio.h.in */
|
|
313
342
|
typedef struct ADIOI_FileD *MPI_File;
|
|
343
|
+
/* When building MPI_ABI, directly use ABI MPI_FILE_NULL */
|
|
344
|
+
#ifndef BUILD_MPI_ABI
|
|
314
345
|
#define MPI_FILE_NULL ((MPI_File)0)
|
|
346
|
+
#endif
|
|
315
347
|
|
|
316
348
|
/* Collective operations */
|
|
317
349
|
typedef int MPI_Op;
|
|
@@ -331,16 +363,46 @@ typedef int MPI_Op;
|
|
|
331
363
|
#define MPI_REPLACE (MPI_Op)(0x5800000d)
|
|
332
364
|
#define MPI_NO_OP (MPI_Op)(0x5800000e)
|
|
333
365
|
|
|
366
|
+
/* MPI errhandler objects */
|
|
367
|
+
typedef int MPI_Errhandler;
|
|
368
|
+
|
|
369
|
+
/* Built in (0x1 in 30-31), errhandler (0x5 in bits 26-29, allkind (0
|
|
370
|
+
in 22-25), index in the low bits */
|
|
371
|
+
#define MPI_ERRORS_ARE_FATAL ((MPI_Errhandler)0x54000000)
|
|
372
|
+
#define MPI_ERRORS_RETURN ((MPI_Errhandler)0x54000001)
|
|
373
|
+
/* MPIR_ERRORS_THROW_EXCEPTIONS is not part of the MPI standard, it is here to
|
|
374
|
+
facilitate the c++ binding which has MPI::ERRORS_THROW_EXCEPTIONS.
|
|
375
|
+
Using the MPIR prefix preserved the MPI_ names for objects defined by
|
|
376
|
+
the standard. */
|
|
377
|
+
#define MPIR_ERRORS_THROW_EXCEPTIONS ((MPI_Errhandler)0x54000002)
|
|
378
|
+
#define MPI_ERRORS_ABORT ((MPI_Errhandler)0x54000003)
|
|
379
|
+
|
|
380
|
+
/* MPI request objects */
|
|
381
|
+
typedef int MPI_Request;
|
|
382
|
+
|
|
383
|
+
/* MPI message objects for Mprobe and related functions */
|
|
384
|
+
typedef int MPI_Message;
|
|
385
|
+
|
|
386
|
+
/* Generalized requests extensions */
|
|
387
|
+
typedef int MPIX_Grequest_class;
|
|
388
|
+
|
|
389
|
+
/* for info */
|
|
390
|
+
typedef int MPI_Info;
|
|
391
|
+
#define MPI_INFO_NULL ((MPI_Info)0x1c000000)
|
|
392
|
+
#define MPI_INFO_ENV ((MPI_Info)0x5c000001)
|
|
393
|
+
|
|
334
394
|
/* Permanent key values */
|
|
395
|
+
#define MPI_KEYVAL_INVALID 0x24000000
|
|
396
|
+
|
|
335
397
|
/* C Versions (return pointer to value),
|
|
336
398
|
Fortran Versions (return integer value).
|
|
337
399
|
Handled directly by the attribute value routine
|
|
338
|
-
|
|
400
|
+
|
|
339
401
|
DO NOT CHANGE THESE. The values encode:
|
|
340
402
|
builtin kind (0x1 in bit 30-31)
|
|
341
403
|
Keyval object (0x9 in bits 26-29)
|
|
342
404
|
for communicator (0x1 in bits 22-25)
|
|
343
|
-
|
|
405
|
+
|
|
344
406
|
Fortran versions of the attributes are formed by adding one to
|
|
345
407
|
the C version.
|
|
346
408
|
*/
|
|
@@ -360,10 +422,154 @@ typedef int MPI_Op;
|
|
|
360
422
|
#define MPI_WIN_CREATE_FLAVOR 0x66000007
|
|
361
423
|
#define MPI_WIN_MODEL 0x66000009
|
|
362
424
|
|
|
425
|
+
#ifndef BUILD_MPI_ABI
|
|
426
|
+
/* Definitions that are determined by configure. */
|
|
427
|
+
#ifdef MPI_AINT64_TYPE
|
|
428
|
+
#undef MPI_AINT64_TYPE
|
|
429
|
+
#endif
|
|
430
|
+
#if defined(USE_GCC) || defined(__GNUC__)
|
|
431
|
+
#define MPI_AINT64_TYPE long long
|
|
432
|
+
#else
|
|
433
|
+
#define MPI_AINT64_TYPE __int64
|
|
434
|
+
#endif
|
|
435
|
+
typedef MPI_AINT64_TYPE MPI_Aint;
|
|
436
|
+
#undef MPI_AINT64_TYPE
|
|
437
|
+
|
|
438
|
+
typedef int MPI_Fint;
|
|
439
|
+
typedef long long MPI_Count;
|
|
440
|
+
|
|
441
|
+
/* Let ROMIO know that MPI_Offset is already defined */
|
|
442
|
+
#define HAVE_MPI_OFFSET
|
|
443
|
+
/* MPI_OFFSET_TYPEDEF is set in configure and is
|
|
444
|
+
typedef $MPI_OFFSET MPI_Offset;
|
|
445
|
+
where $MPI_OFFSET is the correct C type */
|
|
446
|
+
#if defined(USE_GCC) || defined(__GNUC__)
|
|
447
|
+
typedef long long MPI_Offset;
|
|
448
|
+
#else
|
|
449
|
+
typedef __int64 MPI_Offset;
|
|
450
|
+
#endif
|
|
451
|
+
|
|
452
|
+
/* The order of these elements must match that in mpif.h, mpi_f08_types.f90,
|
|
453
|
+
and mpi_c_interface_types.f90 */
|
|
454
|
+
typedef struct MPI_Status {
|
|
455
|
+
int count_lo;
|
|
456
|
+
int count_hi_and_cancelled;
|
|
457
|
+
int MPI_SOURCE;
|
|
458
|
+
int MPI_TAG;
|
|
459
|
+
int MPI_ERROR;
|
|
460
|
+
} MPI_Status;
|
|
461
|
+
|
|
462
|
+
/* See 4.12.5 for MPI_F_STATUS(ES)_IGNORE */
|
|
463
|
+
extern MPIU_DLL_SPEC MPI_Fint * MPI_F_STATUS_IGNORE MPICH_API_PUBLIC;
|
|
464
|
+
extern MPIU_DLL_SPEC MPI_Fint * MPI_F_STATUSES_IGNORE MPICH_API_PUBLIC;
|
|
465
|
+
/* The annotation MPIU_DLL_SPEC to the extern statements is used
|
|
466
|
+
as a hook for systems that require C extensions to correctly construct
|
|
467
|
+
DLLs, and is defined as an empty string otherwise
|
|
468
|
+
*/
|
|
469
|
+
|
|
470
|
+
/* C type for MPI_STATUS in F08.
|
|
471
|
+
The field order should match that in mpi_f08_types.f90, and mpi_c_interface_types.f90.
|
|
472
|
+
*/
|
|
473
|
+
typedef struct {
|
|
474
|
+
MPI_Fint count_lo;
|
|
475
|
+
MPI_Fint count_hi_and_cancelled;
|
|
476
|
+
MPI_Fint MPI_SOURCE;
|
|
477
|
+
MPI_Fint MPI_TAG;
|
|
478
|
+
MPI_Fint MPI_ERROR;
|
|
479
|
+
} MPI_F08_status;
|
|
480
|
+
|
|
481
|
+
/* MPI 4 added following constants to allow access F90 STATUS as an array of MPI_Fint */
|
|
482
|
+
#define MPI_F_STATUS_SIZE 5
|
|
483
|
+
#define MPI_F_SOURCE 2
|
|
484
|
+
#define MPI_F_TAG 3
|
|
485
|
+
#define MPI_F_ERROR 4
|
|
486
|
+
|
|
487
|
+
/* Provided in libmpifort.so */
|
|
488
|
+
extern MPIU_DLL_SPEC MPI_F08_status *MPI_F08_STATUS_IGNORE MPICH_API_PUBLIC;
|
|
489
|
+
extern MPIU_DLL_SPEC MPI_F08_status *MPI_F08_STATUSES_IGNORE MPICH_API_PUBLIC;
|
|
490
|
+
|
|
491
|
+
#endif /* BUILD_MPI_ABI */
|
|
492
|
+
|
|
363
493
|
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
364
494
|
static const MPI_Datatype mpich_mpi_datatype_null MPICH_ATTR_TYPE_TAG_MUST_BE_NULL() = MPI_DATATYPE_NULL;
|
|
495
|
+
static const MPI_Datatype mpich_mpi_char MPICH_ATTR_TYPE_TAG(char) = MPI_CHAR;
|
|
496
|
+
static const MPI_Datatype mpich_mpi_signed_char MPICH_ATTR_TYPE_TAG(signed char) = MPI_SIGNED_CHAR;
|
|
497
|
+
static const MPI_Datatype mpich_mpi_unsigned_char MPICH_ATTR_TYPE_TAG(unsigned char) = MPI_UNSIGNED_CHAR;
|
|
498
|
+
/*static const MPI_Datatype mpich_mpi_byte MPICH_ATTR_TYPE_TAG(char) = MPI_BYTE;*/
|
|
499
|
+
static const MPI_Datatype mpich_mpi_wchar MPICH_ATTR_TYPE_TAG(wchar_t) = MPI_WCHAR;
|
|
500
|
+
static const MPI_Datatype mpich_mpi_short MPICH_ATTR_TYPE_TAG(short) = MPI_SHORT;
|
|
501
|
+
static const MPI_Datatype mpich_mpi_unsigned_short MPICH_ATTR_TYPE_TAG(unsigned short) = MPI_UNSIGNED_SHORT;
|
|
502
|
+
static const MPI_Datatype mpich_mpi_int MPICH_ATTR_TYPE_TAG(int) = MPI_INT;
|
|
503
|
+
static const MPI_Datatype mpich_mpi_unsigned MPICH_ATTR_TYPE_TAG(unsigned) = MPI_UNSIGNED;
|
|
504
|
+
static const MPI_Datatype mpich_mpi_long MPICH_ATTR_TYPE_TAG(long) = MPI_LONG;
|
|
505
|
+
static const MPI_Datatype mpich_mpi_unsigned_long MPICH_ATTR_TYPE_TAG(unsigned long) = MPI_UNSIGNED_LONG;
|
|
506
|
+
static const MPI_Datatype mpich_mpi_float MPICH_ATTR_TYPE_TAG(float) = MPI_FLOAT;
|
|
507
|
+
static const MPI_Datatype mpich_mpi_double MPICH_ATTR_TYPE_TAG(double) = MPI_DOUBLE;
|
|
508
|
+
#if 0x4c00080c != 0x0c000000
|
|
509
|
+
static const MPI_Datatype mpich_mpi_long_double MPICH_ATTR_TYPE_TAG(long double) = MPI_LONG_DOUBLE;
|
|
510
|
+
#endif
|
|
511
|
+
static const MPI_Datatype mpich_mpi_long_long_int MPICH_ATTR_TYPE_TAG(long long int) = MPI_LONG_LONG_INT;
|
|
512
|
+
static const MPI_Datatype mpich_mpi_unsigned_long_long MPICH_ATTR_TYPE_TAG(unsigned long long) = MPI_UNSIGNED_LONG_LONG;
|
|
513
|
+
struct mpich_struct_mpi_float_int { float f; int i; };
|
|
514
|
+
struct mpich_struct_mpi_double_int { double d; int i; };
|
|
515
|
+
struct mpich_struct_mpi_long_int { long l; int i; };
|
|
516
|
+
struct mpich_struct_mpi_short_int { short s; int i; };
|
|
517
|
+
struct mpich_struct_mpi_2int { int i1; int i2; };
|
|
518
|
+
#if 0x8c000004 != 0x0c000000
|
|
519
|
+
struct mpich_struct_mpi_long_double_int { long double ld; int i; };
|
|
365
520
|
#endif
|
|
366
521
|
|
|
522
|
+
static const MPI_Datatype mpich_mpi_float_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_float_int) = MPI_FLOAT_INT;
|
|
523
|
+
static const MPI_Datatype mpich_mpi_double_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_double_int) = MPI_DOUBLE_INT;
|
|
524
|
+
static const MPI_Datatype mpich_mpi_long_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_long_int) = MPI_LONG_INT;
|
|
525
|
+
static const MPI_Datatype mpich_mpi_short_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_short_int) = MPI_SHORT_INT;
|
|
526
|
+
|
|
527
|
+
/*
|
|
528
|
+
* The MPI_2INT line is commented out because currently Clang 3.3 flags
|
|
529
|
+
* struct {int i1; int i2;} as different from int[2]. But actually these
|
|
530
|
+
* two types are of the same layout. Clang gives a type mismatch warning
|
|
531
|
+
* for a definitely correct code like the following:
|
|
532
|
+
* int in[2], out[2];
|
|
533
|
+
* MPI_Reduce(in, out, 1, MPI_2INT, MPI_MAXLOC, 0, MPI_COMM_WORLD);
|
|
534
|
+
*
|
|
535
|
+
* So, we disable type checking for MPI_2INT until Clang fixes this bug.
|
|
536
|
+
*/
|
|
537
|
+
|
|
538
|
+
/* static const MPI_Datatype mpich_mpi_2int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_2int) = MPI_2INT
|
|
539
|
+
*/
|
|
540
|
+
|
|
541
|
+
#if 0x8c000004 != 0x0c000000
|
|
542
|
+
static const MPI_Datatype mpich_mpi_long_double_int MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE(struct mpich_struct_mpi_long_double_int) = MPI_LONG_DOUBLE_INT;
|
|
543
|
+
#endif
|
|
544
|
+
|
|
545
|
+
static const MPI_Datatype mpich_mpi_int8_t MPICH_ATTR_TYPE_TAG_STDINT(int8_t) = MPI_INT8_T;
|
|
546
|
+
static const MPI_Datatype mpich_mpi_int16_t MPICH_ATTR_TYPE_TAG_STDINT(int16_t) = MPI_INT16_T;
|
|
547
|
+
static const MPI_Datatype mpich_mpi_int32_t MPICH_ATTR_TYPE_TAG_STDINT(int32_t) = MPI_INT32_T;
|
|
548
|
+
static const MPI_Datatype mpich_mpi_int64_t MPICH_ATTR_TYPE_TAG_STDINT(int64_t) = MPI_INT64_T;
|
|
549
|
+
static const MPI_Datatype mpich_mpi_uint8_t MPICH_ATTR_TYPE_TAG_STDINT(uint8_t) = MPI_UINT8_T;
|
|
550
|
+
static const MPI_Datatype mpich_mpi_uint16_t MPICH_ATTR_TYPE_TAG_STDINT(uint16_t) = MPI_UINT16_T;
|
|
551
|
+
static const MPI_Datatype mpich_mpi_uint32_t MPICH_ATTR_TYPE_TAG_STDINT(uint32_t) = MPI_UINT32_T;
|
|
552
|
+
static const MPI_Datatype mpich_mpi_uint64_t MPICH_ATTR_TYPE_TAG_STDINT(uint64_t) = MPI_UINT64_T;
|
|
553
|
+
|
|
554
|
+
static const MPI_Datatype mpich_mpi_c_bool MPICH_ATTR_TYPE_TAG_C99(_Bool) = MPI_C_BOOL;
|
|
555
|
+
static const MPI_Datatype mpich_mpi_c_float_complex MPICH_ATTR_TYPE_TAG_C99(float _Complex) = MPI_C_FLOAT_COMPLEX;
|
|
556
|
+
static const MPI_Datatype mpich_mpi_c_double_complex MPICH_ATTR_TYPE_TAG_C99(double _Complex) = MPI_C_DOUBLE_COMPLEX;
|
|
557
|
+
#if 0x4c001042 != 0x0c000000
|
|
558
|
+
static const MPI_Datatype mpich_mpi_c_long_double_complex MPICH_ATTR_TYPE_TAG_C99(long double _Complex) = MPI_C_LONG_DOUBLE_COMPLEX;
|
|
559
|
+
#endif
|
|
560
|
+
|
|
561
|
+
static const MPI_Datatype mpich_mpi_aint MPICH_ATTR_TYPE_TAG(MPI_Aint) = MPI_AINT;
|
|
562
|
+
static const MPI_Datatype mpich_mpi_offset MPICH_ATTR_TYPE_TAG(MPI_Offset) = MPI_OFFSET;
|
|
563
|
+
#endif
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
/* FIXME: The following two definition are not defined by MPI and must not be
|
|
567
|
+
included in the mpi.h file, as the MPI namespace is reserved to the MPI
|
|
568
|
+
standard */
|
|
569
|
+
#define MPI_AINT_FMT_DEC_SPEC "%I64d"
|
|
570
|
+
#define MPI_AINT_FMT_HEX_SPEC "%I64x"
|
|
571
|
+
|
|
572
|
+
#ifndef BUILD_MPI_ABI
|
|
367
573
|
/* These are only guesses; make sure you change them in mpif.h as well */
|
|
368
574
|
#define MPI_MAX_PROCESSOR_NAME 128
|
|
369
575
|
#define MPI_MAX_LIBRARY_VERSION_STRING 8192
|
|
@@ -372,10 +578,11 @@ static const MPI_Datatype mpich_mpi_datatype_null MPICH_ATTR_TYPE_TAG_MUST_BE_NU
|
|
|
372
578
|
#define MPI_MAX_OBJECT_NAME 128
|
|
373
579
|
#define MPI_MAX_STRINGTAG_LEN 256
|
|
374
580
|
#define MPI_MAX_PSET_NAME_LEN 256
|
|
581
|
+
#define MPI_MAX_INFO_KEY 255
|
|
582
|
+
#define MPI_MAX_INFO_VAL 1024
|
|
583
|
+
#define MPI_MAX_DATAREP_STRING 128
|
|
375
584
|
|
|
376
|
-
|
|
377
|
-
#define MPI_UNDEFINED (-32766)
|
|
378
|
-
#define MPI_KEYVAL_INVALID 0x24000000
|
|
585
|
+
#define MPI_DISPLACEMENT_CURRENT ((MPI_Offset)-54278278)
|
|
379
586
|
|
|
380
587
|
/* MPI-3 window flavors */
|
|
381
588
|
typedef enum MPIR_Win_flavor {
|
|
@@ -395,19 +602,12 @@ typedef enum MPIR_Win_model {
|
|
|
395
602
|
#define MPI_BSEND_OVERHEAD 96
|
|
396
603
|
|
|
397
604
|
/* Topology types */
|
|
398
|
-
typedef enum MPIR_Topo_type {
|
|
605
|
+
typedef enum MPIR_Topo_type {
|
|
606
|
+
MPI_GRAPH = 1,
|
|
607
|
+
MPI_CART = 2,
|
|
608
|
+
MPI_DIST_GRAPH = 3
|
|
609
|
+
} MPIR_Topo_type;
|
|
399
610
|
|
|
400
|
-
#define MPI_BOTTOM (void *)0
|
|
401
|
-
#ifdef USE_MPI_STATIC_LIBRARY
|
|
402
|
-
# define MPIU_DLL_SPEC
|
|
403
|
-
#else
|
|
404
|
-
# ifdef MPI_EXPORTS
|
|
405
|
-
# define MPIU_DLL_SPEC __declspec(dllexport)
|
|
406
|
-
# else
|
|
407
|
-
# define MPIU_DLL_SPEC __declspec(dllimport)
|
|
408
|
-
# endif
|
|
409
|
-
#endif
|
|
410
|
-
#define MPI_CALL __cdecl
|
|
411
611
|
|
|
412
612
|
extern MPIU_DLL_SPEC int * const MPI_UNWEIGHTED MPICH_API_PUBLIC;
|
|
413
613
|
extern MPIU_DLL_SPEC int * const MPI_WEIGHTS_EMPTY MPICH_API_PUBLIC;
|
|
@@ -417,456 +617,84 @@ extern MPIU_DLL_SPEC int * const MPI_WEIGHTS_EMPTY MPICH_API_PUBLIC;
|
|
|
417
617
|
#define MPI_ROOT (-3)
|
|
418
618
|
#define MPI_ANY_TAG (-1)
|
|
419
619
|
|
|
420
|
-
#define
|
|
421
|
-
#define
|
|
422
|
-
|
|
423
|
-
/* C functions */
|
|
424
|
-
typedef void (MPI_Handler_function) ( MPI_Comm *, int *, ... );
|
|
425
|
-
typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void *,
|
|
426
|
-
void *, int *);
|
|
427
|
-
typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *);
|
|
428
|
-
typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *, void *,
|
|
429
|
-
void *, int *);
|
|
430
|
-
typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int, void *, void *);
|
|
431
|
-
typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *, void *, void *,
|
|
432
|
-
int *);
|
|
433
|
-
typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *);
|
|
434
|
-
/* added in MPI-2.2 */
|
|
435
|
-
typedef void (MPI_Comm_errhandler_function)(MPI_Comm *, int *, ...);
|
|
436
|
-
typedef void (MPI_File_errhandler_function)(MPI_File *, int *, ...);
|
|
437
|
-
typedef void (MPI_Win_errhandler_function)(MPI_Win *, int *, ...);
|
|
438
|
-
typedef void (MPI_Session_errhandler_function)(MPI_Session *, int *, ...);
|
|
439
|
-
/* names that were added in MPI-2.0 and deprecated in MPI-2.2 */
|
|
440
|
-
typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn;
|
|
441
|
-
typedef MPI_File_errhandler_function MPI_File_errhandler_fn;
|
|
442
|
-
typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn;
|
|
443
|
-
typedef MPI_Session_errhandler_function MPI_Session_errhandler_fn;
|
|
444
|
-
/* Built in (0x1 in 30-31), errhandler (0x5 in bits 26-29, allkind (0
|
|
445
|
-
in 22-25), index in the low bits */
|
|
446
|
-
#define MPI_ERRORS_ARE_FATAL ((MPI_Errhandler)0x54000000)
|
|
447
|
-
#define MPI_ERRORS_RETURN ((MPI_Errhandler)0x54000001)
|
|
448
|
-
/* MPIR_ERRORS_THROW_EXCEPTIONS is not part of the MPI standard, it is here to
|
|
449
|
-
facilitate the c++ binding which has MPI::ERRORS_THROW_EXCEPTIONS.
|
|
450
|
-
Using the MPIR prefix preserved the MPI_ names for objects defined by
|
|
451
|
-
the standard. */
|
|
452
|
-
#define MPIR_ERRORS_THROW_EXCEPTIONS ((MPI_Errhandler)0x54000002)
|
|
453
|
-
#define MPI_ERRORS_ABORT ((MPI_Errhandler)0x54000003)
|
|
454
|
-
typedef int MPI_Errhandler;
|
|
455
|
-
|
|
456
|
-
/* Make the C names for the dup function mixed case.
|
|
457
|
-
This is required for systems that use all uppercase names for Fortran
|
|
458
|
-
externals. */
|
|
459
|
-
/* MPI 1 names */
|
|
460
|
-
#define MPI_NULL_COPY_FN ((MPI_Copy_function *)0)
|
|
461
|
-
#define MPI_NULL_DELETE_FN ((MPI_Delete_function *)0)
|
|
462
|
-
#define MPI_DUP_FN MPIR_Dup_fn
|
|
463
|
-
/* MPI 2 names */
|
|
464
|
-
#define MPI_COMM_NULL_COPY_FN ((MPI_Comm_copy_attr_function*)0)
|
|
465
|
-
#define MPI_COMM_NULL_DELETE_FN ((MPI_Comm_delete_attr_function*)0)
|
|
466
|
-
#define MPI_COMM_DUP_FN ((MPI_Comm_copy_attr_function *)MPI_DUP_FN)
|
|
467
|
-
#define MPI_WIN_NULL_COPY_FN ((MPI_Win_copy_attr_function*)0)
|
|
468
|
-
#define MPI_WIN_NULL_DELETE_FN ((MPI_Win_delete_attr_function*)0)
|
|
469
|
-
#define MPI_WIN_DUP_FN ((MPI_Win_copy_attr_function*)MPI_DUP_FN)
|
|
470
|
-
#define MPI_TYPE_NULL_COPY_FN ((MPI_Type_copy_attr_function*)0)
|
|
471
|
-
#define MPI_TYPE_NULL_DELETE_FN ((MPI_Type_delete_attr_function*)0)
|
|
472
|
-
#define MPI_TYPE_DUP_FN ((MPI_Type_copy_attr_function*)MPI_DUP_FN)
|
|
620
|
+
#define MPI_BOTTOM (void *)0
|
|
621
|
+
#define MPI_IN_PLACE (void *) -1
|
|
622
|
+
#define MPI_BUFFER_AUTOMATIC (void *) -2
|
|
473
623
|
|
|
474
|
-
|
|
475
|
-
typedef int MPI_Request;
|
|
624
|
+
#define MPI_UNDEFINED (-32766)
|
|
476
625
|
|
|
477
|
-
|
|
478
|
-
|
|
626
|
+
#define MPI_STATUS_IGNORE (MPI_Status *)1
|
|
627
|
+
#define MPI_STATUSES_IGNORE (MPI_Status *)1
|
|
628
|
+
#define MPI_ERRCODES_IGNORE (int *)0
|
|
479
629
|
|
|
480
|
-
|
|
630
|
+
/* The MPI standard requires that the ARGV_NULL values be the same as
|
|
631
|
+
NULL (see 5.3.2) */
|
|
632
|
+
#define MPI_ARGV_NULL (char **)0
|
|
633
|
+
#define MPI_ARGVS_NULL (char ***)0
|
|
481
634
|
|
|
482
|
-
/*
|
|
483
|
-
#
|
|
484
|
-
#
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
#define MPI_AINT64_TYPE long long
|
|
488
|
-
#else
|
|
489
|
-
#define MPI_AINT64_TYPE __int64
|
|
490
|
-
#endif
|
|
491
|
-
typedef MPI_AINT64_TYPE MPI_Aint;
|
|
492
|
-
#undef MPI_AINT64_TYPE
|
|
493
|
-
|
|
494
|
-
typedef int MPI_Fint;
|
|
495
|
-
typedef long long MPI_Count;
|
|
496
|
-
|
|
497
|
-
/* User combination function */
|
|
498
|
-
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
|
|
499
|
-
typedef void (MPI_User_function_c) ( void *, void *, MPI_Count *, MPI_Datatype * );
|
|
500
|
-
|
|
501
|
-
/* MPI Attribute copy and delete functions */
|
|
502
|
-
typedef int (MPI_Copy_function) ( MPI_Comm, int, void *, void *, void *, int * );
|
|
503
|
-
typedef int (MPI_Delete_function) ( MPI_Comm, int, void *, void * );
|
|
504
|
-
|
|
505
|
-
#define MPI_VERSION 4
|
|
506
|
-
#define MPI_SUBVERSION 1
|
|
507
|
-
#define MPICH_NAME 3
|
|
508
|
-
#define MPICH 1
|
|
509
|
-
#define MPICH_HAS_C2F 1
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
/* MPICH_VERSION is the version string. MPICH_NUMVERSION is the
|
|
513
|
-
* numeric version that can be used in numeric comparisons.
|
|
514
|
-
*
|
|
515
|
-
* MPICH_VERSION uses the following format:
|
|
516
|
-
* Version: [MAJ].[MIN].[REV][EXT][EXT_NUMBER]
|
|
517
|
-
* Example: 1.0.7rc1 has
|
|
518
|
-
* MAJ = 1
|
|
519
|
-
* MIN = 0
|
|
520
|
-
* REV = 7
|
|
521
|
-
* EXT = rc
|
|
522
|
-
* EXT_NUMBER = 1
|
|
523
|
-
*
|
|
524
|
-
* MPICH_NUMVERSION will convert EXT to a format number:
|
|
525
|
-
* ALPHA (a) = 0
|
|
526
|
-
* BETA (b) = 1
|
|
527
|
-
* RC (rc) = 2
|
|
528
|
-
* PATCH (p) = 3
|
|
529
|
-
* Regular releases are treated as patch 0
|
|
530
|
-
*
|
|
531
|
-
* Numeric version will have 1 digit for MAJ, 2 digits for MIN, 2
|
|
532
|
-
* digits for REV, 1 digit for EXT and 2 digits for EXT_NUMBER. So,
|
|
533
|
-
* 1.0.7rc1 will have the numeric version 10007201.
|
|
534
|
-
*/
|
|
535
|
-
#define MPICH_VERSION "3.4a2"
|
|
536
|
-
#define MPICH_NUMVERSION 30400002
|
|
537
|
-
|
|
538
|
-
#define MPICH_RELEASE_TYPE_ALPHA 0
|
|
539
|
-
#define MPICH_RELEASE_TYPE_BETA 1
|
|
540
|
-
#define MPICH_RELEASE_TYPE_RC 2
|
|
541
|
-
#define MPICH_RELEASE_TYPE_PATCH 3
|
|
542
|
-
|
|
543
|
-
#define MPICH_CALC_VERSION(MAJOR, MINOR, REVISION, TYPE, PATCH) \
|
|
544
|
-
(((MAJOR) * 10000000) + ((MINOR) * 100000) + ((REVISION) * 1000) + ((TYPE) * 100) + (PATCH))
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
/* I_MPI_VERSION is the version string. I_MPI_NUMVERSION is the
|
|
548
|
-
* numeric version that can be used in numeric comparisons.
|
|
549
|
-
*
|
|
550
|
-
* I_MPI_VERSION uses the following format:
|
|
551
|
-
* Version: [MAJ].[MIN].[REV][EXT][EXT_NUMBER]
|
|
552
|
-
* Example: 2019.0.0b0 has
|
|
553
|
-
* MAJ = 2019
|
|
554
|
-
* MIN = 0
|
|
555
|
-
* REV = 0
|
|
556
|
-
* EXT = b
|
|
557
|
-
* EXT_NUMBER = 0
|
|
558
|
-
*
|
|
559
|
-
* I_MPI_NUMVERSION will convert EXT to a format number:
|
|
560
|
-
* ALPHA (a) = 0
|
|
561
|
-
* BETA (b) = 1
|
|
562
|
-
* RC (rc) = 2
|
|
563
|
-
* PATCH (p) = 3
|
|
564
|
-
* Regular releases are treated as patch 0
|
|
565
|
-
*
|
|
566
|
-
* Numeric version will have 4 digits for MAJ, 2 digits for MIN, 2
|
|
567
|
-
* digits for REV, 1 digit for EXT and 2 digits for EXT_NUMBER. So,
|
|
568
|
-
* 2019.0.0b0 will have the numeric version 20190000100.
|
|
569
|
-
*/
|
|
570
|
-
#define I_MPI_VERSION "2021.16.0"
|
|
571
|
-
#define I_MPI_NUMVERSION 20211600300
|
|
572
|
-
|
|
573
|
-
/* for the datatype decoders */
|
|
574
|
-
enum MPIR_Combiner_enum {
|
|
575
|
-
MPI_COMBINER_NAMED = 1,
|
|
576
|
-
MPI_COMBINER_DUP = 2,
|
|
577
|
-
MPI_COMBINER_CONTIGUOUS = 3,
|
|
578
|
-
MPI_COMBINER_VECTOR = 4,
|
|
579
|
-
MPI_COMBINER_HVECTOR_INTEGER = 5,
|
|
580
|
-
MPI_COMBINER_HVECTOR = 6,
|
|
581
|
-
MPI_COMBINER_INDEXED = 7,
|
|
582
|
-
MPI_COMBINER_HINDEXED_INTEGER = 8,
|
|
583
|
-
MPI_COMBINER_HINDEXED = 9,
|
|
584
|
-
MPI_COMBINER_INDEXED_BLOCK = 10,
|
|
585
|
-
MPI_COMBINER_STRUCT_INTEGER = 11,
|
|
586
|
-
MPI_COMBINER_STRUCT = 12,
|
|
587
|
-
MPI_COMBINER_SUBARRAY = 13,
|
|
588
|
-
MPI_COMBINER_DARRAY = 14,
|
|
589
|
-
MPI_COMBINER_F90_REAL = 15,
|
|
590
|
-
MPI_COMBINER_F90_COMPLEX = 16,
|
|
591
|
-
MPI_COMBINER_F90_INTEGER = 17,
|
|
592
|
-
MPI_COMBINER_RESIZED = 18,
|
|
593
|
-
MPI_COMBINER_HINDEXED_BLOCK = 19,
|
|
594
|
-
MPI_COMBINER_VALUE_INDEX = 20
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
/* for info */
|
|
598
|
-
typedef int MPI_Info;
|
|
599
|
-
#define MPI_INFO_NULL ((MPI_Info)0x1c000000)
|
|
600
|
-
#define MPI_INFO_ENV ((MPI_Info)0x5c000001)
|
|
601
|
-
#define MPI_MAX_INFO_KEY 255
|
|
602
|
-
#define MPI_MAX_INFO_VAL 1024
|
|
603
|
-
|
|
604
|
-
/* for subarray and darray constructors */
|
|
605
|
-
#define MPI_ORDER_C 56
|
|
606
|
-
#define MPI_ORDER_FORTRAN 57
|
|
607
|
-
#define MPI_DISTRIBUTE_BLOCK 121
|
|
608
|
-
#define MPI_DISTRIBUTE_CYCLIC 122
|
|
609
|
-
#define MPI_DISTRIBUTE_NONE 123
|
|
610
|
-
#define MPI_DISTRIBUTE_DFLT_DARG -49767
|
|
611
|
-
|
|
612
|
-
#define MPI_IN_PLACE (void *) -1
|
|
613
|
-
#define MPI_BUFFER_AUTOMATIC (void *) -2
|
|
614
|
-
|
|
615
|
-
/* asserts for one-sided communication */
|
|
616
|
-
#define MPI_MODE_NOCHECK 1024
|
|
617
|
-
#define MPI_MODE_NOSTORE 2048
|
|
618
|
-
#define MPI_MODE_NOPUT 4096
|
|
619
|
-
#define MPI_MODE_NOPRECEDE 8192
|
|
620
|
-
#define MPI_MODE_NOSUCCEED 16384
|
|
621
|
-
|
|
622
|
-
/* predefined types for MPI_Comm_split_type */
|
|
623
|
-
#define MPI_COMM_TYPE_SHARED 1
|
|
624
|
-
|
|
625
|
-
/* MPICH-specific types */
|
|
626
|
-
#define MPI_COMM_TYPE_HW_GUIDED 2
|
|
627
|
-
#define MPI_COMM_TYPE_HW_UNGUIDED 3
|
|
628
|
-
#define MPI_COMM_TYPE_RESOURCE_GUIDED 4
|
|
629
|
-
|
|
630
|
-
#define MPIX_COMM_TYPE_NEIGHBORHOOD 5
|
|
631
|
-
|
|
632
|
-
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
633
|
-
static const MPI_Datatype mpich_mpi_aint MPICH_ATTR_TYPE_TAG(MPI_Aint) = MPI_AINT;
|
|
634
|
-
#endif
|
|
635
|
-
|
|
636
|
-
/* FIXME: The following two definition are not defined by MPI and must not be
|
|
637
|
-
included in the mpi.h file, as the MPI namespace is reserved to the MPI
|
|
638
|
-
standard */
|
|
639
|
-
#define MPI_AINT_FMT_DEC_SPEC "%I64d"
|
|
640
|
-
#define MPI_AINT_FMT_HEX_SPEC "%I64x"
|
|
641
|
-
|
|
642
|
-
/* Let ROMIO know that MPI_Offset is already defined */
|
|
643
|
-
#define HAVE_MPI_OFFSET
|
|
644
|
-
/* MPI_OFFSET_TYPEDEF is set in configure and is
|
|
645
|
-
typedef $MPI_OFFSET MPI_Offset;
|
|
646
|
-
where $MPI_OFFSET is the correct C type */
|
|
647
|
-
#if defined(USE_GCC) || defined(__GNUC__)
|
|
648
|
-
typedef long long MPI_Offset;
|
|
649
|
-
#else
|
|
650
|
-
typedef __int64 MPI_Offset;
|
|
651
|
-
#endif
|
|
652
|
-
|
|
653
|
-
#ifdef MPICH_DEFINE_ATTR_TYPE_TYPES
|
|
654
|
-
static const MPI_Datatype mpich_mpi_offset MPICH_ATTR_TYPE_TAG(MPI_Offset) = MPI_OFFSET;
|
|
655
|
-
#endif
|
|
656
|
-
|
|
657
|
-
/* The order of these elements must match that in mpif.h, mpi_f08_types.f90,
|
|
658
|
-
and mpi_c_interface_types.f90 */
|
|
659
|
-
typedef struct MPI_Status {
|
|
660
|
-
int count_lo;
|
|
661
|
-
int count_hi_and_cancelled;
|
|
662
|
-
int MPI_SOURCE;
|
|
663
|
-
int MPI_TAG;
|
|
664
|
-
int MPI_ERROR;
|
|
665
|
-
} MPI_Status;
|
|
666
|
-
|
|
667
|
-
/* types for the MPI_T_ interface */
|
|
668
|
-
struct MPIR_T_enum_s;
|
|
669
|
-
struct MPIR_T_cvar_handle_s;
|
|
670
|
-
struct MPIR_T_pvar_handle_s;
|
|
671
|
-
struct MPIR_T_pvar_session_s;
|
|
672
|
-
struct MPIR_T_event_registration_s;
|
|
673
|
-
struct MPIR_T_event_instance_s;
|
|
674
|
-
|
|
675
|
-
typedef struct MPIR_T_enum_s * MPI_T_enum;
|
|
676
|
-
typedef struct MPIR_T_cvar_handle_s * MPI_T_cvar_handle;
|
|
677
|
-
typedef struct MPIR_T_pvar_handle_s * MPI_T_pvar_handle;
|
|
678
|
-
typedef struct MPIR_T_pvar_session_s * MPI_T_pvar_session;
|
|
679
|
-
typedef struct MPIR_T_event_registration_s * MPI_T_event_registration;
|
|
680
|
-
typedef struct MPIR_T_event_instance_s * MPI_T_event_instance;
|
|
681
|
-
|
|
682
|
-
/* extra const at front would be safer, but is incompatible with MPI_T_ prototypes */
|
|
683
|
-
extern MPIU_DLL_SPEC struct MPIR_T_pvar_handle_s * const MPI_T_PVAR_ALL_HANDLES MPICH_API_PUBLIC;
|
|
684
|
-
|
|
685
|
-
#define MPI_T_ENUM_NULL ((MPI_T_enum)NULL)
|
|
686
|
-
#define MPI_T_CVAR_HANDLE_NULL ((MPI_T_cvar_handle)NULL)
|
|
687
|
-
#define MPI_T_PVAR_HANDLE_NULL ((MPI_T_pvar_handle)NULL)
|
|
688
|
-
#define MPI_T_PVAR_SESSION_NULL ((MPI_T_pvar_session)NULL)
|
|
689
|
-
|
|
690
|
-
/* the MPI_T_ interface requires that these VERBOSITY constants occur in this
|
|
691
|
-
* relative order with increasing values */
|
|
692
|
-
typedef enum MPIR_T_verbosity_t {
|
|
693
|
-
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
694
|
-
* extension */
|
|
695
|
-
MPIX_T_VERBOSITY_INVALID = 0,
|
|
696
|
-
|
|
697
|
-
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
698
|
-
MPI_T_VERBOSITY_USER_BASIC = 221,
|
|
699
|
-
MPI_T_VERBOSITY_USER_DETAIL,
|
|
700
|
-
MPI_T_VERBOSITY_USER_ALL,
|
|
701
|
-
|
|
702
|
-
MPI_T_VERBOSITY_TUNER_BASIC,
|
|
703
|
-
MPI_T_VERBOSITY_TUNER_DETAIL,
|
|
704
|
-
MPI_T_VERBOSITY_TUNER_ALL,
|
|
705
|
-
|
|
706
|
-
MPI_T_VERBOSITY_MPIDEV_BASIC,
|
|
707
|
-
MPI_T_VERBOSITY_MPIDEV_DETAIL,
|
|
708
|
-
MPI_T_VERBOSITY_MPIDEV_ALL
|
|
709
|
-
} MPIR_T_verbosity_t;
|
|
710
|
-
|
|
711
|
-
typedef enum MPIR_T_bind_t {
|
|
712
|
-
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
713
|
-
* extension */
|
|
714
|
-
MPIX_T_BIND_INVALID = 0,
|
|
715
|
-
|
|
716
|
-
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
717
|
-
MPI_T_BIND_NO_OBJECT = 9700,
|
|
718
|
-
MPI_T_BIND_MPI_COMM,
|
|
719
|
-
MPI_T_BIND_MPI_DATATYPE,
|
|
720
|
-
MPI_T_BIND_MPI_ERRHANDLER,
|
|
721
|
-
MPI_T_BIND_MPI_FILE,
|
|
722
|
-
MPI_T_BIND_MPI_GROUP,
|
|
723
|
-
MPI_T_BIND_MPI_OP,
|
|
724
|
-
MPI_T_BIND_MPI_REQUEST,
|
|
725
|
-
MPI_T_BIND_MPI_WIN,
|
|
726
|
-
MPI_T_BIND_MPI_MESSAGE,
|
|
727
|
-
MPI_T_BIND_MPI_INFO
|
|
728
|
-
} MPIR_T_bind_t;
|
|
729
|
-
|
|
730
|
-
typedef enum MPIR_T_scope_t {
|
|
731
|
-
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
732
|
-
* extension */
|
|
733
|
-
MPIX_T_SCOPE_INVALID = 0,
|
|
734
|
-
|
|
735
|
-
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
736
|
-
MPI_T_SCOPE_CONSTANT = 60438,
|
|
737
|
-
MPI_T_SCOPE_READONLY,
|
|
738
|
-
MPI_T_SCOPE_LOCAL,
|
|
739
|
-
MPI_T_SCOPE_GROUP,
|
|
740
|
-
MPI_T_SCOPE_GROUP_EQ,
|
|
741
|
-
MPI_T_SCOPE_ALL,
|
|
742
|
-
MPI_T_SCOPE_ALL_EQ
|
|
743
|
-
} MPIR_T_scope_t;
|
|
744
|
-
|
|
745
|
-
typedef enum MPIR_T_pvar_class_t {
|
|
746
|
-
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
747
|
-
* extension */
|
|
748
|
-
MPIX_T_PVAR_CLASS_INVALID = 0,
|
|
749
|
-
|
|
750
|
-
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
751
|
-
MPIR_T_PVAR_CLASS_FIRST = 240,
|
|
752
|
-
MPI_T_PVAR_CLASS_STATE = MPIR_T_PVAR_CLASS_FIRST,
|
|
753
|
-
MPI_T_PVAR_CLASS_LEVEL,
|
|
754
|
-
MPI_T_PVAR_CLASS_SIZE,
|
|
755
|
-
MPI_T_PVAR_CLASS_PERCENTAGE,
|
|
756
|
-
MPI_T_PVAR_CLASS_HIGHWATERMARK,
|
|
757
|
-
MPI_T_PVAR_CLASS_LOWWATERMARK,
|
|
758
|
-
MPI_T_PVAR_CLASS_COUNTER,
|
|
759
|
-
MPI_T_PVAR_CLASS_AGGREGATE,
|
|
760
|
-
MPI_T_PVAR_CLASS_TIMER,
|
|
761
|
-
MPI_T_PVAR_CLASS_GENERIC,
|
|
762
|
-
MPIR_T_PVAR_CLASS_LAST,
|
|
763
|
-
MPIR_T_PVAR_CLASS_NUMBER = MPIR_T_PVAR_CLASS_LAST - MPIR_T_PVAR_CLASS_FIRST
|
|
764
|
-
} MPIR_T_pvar_class_t;
|
|
765
|
-
|
|
766
|
-
typedef enum MPI_T_cb_safety {
|
|
767
|
-
MPI_T_CB_REQUIRE_NONE = 0,
|
|
768
|
-
MPI_T_CB_REQUIRE_MPI_RESTRICTED,
|
|
769
|
-
MPI_T_CB_REQUIRE_THREAD_SAFE,
|
|
770
|
-
MPI_T_CB_REQUIRE_ASYNC_SIGNAL_SAFE
|
|
771
|
-
} MPI_T_cb_safety;
|
|
772
|
-
|
|
773
|
-
typedef enum MPI_T_source_order {
|
|
774
|
-
MPI_T_SOURCE_ORDERED = 0,
|
|
775
|
-
MPI_T_SOURCE_UNORDERED
|
|
776
|
-
} MPI_T_source_order;
|
|
777
|
-
|
|
778
|
-
typedef void (MPI_T_event_cb_function)(MPI_T_event_instance event_instance, MPI_T_event_registration event_registration, MPI_T_cb_safety cb_safety, void *user_data);
|
|
779
|
-
typedef void (MPI_T_event_free_cb_function)(MPI_T_event_registration event_registration, MPI_T_cb_safety cb_safety, void *user_data);
|
|
780
|
-
typedef void (MPI_T_event_dropped_cb_function)(int count, MPI_T_event_registration event_registration, int source_index, MPI_T_cb_safety cb_safety, void *user_data);
|
|
781
|
-
|
|
782
|
-
/* Handle conversion types/functions */
|
|
783
|
-
|
|
784
|
-
/* Programs that need to convert types used in MPICH should use these */
|
|
785
|
-
#define MPI_Comm_c2f(comm) (MPI_Fint)(comm)
|
|
786
|
-
#define MPI_Comm_f2c(comm) (MPI_Comm)(comm)
|
|
787
|
-
#define MPI_Type_c2f(datatype) (MPI_Fint)(datatype)
|
|
788
|
-
#define MPI_Type_f2c(datatype) (MPI_Datatype)(datatype)
|
|
789
|
-
#define MPI_Group_c2f(group) (MPI_Fint)(group)
|
|
790
|
-
#define MPI_Group_f2c(group) (MPI_Group)(group)
|
|
791
|
-
#define MPI_Info_c2f(info) (MPI_Fint)(info)
|
|
792
|
-
#define MPI_Info_f2c(info) (MPI_Info)(info)
|
|
793
|
-
#define MPI_Request_f2c(request) (MPI_Request)(request)
|
|
794
|
-
#define MPI_Request_c2f(request) (MPI_Fint)(request)
|
|
795
|
-
#define MPI_Op_c2f(op) (MPI_Fint)(op)
|
|
796
|
-
#define MPI_Op_f2c(op) (MPI_Op)(op)
|
|
797
|
-
#define MPI_Errhandler_c2f(errhandler) (MPI_Fint)(errhandler)
|
|
798
|
-
#define MPI_Errhandler_f2c(errhandler) (MPI_Errhandler)(errhandler)
|
|
799
|
-
#define MPI_Win_c2f(win) (MPI_Fint)(win)
|
|
800
|
-
#define MPI_Win_f2c(win) (MPI_Win)(win)
|
|
801
|
-
#define MPI_Message_c2f(msg) ((MPI_Fint)(msg))
|
|
802
|
-
#define MPI_Message_f2c(msg) ((MPI_Message)(msg))
|
|
803
|
-
#define MPI_Session_c2f(session) (MPI_Fint)(session)
|
|
804
|
-
#define MPI_Session_f2c(session) (MPI_Session)(session)
|
|
805
|
-
|
|
806
|
-
/* PMPI versions of the handle transfer functions. See section 4.17 */
|
|
807
|
-
#define PMPI_Comm_c2f(comm) (MPI_Fint)(comm)
|
|
808
|
-
#define PMPI_Comm_f2c(comm) (MPI_Comm)(comm)
|
|
809
|
-
#define PMPI_Type_c2f(datatype) (MPI_Fint)(datatype)
|
|
810
|
-
#define PMPI_Type_f2c(datatype) (MPI_Datatype)(datatype)
|
|
811
|
-
#define PMPI_Group_c2f(group) (MPI_Fint)(group)
|
|
812
|
-
#define PMPI_Group_f2c(group) (MPI_Group)(group)
|
|
813
|
-
#define PMPI_Info_c2f(info) (MPI_Fint)(info)
|
|
814
|
-
#define PMPI_Info_f2c(info) (MPI_Info)(info)
|
|
815
|
-
#define PMPI_Request_f2c(request) (MPI_Request)(request)
|
|
816
|
-
#define PMPI_Request_c2f(request) (MPI_Fint)(request)
|
|
817
|
-
#define PMPI_Op_c2f(op) (MPI_Fint)(op)
|
|
818
|
-
#define PMPI_Op_f2c(op) (MPI_Op)(op)
|
|
819
|
-
#define PMPI_Errhandler_c2f(errhandler) (MPI_Fint)(errhandler)
|
|
820
|
-
#define PMPI_Errhandler_f2c(errhandler) (MPI_Errhandler)(errhandler)
|
|
821
|
-
#define PMPI_Win_c2f(win) (MPI_Fint)(win)
|
|
822
|
-
#define PMPI_Win_f2c(win) (MPI_Win)(win)
|
|
823
|
-
#define PMPI_Message_c2f(msg) ((MPI_Fint)(msg))
|
|
824
|
-
#define PMPI_Message_f2c(msg) ((MPI_Message)(msg))
|
|
825
|
-
#define PMPI_Session_c2f(session) (MPI_Fint)(session)
|
|
826
|
-
#define PMPI_Session_f2c(session) (MPI_Session)(session)
|
|
827
|
-
|
|
828
|
-
#define MPI_STATUS_IGNORE (MPI_Status *)1
|
|
829
|
-
#define MPI_STATUSES_IGNORE (MPI_Status *)1
|
|
830
|
-
#define MPI_ERRCODES_IGNORE (int *)0
|
|
635
|
+
/* Results of the compare operations. */
|
|
636
|
+
#define MPI_IDENT 0
|
|
637
|
+
#define MPI_CONGRUENT 1
|
|
638
|
+
#define MPI_SIMILAR 2
|
|
639
|
+
#define MPI_UNEQUAL 3
|
|
831
640
|
|
|
832
|
-
/*
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
as a hook for systems that require C extensions to correctly construct
|
|
837
|
-
DLLs, and is defined as an empty string otherwise
|
|
838
|
-
*/
|
|
641
|
+
/* typeclasses */
|
|
642
|
+
#define MPI_TYPECLASS_REAL 1
|
|
643
|
+
#define MPI_TYPECLASS_INTEGER 2
|
|
644
|
+
#define MPI_TYPECLASS_COMPLEX 3
|
|
839
645
|
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
#define MPI_ARGV_NULL (char **)0
|
|
843
|
-
#define MPI_ARGVS_NULL (char ***)0
|
|
646
|
+
#define MPI_LOCK_EXCLUSIVE 234
|
|
647
|
+
#define MPI_LOCK_SHARED 235
|
|
844
648
|
|
|
845
|
-
/*
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
649
|
+
/* for the datatype decoders */
|
|
650
|
+
enum MPIR_Combiner_enum {
|
|
651
|
+
MPI_COMBINER_NAMED = 1,
|
|
652
|
+
MPI_COMBINER_DUP = 2,
|
|
653
|
+
MPI_COMBINER_CONTIGUOUS = 3,
|
|
654
|
+
MPI_COMBINER_VECTOR = 4,
|
|
655
|
+
MPI_COMBINER_HVECTOR_INTEGER = 5,
|
|
656
|
+
MPI_COMBINER_HVECTOR = 6,
|
|
657
|
+
MPI_COMBINER_INDEXED = 7,
|
|
658
|
+
MPI_COMBINER_HINDEXED_INTEGER = 8,
|
|
659
|
+
MPI_COMBINER_HINDEXED = 9,
|
|
660
|
+
MPI_COMBINER_INDEXED_BLOCK = 10,
|
|
661
|
+
MPI_COMBINER_STRUCT_INTEGER = 11,
|
|
662
|
+
MPI_COMBINER_STRUCT = 12,
|
|
663
|
+
MPI_COMBINER_SUBARRAY = 13,
|
|
664
|
+
MPI_COMBINER_DARRAY = 14,
|
|
665
|
+
MPI_COMBINER_F90_REAL = 15,
|
|
666
|
+
MPI_COMBINER_F90_COMPLEX = 16,
|
|
667
|
+
MPI_COMBINER_F90_INTEGER = 17,
|
|
668
|
+
MPI_COMBINER_RESIZED = 18,
|
|
669
|
+
MPI_COMBINER_HINDEXED_BLOCK = 19,
|
|
670
|
+
MPI_COMBINER_VALUE_INDEX = 20
|
|
671
|
+
};
|
|
855
672
|
|
|
856
|
-
/*
|
|
857
|
-
#define
|
|
858
|
-
#define
|
|
859
|
-
#define
|
|
860
|
-
#define
|
|
673
|
+
/* for subarray and darray constructors */
|
|
674
|
+
#define MPI_ORDER_C 56
|
|
675
|
+
#define MPI_ORDER_FORTRAN 57
|
|
676
|
+
#define MPI_DISTRIBUTE_BLOCK 121
|
|
677
|
+
#define MPI_DISTRIBUTE_CYCLIC 122
|
|
678
|
+
#define MPI_DISTRIBUTE_NONE 123
|
|
679
|
+
#define MPI_DISTRIBUTE_DFLT_DARG -49767
|
|
861
680
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
681
|
+
/* asserts for one-sided communication */
|
|
682
|
+
#define MPI_MODE_NOCHECK 1024
|
|
683
|
+
#define MPI_MODE_NOSTORE 2048
|
|
684
|
+
#define MPI_MODE_NOPUT 4096
|
|
685
|
+
#define MPI_MODE_NOPRECEDE 8192
|
|
686
|
+
#define MPI_MODE_NOSUCCEED 16384
|
|
866
687
|
|
|
867
|
-
/*
|
|
868
|
-
|
|
869
|
-
|
|
688
|
+
/* predefined types for MPI_Comm_split_type */
|
|
689
|
+
#define MPI_COMM_TYPE_SHARED 1
|
|
690
|
+
#define MPI_COMM_TYPE_HW_GUIDED 2
|
|
691
|
+
#define MPI_COMM_TYPE_HW_UNGUIDED 3
|
|
692
|
+
#define MPI_COMM_TYPE_RESOURCE_GUIDED 4
|
|
693
|
+
|
|
694
|
+
#endif /* BUILD_MPI_ABI */
|
|
695
|
+
/* MPICH-specific types */
|
|
696
|
+
#define MPIX_COMM_TYPE_NEIGHBORHOOD 5
|
|
697
|
+
#ifndef BUILD_MPI_ABI
|
|
870
698
|
|
|
871
699
|
/* For supported thread levels */
|
|
872
700
|
#define MPI_THREAD_SINGLE 0
|
|
@@ -874,12 +702,20 @@ extern MPIU_DLL_SPEC MPI_F08_status *MPI_F08_STATUSES_IGNORE MPICH_API_PUBLIC;
|
|
|
874
702
|
#define MPI_THREAD_SERIALIZED 2
|
|
875
703
|
#define MPI_THREAD_MULTIPLE 3
|
|
876
704
|
|
|
877
|
-
/*
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
705
|
+
/* MPI-IO constants */
|
|
706
|
+
#define MPI_MODE_RDONLY 2 /* ADIO_RDONLY */
|
|
707
|
+
#define MPI_MODE_RDWR 8 /* ADIO_RDWR */
|
|
708
|
+
#define MPI_MODE_WRONLY 4 /* ADIO_WRONLY */
|
|
709
|
+
#define MPI_MODE_CREATE 1 /* ADIO_CREATE */
|
|
710
|
+
#define MPI_MODE_EXCL 64 /* ADIO_EXCL */
|
|
711
|
+
#define MPI_MODE_DELETE_ON_CLOSE 16 /* ADIO_DELETE_ON_CLOSE */
|
|
712
|
+
#define MPI_MODE_UNIQUE_OPEN 32 /* ADIO_UNIQUE_OPEN */
|
|
713
|
+
#define MPI_MODE_APPEND 128 /* ADIO_APPEND */
|
|
714
|
+
#define MPI_MODE_SEQUENTIAL 256 /* ADIO_SEQUENTIAL */
|
|
715
|
+
|
|
716
|
+
#define MPI_SEEK_SET 600
|
|
717
|
+
#define MPI_SEEK_CUR 602
|
|
718
|
+
#define MPI_SEEK_END 604
|
|
883
719
|
|
|
884
720
|
/* MPI's error classes */
|
|
885
721
|
#define MPI_SUCCESS 0 /* Successful return code */
|
|
@@ -951,7 +787,7 @@ typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
|
|
|
951
787
|
#define MPI_ERR_LOCKTYPE 47 /* */
|
|
952
788
|
#define MPI_ERR_KEYVAL 48 /* Erroneous attribute key */
|
|
953
789
|
#define MPI_ERR_RMA_CONFLICT 49 /* */
|
|
954
|
-
#define MPI_ERR_RMA_SYNC 50 /* */
|
|
790
|
+
#define MPI_ERR_RMA_SYNC 50 /* */
|
|
955
791
|
#define MPI_ERR_SIZE 51 /* */
|
|
956
792
|
#define MPI_ERR_DISP 52 /* */
|
|
957
793
|
#define MPI_ERR_ASSERT 53 /* */
|
|
@@ -968,9 +804,8 @@ typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
|
|
|
968
804
|
be initialized */
|
|
969
805
|
#define MPI_T_ERR_INVALID_INDEX 62 /* The index is invalid or
|
|
970
806
|
has been deleted */
|
|
971
|
-
#define MPI_T_ERR_INVALID_ITEM 63 /*
|
|
972
|
-
|
|
973
|
-
MPI-4 will return MPI_T_ERR_INVALID_INDEX instead. */
|
|
807
|
+
#define MPI_T_ERR_INVALID_ITEM 63 /* Deprecated. If a queried item index is out of range,
|
|
808
|
+
* MPI-4 will return MPI_T_ERR_INVALID_INDEX instead. */
|
|
974
809
|
#define MPI_T_ERR_INVALID_HANDLE 64 /* The handle is invalid */
|
|
975
810
|
#define MPI_T_ERR_OUT_OF_HANDLES 65 /* No more handles available */
|
|
976
811
|
#define MPI_T_ERR_OUT_OF_SESSIONS 66 /* No more sessions available */
|
|
@@ -987,15 +822,21 @@ typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
|
|
|
987
822
|
#define MPI_ERR_SESSION 75 /* Invalid session handle */
|
|
988
823
|
#define MPI_ERR_PROC_ABORTED 76 /* Trying to communicate with aborted processes */
|
|
989
824
|
#define MPI_ERR_VALUE_TOO_LARGE 77 /* Value is too large to store */
|
|
825
|
+
|
|
990
826
|
#define MPI_T_ERR_NOT_SUPPORTED 78 /* Requested functionality not supported */
|
|
991
827
|
#define MPI_T_ERR_NOT_ACCESSIBLE 79 /* Requested functionality not accessible */
|
|
992
828
|
|
|
993
829
|
#define MPI_ERR_ERRHANDLER 80 /* Invalid errhandler handle */
|
|
994
|
-
|
|
830
|
+
|
|
831
|
+
#define MPI_ERR_ABI 81 /* Fortran ABI already set */
|
|
832
|
+
|
|
833
|
+
#define MPI_ERR_LASTCODE 0x3fffffff /* Last valid error code for a
|
|
995
834
|
predefined error class */
|
|
996
|
-
#
|
|
997
|
-
last valid class */
|
|
835
|
+
#endif /* BUILD_MPI_ABI */
|
|
998
836
|
|
|
837
|
+
|
|
838
|
+
#define MPICH_ERR_LAST_CLASS 81 /* It is also helpful to know the
|
|
839
|
+
last valid class */
|
|
999
840
|
#define MPICH_ERR_FIRST_MPIX 100 /* Define a gap here because sock is
|
|
1000
841
|
* already using some of the values in this
|
|
1001
842
|
* range. All MPIX error codes will be
|
|
@@ -1004,106 +845,271 @@ typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
|
|
|
1004
845
|
#define MPIX_ERR_PROC_FAILED MPICH_ERR_FIRST_MPIX+1 /* Process failure */
|
|
1005
846
|
#define MPIX_ERR_PROC_FAILED_PENDING MPICH_ERR_FIRST_MPIX+2 /* A failure has caused this request
|
|
1006
847
|
* to be pending */
|
|
1007
|
-
#define MPIX_ERR_REVOKED MPICH_ERR_FIRST_MPIX+3 /* The
|
|
848
|
+
#define MPIX_ERR_REVOKED MPICH_ERR_FIRST_MPIX+3 /* The communication object has been revoked */
|
|
1008
849
|
#define MPIX_ERR_EAGAIN MPICH_ERR_FIRST_MPIX+4 /* Operation could not be issued */
|
|
1009
850
|
#define MPIX_ERR_NOREQ MPICH_ERR_FIRST_MPIX+5 /* Cannot allocate request */
|
|
1010
851
|
|
|
1011
852
|
#define MPICH_ERR_LAST_MPIX MPICH_ERR_FIRST_MPIX+5
|
|
1012
853
|
|
|
1013
|
-
|
|
1014
854
|
/* End of MPI's error classes */
|
|
1015
855
|
|
|
856
|
+
/* GPU extensions */
|
|
857
|
+
#define MPIX_GPU_SUPPORT_CUDA (0)
|
|
858
|
+
#define MPIX_GPU_SUPPORT_ZE (1)
|
|
859
|
+
#define MPIX_GPU_SUPPORT_DEVICE_INITIATED (3)
|
|
860
|
+
|
|
861
|
+
/* feature advertisement */
|
|
862
|
+
#define MPIIMPL_ADVERTISES_FEATURES 1
|
|
863
|
+
#define MPIIMPL_HAVE_MPI_INFO 1
|
|
864
|
+
#define MPIIMPL_HAVE_MPI_COMBINER_DARRAY 1
|
|
865
|
+
#define MPIIMPL_HAVE_MPI_TYPE_CREATE_DARRAY 1
|
|
866
|
+
#define MPIIMPL_HAVE_MPI_COMBINER_SUBARRAY 1
|
|
867
|
+
#define MPIIMPL_HAVE_MPI_TYPE_CREATE_DARRAY 1
|
|
868
|
+
#define MPIIMPL_HAVE_MPI_COMBINER_DUP 1
|
|
869
|
+
#define MPIIMPL_HAVE_MPI_GREQUEST 1
|
|
870
|
+
#define MPIIMPL_HAVE_STATUS_SET_BYTES 1
|
|
871
|
+
#define MPIIMPL_HAVE_STATUS_SET_INFO 1
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
#ifndef BUILD_MPI_ABI
|
|
875
|
+
/* C callback functions */
|
|
876
|
+
typedef void (MPI_Handler_function) ( MPI_Comm *, int *, ... );
|
|
877
|
+
typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void *,
|
|
878
|
+
void *, int *);
|
|
879
|
+
typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *);
|
|
880
|
+
typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *, void *,
|
|
881
|
+
void *, int *);
|
|
882
|
+
typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int, void *, void *);
|
|
883
|
+
typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *, void *, void *,
|
|
884
|
+
int *);
|
|
885
|
+
typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *);
|
|
886
|
+
/* added in MPI-2.2 */
|
|
887
|
+
typedef void (MPI_Comm_errhandler_function)(MPI_Comm *, int *, ...);
|
|
888
|
+
typedef void (MPI_File_errhandler_function)(MPI_File *, int *, ...);
|
|
889
|
+
typedef void (MPI_Win_errhandler_function)(MPI_Win *, int *, ...);
|
|
890
|
+
typedef void (MPI_Session_errhandler_function)(MPI_Session *, int *, ...);
|
|
891
|
+
/* names that were added in MPI-2.0 and deprecated in MPI-2.2 */
|
|
892
|
+
typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn;
|
|
893
|
+
typedef MPI_File_errhandler_function MPI_File_errhandler_fn;
|
|
894
|
+
typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn;
|
|
895
|
+
typedef MPI_Session_errhandler_function MPI_Session_errhandler_fn;
|
|
896
|
+
|
|
897
|
+
/* MPI Attribute copy and delete functions */
|
|
898
|
+
typedef int (MPI_Copy_function) ( MPI_Comm, int, void *, void *, void *, int * );
|
|
899
|
+
typedef int (MPI_Delete_function) ( MPI_Comm, int, void *, void * );
|
|
900
|
+
|
|
901
|
+
/* User combination function */
|
|
902
|
+
typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * );
|
|
903
|
+
typedef void (MPI_User_function_c) ( void *, void *, MPI_Count *, MPI_Datatype * );
|
|
904
|
+
|
|
905
|
+
/* Typedefs for generalized requests */
|
|
906
|
+
typedef int (MPI_Grequest_cancel_function)(void *, int);
|
|
907
|
+
typedef int (MPI_Grequest_free_function)(void *);
|
|
908
|
+
typedef int (MPI_Grequest_query_function)(void *, MPI_Status *);
|
|
909
|
+
#endif /* BUILD_MPI_ABI */
|
|
910
|
+
typedef int (MPIX_Grequest_poll_function)(void *, MPI_Status *);
|
|
911
|
+
typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *);
|
|
912
|
+
#ifndef BUILD_MPI_ABI
|
|
913
|
+
|
|
1016
914
|
/* Function type defs */
|
|
1017
|
-
typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype, int,
|
|
915
|
+
typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype, int,
|
|
1018
916
|
void *, MPI_Offset, void *);
|
|
1019
917
|
typedef int (MPI_Datarep_extent_function)(MPI_Datatype datatype, MPI_Aint *,
|
|
1020
918
|
void *);
|
|
1021
|
-
#define MPI_CONVERSION_FN_NULL ((MPI_Datarep_conversion_function *)0)
|
|
1022
|
-
|
|
1023
919
|
typedef int (MPI_Datarep_conversion_function_c)(void *, MPI_Datatype, MPI_Count,
|
|
1024
920
|
void *, MPI_Offset, void *);
|
|
921
|
+
|
|
922
|
+
/* Make the C names for the dup function mixed case.
|
|
923
|
+
This is required for systems that use all uppercase names for Fortran
|
|
924
|
+
externals. */
|
|
925
|
+
/* MPI 1 names */
|
|
926
|
+
#define MPI_NULL_COPY_FN ((MPI_Copy_function *)0)
|
|
927
|
+
#define MPI_NULL_DELETE_FN ((MPI_Delete_function *)0)
|
|
928
|
+
#define MPI_DUP_FN MPIR_Dup_fn
|
|
929
|
+
/* MPI 2 names */
|
|
930
|
+
#define MPI_COMM_NULL_COPY_FN ((MPI_Comm_copy_attr_function*)0)
|
|
931
|
+
#define MPI_COMM_NULL_DELETE_FN ((MPI_Comm_delete_attr_function*)0)
|
|
932
|
+
#define MPI_COMM_DUP_FN ((MPI_Comm_copy_attr_function *)MPI_DUP_FN)
|
|
933
|
+
#define MPI_WIN_NULL_COPY_FN ((MPI_Win_copy_attr_function*)0)
|
|
934
|
+
#define MPI_WIN_NULL_DELETE_FN ((MPI_Win_delete_attr_function*)0)
|
|
935
|
+
#define MPI_WIN_DUP_FN ((MPI_Win_copy_attr_function*)MPI_DUP_FN)
|
|
936
|
+
#define MPI_TYPE_NULL_COPY_FN ((MPI_Type_copy_attr_function*)0)
|
|
937
|
+
#define MPI_TYPE_NULL_DELETE_FN ((MPI_Type_delete_attr_function*)0)
|
|
938
|
+
#define MPI_TYPE_DUP_FN ((MPI_Type_copy_attr_function*)MPI_DUP_FN)
|
|
939
|
+
|
|
940
|
+
#define MPI_CONVERSION_FN_NULL ((MPI_Datarep_conversion_function *)0)
|
|
1025
941
|
#define MPI_CONVERSION_FN_NULL_C ((MPI_Datarep_conversion_function_c *)0)
|
|
1026
942
|
|
|
1027
|
-
|
|
1028
|
-
void **storage_stack;
|
|
1029
|
-
} QMPI_Context;
|
|
943
|
+
#endif /* BUILD_MPI_ABI */
|
|
1030
944
|
|
|
1031
|
-
#
|
|
945
|
+
#ifndef BUILD_MPI_ABI
|
|
946
|
+
/* types for the MPI_T_ interface */
|
|
947
|
+
struct MPIR_T_enum_s;
|
|
948
|
+
struct MPIR_T_cvar_handle_s;
|
|
949
|
+
struct MPIR_T_pvar_handle_s;
|
|
950
|
+
struct MPIR_T_pvar_session_s;
|
|
951
|
+
struct MPIR_T_event_registration_s;
|
|
952
|
+
struct MPIR_T_event_instance_s;
|
|
1032
953
|
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
954
|
+
typedef struct MPIR_T_enum_s * MPI_T_enum;
|
|
955
|
+
typedef struct MPIR_T_cvar_handle_s * MPI_T_cvar_handle;
|
|
956
|
+
typedef struct MPIR_T_pvar_handle_s * MPI_T_pvar_handle;
|
|
957
|
+
typedef struct MPIR_T_pvar_session_s * MPI_T_pvar_session;
|
|
958
|
+
typedef struct MPIR_T_event_registration_s * MPI_T_event_registration;
|
|
959
|
+
typedef struct MPIR_T_event_instance_s * MPI_T_event_instance;
|
|
1039
960
|
|
|
1040
|
-
/*
|
|
1041
|
-
|
|
1042
|
-
* cases, we need to suppress the prototypes.
|
|
1043
|
-
*/
|
|
1044
|
-
#ifndef MPICH_SUPPRESS_PROTOTYPES
|
|
1045
|
-
/* We require that the C compiler support prototypes */
|
|
1046
|
-
/* Begin Prototypes */
|
|
1047
|
-
int MPI_DUP_FN(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in,
|
|
1048
|
-
void *attribute_val_out, int *flag) MPICH_API_PUBLIC;
|
|
961
|
+
/* extra const at front would be safer, but is incompatible with MPI_T_ prototypes */
|
|
962
|
+
extern MPIU_DLL_SPEC struct MPIR_T_pvar_handle_s * const MPI_T_PVAR_ALL_HANDLES MPICH_API_PUBLIC;
|
|
1049
963
|
|
|
1050
|
-
|
|
1051
|
-
|
|
964
|
+
#define MPI_T_ENUM_NULL ((MPI_T_enum)NULL)
|
|
965
|
+
#define MPI_T_CVAR_HANDLE_NULL ((MPI_T_cvar_handle)NULL)
|
|
966
|
+
#define MPI_T_PVAR_HANDLE_NULL ((MPI_T_pvar_handle)NULL)
|
|
967
|
+
#define MPI_T_PVAR_SESSION_NULL ((MPI_T_pvar_session)NULL)
|
|
968
|
+
|
|
969
|
+
/* the MPI_T_ interface requires that these VERBOSITY constants occur in this
|
|
970
|
+
* relative order with increasing values */
|
|
971
|
+
typedef enum MPIR_T_verbosity_t {
|
|
972
|
+
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
973
|
+
* extension */
|
|
974
|
+
MPI_T_VERBOSITY_INVALID = 0,
|
|
1052
975
|
|
|
1053
|
-
/*
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
int MPI_Type_create_f90_real(int precision, int range, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1058
|
-
int MPI_Type_create_f90_complex(int precision, int range, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
976
|
+
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
977
|
+
MPI_T_VERBOSITY_USER_BASIC = 221,
|
|
978
|
+
MPI_T_VERBOSITY_USER_DETAIL,
|
|
979
|
+
MPI_T_VERBOSITY_USER_ALL,
|
|
1059
980
|
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
/* Begin Skip Prototypes */
|
|
1064
|
-
/* End Skip Prototypes */
|
|
981
|
+
MPI_T_VERBOSITY_TUNER_BASIC,
|
|
982
|
+
MPI_T_VERBOSITY_TUNER_DETAIL,
|
|
983
|
+
MPI_T_VERBOSITY_TUNER_ALL,
|
|
1065
984
|
|
|
985
|
+
MPI_T_VERBOSITY_MPIDEV_BASIC,
|
|
986
|
+
MPI_T_VERBOSITY_MPIDEV_DETAIL,
|
|
987
|
+
MPI_T_VERBOSITY_MPIDEV_ALL
|
|
988
|
+
} MPIR_T_verbosity_t;
|
|
1066
989
|
|
|
1067
|
-
|
|
990
|
+
typedef enum MPIR_T_bind_t {
|
|
991
|
+
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
992
|
+
* extension */
|
|
993
|
+
MPI_T_BIND_INVALID = 0,
|
|
1068
994
|
|
|
995
|
+
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
996
|
+
MPI_T_BIND_NO_OBJECT = 9700,
|
|
997
|
+
MPI_T_BIND_MPI_COMM,
|
|
998
|
+
MPI_T_BIND_MPI_DATATYPE,
|
|
999
|
+
MPI_T_BIND_MPI_ERRHANDLER,
|
|
1000
|
+
MPI_T_BIND_MPI_FILE,
|
|
1001
|
+
MPI_T_BIND_MPI_GROUP,
|
|
1002
|
+
MPI_T_BIND_MPI_OP,
|
|
1003
|
+
MPI_T_BIND_MPI_REQUEST,
|
|
1004
|
+
MPI_T_BIND_MPI_WIN,
|
|
1005
|
+
MPI_T_BIND_MPI_MESSAGE,
|
|
1006
|
+
MPI_T_BIND_MPI_INFO,
|
|
1007
|
+
MPI_T_BIND_MPI_SESSION
|
|
1008
|
+
} MPIR_T_bind_t;
|
|
1069
1009
|
|
|
1070
|
-
|
|
1071
|
-
/*
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
int PMPI_Status_f2c(const MPI_Fint *f_status, MPI_Status *c_status) MPICH_API_PUBLIC;
|
|
1010
|
+
typedef enum MPIR_T_scope_t {
|
|
1011
|
+
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
1012
|
+
* extension */
|
|
1013
|
+
MPI_T_SCOPE_INVALID = 0,
|
|
1075
1014
|
|
|
1076
|
-
/*
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1015
|
+
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
1016
|
+
MPI_T_SCOPE_CONSTANT = 60438,
|
|
1017
|
+
MPI_T_SCOPE_READONLY,
|
|
1018
|
+
MPI_T_SCOPE_LOCAL,
|
|
1019
|
+
MPI_T_SCOPE_GROUP,
|
|
1020
|
+
MPI_T_SCOPE_GROUP_EQ,
|
|
1021
|
+
MPI_T_SCOPE_ALL,
|
|
1022
|
+
MPI_T_SCOPE_ALL_EQ
|
|
1023
|
+
} MPIR_T_scope_t;
|
|
1024
|
+
|
|
1025
|
+
typedef enum MPIR_T_pvar_class_t {
|
|
1026
|
+
/* don't name-shift this if/when MPI_T_ is accepted, this is an MPICH-only
|
|
1027
|
+
* extension */
|
|
1028
|
+
MPI_T_PVAR_CLASS_INVALID = 0,
|
|
1029
|
+
|
|
1030
|
+
/* arbitrarily shift values to aid debugging and reduce accidental errors */
|
|
1031
|
+
MPIR_T_PVAR_CLASS_FIRST = 240,
|
|
1032
|
+
MPI_T_PVAR_CLASS_STATE = MPIR_T_PVAR_CLASS_FIRST,
|
|
1033
|
+
MPI_T_PVAR_CLASS_LEVEL,
|
|
1034
|
+
MPI_T_PVAR_CLASS_SIZE,
|
|
1035
|
+
MPI_T_PVAR_CLASS_PERCENTAGE,
|
|
1036
|
+
MPI_T_PVAR_CLASS_HIGHWATERMARK,
|
|
1037
|
+
MPI_T_PVAR_CLASS_LOWWATERMARK,
|
|
1038
|
+
MPI_T_PVAR_CLASS_COUNTER,
|
|
1039
|
+
MPI_T_PVAR_CLASS_AGGREGATE,
|
|
1040
|
+
MPI_T_PVAR_CLASS_TIMER,
|
|
1041
|
+
MPI_T_PVAR_CLASS_GENERIC,
|
|
1042
|
+
MPIR_T_PVAR_CLASS_LAST,
|
|
1043
|
+
MPIR_T_PVAR_CLASS_NUMBER = MPIR_T_PVAR_CLASS_LAST - MPIR_T_PVAR_CLASS_FIRST
|
|
1044
|
+
} MPIR_T_pvar_class_t;
|
|
1045
|
+
|
|
1046
|
+
typedef enum MPI_T_cb_safety {
|
|
1047
|
+
MPI_T_CB_REQUIRE_NONE = 0,
|
|
1048
|
+
MPI_T_CB_REQUIRE_MPI_RESTRICTED,
|
|
1049
|
+
MPI_T_CB_REQUIRE_THREAD_SAFE,
|
|
1050
|
+
MPI_T_CB_REQUIRE_ASYNC_SIGNAL_SAFE
|
|
1051
|
+
} MPI_T_cb_safety;
|
|
1052
|
+
|
|
1053
|
+
typedef enum MPI_T_source_order {
|
|
1054
|
+
MPI_T_SOURCE_ORDERED = 0,
|
|
1055
|
+
MPI_T_SOURCE_UNORDERED
|
|
1056
|
+
} MPI_T_source_order;
|
|
1082
1057
|
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
/*
|
|
1058
|
+
typedef void (MPI_T_event_cb_function)(MPI_T_event_instance event_instance, MPI_T_event_registration event_registration, MPI_T_cb_safety cb_safety, void *user_data);
|
|
1059
|
+
typedef void (MPI_T_event_free_cb_function)(MPI_T_event_registration event_registration, MPI_T_cb_safety cb_safety, void *user_data);
|
|
1060
|
+
typedef void (MPI_T_event_dropped_cb_function)(MPI_Count count, MPI_T_event_registration event_registration, int source_index, MPI_T_cb_safety cb_safety, void *user_data);
|
|
1061
|
+
|
|
1062
|
+
/*
|
|
1063
|
+
* Normally, we provide prototypes for all MPI routines. In a few weird
|
|
1064
|
+
* cases, we need to suppress the prototypes.
|
|
1065
|
+
*/
|
|
1066
|
+
/* We require that the C compiler support prototypes */
|
|
1067
|
+
/* Begin Prototypes */
|
|
1088
1068
|
|
|
1089
|
-
|
|
1069
|
+
int MPI_DUP_FN(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in,
|
|
1070
|
+
void *attribute_val_out, int *flag) MPICH_API_PUBLIC;
|
|
1090
1071
|
|
|
1091
1072
|
|
|
1092
1073
|
#ifndef MPICH_SUPPRESS_PROTOTYPES
|
|
1093
|
-
int
|
|
1094
|
-
|
|
1095
|
-
int
|
|
1074
|
+
int MPI_DUP_FN(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in,
|
|
1075
|
+
void *attribute_val_out, int *flag) MPICH_API_PUBLIC;
|
|
1076
|
+
int MPI_Abi_get_fortran_info(MPI_Info *info) MPICH_API_PUBLIC;
|
|
1077
|
+
int MPI_Abi_get_info(MPI_Info *info) MPICH_API_PUBLIC;
|
|
1078
|
+
int MPI_Abi_get_version(int *abi_major, int *abi_minor) MPICH_API_PUBLIC;
|
|
1079
|
+
int MPI_Comm_toint(MPI_Comm comm) MPICH_API_PUBLIC;
|
|
1080
|
+
MPI_Comm MPI_Comm_fromint(int comm) MPICH_API_PUBLIC;
|
|
1081
|
+
int MPI_Errhandler_toint(MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1082
|
+
MPI_Errhandler MPI_Errhandler_fromint(int errhandler) MPICH_API_PUBLIC;
|
|
1083
|
+
int MPI_Group_toint(MPI_Group group) MPICH_API_PUBLIC;
|
|
1084
|
+
MPI_Group MPI_Group_fromint(int group) MPICH_API_PUBLIC;
|
|
1085
|
+
int MPI_Info_toint(MPI_Info info) MPICH_API_PUBLIC;
|
|
1086
|
+
MPI_Info MPI_Info_fromint(int info) MPICH_API_PUBLIC;
|
|
1087
|
+
int MPI_Message_toint(MPI_Message message) MPICH_API_PUBLIC;
|
|
1088
|
+
MPI_Message MPI_Message_fromint(int message) MPICH_API_PUBLIC;
|
|
1089
|
+
int MPI_Op_toint(MPI_Op op) MPICH_API_PUBLIC;
|
|
1090
|
+
MPI_Op MPI_Op_fromint(int op) MPICH_API_PUBLIC;
|
|
1091
|
+
int MPI_Request_toint(MPI_Request request) MPICH_API_PUBLIC;
|
|
1092
|
+
MPI_Request MPI_Request_fromint(int request) MPICH_API_PUBLIC;
|
|
1093
|
+
int MPI_Session_toint(MPI_Session session) MPICH_API_PUBLIC;
|
|
1094
|
+
MPI_Session MPI_Session_fromint(int session) MPICH_API_PUBLIC;
|
|
1095
|
+
int MPI_Type_toint(MPI_Datatype datatype) MPICH_API_PUBLIC;
|
|
1096
|
+
MPI_Datatype MPI_Type_fromint(int datatype) MPICH_API_PUBLIC;
|
|
1097
|
+
int MPI_Win_toint(MPI_Win win) MPICH_API_PUBLIC;
|
|
1098
|
+
MPI_Win MPI_Win_fromint(int win) MPICH_API_PUBLIC;
|
|
1096
1099
|
int MPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn,
|
|
1097
1100
|
MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval,
|
|
1098
1101
|
void *extra_state) MPICH_API_PUBLIC;
|
|
1102
|
+
int MPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval,
|
|
1103
|
+
void *extra_state) MPICH_API_PUBLIC;
|
|
1099
1104
|
int MPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval) MPICH_API_PUBLIC;
|
|
1105
|
+
int MPI_Attr_delete(MPI_Comm comm, int keyval) MPICH_API_PUBLIC;
|
|
1100
1106
|
int MPI_Comm_free_keyval(int *comm_keyval) MPICH_API_PUBLIC;
|
|
1107
|
+
int MPI_Keyval_free(int *keyval) MPICH_API_PUBLIC;
|
|
1101
1108
|
int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag)
|
|
1102
1109
|
MPICH_API_PUBLIC;
|
|
1110
|
+
int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) MPICH_API_PUBLIC;
|
|
1103
1111
|
int MPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val) MPICH_API_PUBLIC;
|
|
1104
|
-
int
|
|
1105
|
-
void *extra_state) MPICH_API_PUBLIC;
|
|
1106
|
-
int MPI_Keyval_free(int *keyval) MPICH_API_PUBLIC;
|
|
1112
|
+
int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) MPICH_API_PUBLIC;
|
|
1107
1113
|
int MPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn,
|
|
1108
1114
|
MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval,
|
|
1109
1115
|
void *extra_state) MPICH_API_PUBLIC;
|
|
@@ -1394,6 +1400,7 @@ int MPIX_Comm_failure_get_acked(MPI_Comm comm, MPI_Group *failedgrp) MPICH_API_P
|
|
|
1394
1400
|
int MPIX_Comm_agree(MPI_Comm comm, int *flag) MPICH_API_PUBLIC;
|
|
1395
1401
|
int MPIX_Comm_get_failed(MPI_Comm comm, MPI_Group *failedgrp) MPICH_API_PUBLIC;
|
|
1396
1402
|
int MPI_Get_address(const void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
1403
|
+
int MPI_Address(void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
1397
1404
|
int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count) MPICH_API_PUBLIC;
|
|
1398
1405
|
int MPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype, int *count) MPICH_API_PUBLIC;
|
|
1399
1406
|
int MPI_Get_elements_x(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count)
|
|
@@ -1414,14 +1421,21 @@ int MPI_Type_create_darray(int size, int rank, int ndims, const int array_of_gsi
|
|
|
1414
1421
|
const int array_of_distribs[], const int array_of_dargs[],
|
|
1415
1422
|
const int array_of_psizes[], int order, MPI_Datatype oldtype,
|
|
1416
1423
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1424
|
+
int MPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1425
|
+
int MPI_Type_create_f90_integer(int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1426
|
+
int MPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1417
1427
|
int MPI_Type_create_hindexed(int count, const int array_of_blocklengths[],
|
|
1418
1428
|
const MPI_Aint array_of_displacements[], MPI_Datatype oldtype,
|
|
1419
1429
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1430
|
+
int MPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
1431
|
+
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1420
1432
|
int MPI_Type_create_hindexed_block(int count, int blocklength,
|
|
1421
1433
|
const MPI_Aint array_of_displacements[], MPI_Datatype oldtype,
|
|
1422
1434
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1423
1435
|
int MPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype,
|
|
1424
1436
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1437
|
+
int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype,
|
|
1438
|
+
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1425
1439
|
int MPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[],
|
|
1426
1440
|
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1427
1441
|
int MPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent,
|
|
@@ -1430,6 +1444,8 @@ int MPI_Type_create_struct(int count, const int array_of_blocklengths[],
|
|
|
1430
1444
|
const MPI_Aint array_of_displacements[],
|
|
1431
1445
|
const MPI_Datatype array_of_types[], MPI_Datatype *newtype)
|
|
1432
1446
|
MPICH_API_PUBLIC;
|
|
1447
|
+
int MPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
1448
|
+
MPI_Datatype array_of_types[], MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1433
1449
|
int MPI_Type_create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[],
|
|
1434
1450
|
const int array_of_starts[], int order, MPI_Datatype oldtype,
|
|
1435
1451
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
@@ -1464,24 +1480,21 @@ int MPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int o
|
|
|
1464
1480
|
int MPI_Unpack_external(const char datarep[], const void *inbuf, MPI_Aint insize,
|
|
1465
1481
|
MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype)
|
|
1466
1482
|
MPICH_API_PUBLIC;
|
|
1467
|
-
int MPI_Address(void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
1468
1483
|
int MPI_Type_extent(MPI_Datatype datatype, MPI_Aint *extent) MPICH_API_PUBLIC;
|
|
1469
1484
|
int MPI_Type_lb(MPI_Datatype datatype, MPI_Aint *displacement) MPICH_API_PUBLIC;
|
|
1470
1485
|
int MPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement) MPICH_API_PUBLIC;
|
|
1471
|
-
int MPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
1472
|
-
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1473
|
-
int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype,
|
|
1474
|
-
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1475
|
-
int MPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
1476
|
-
MPI_Datatype array_of_types[], MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
1477
1486
|
int MPI_Add_error_class(int *errorclass) MPICH_API_PUBLIC;
|
|
1478
1487
|
int MPI_Add_error_code(int errorclass, int *errorcode) MPICH_API_PUBLIC;
|
|
1479
1488
|
int MPI_Add_error_string(int errorcode, const char *string) MPICH_API_PUBLIC;
|
|
1480
1489
|
int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode) MPICH_API_PUBLIC;
|
|
1481
1490
|
int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
1482
1491
|
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1492
|
+
int MPI_Errhandler_create(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
1493
|
+
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1483
1494
|
int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1495
|
+
int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1484
1496
|
int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1497
|
+
int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1485
1498
|
int MPI_Errhandler_free(MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1486
1499
|
int MPI_Error_class(int errorcode, int *errorclass) MPICH_API_PUBLIC;
|
|
1487
1500
|
int MPI_Error_string(int errorcode, char *string, int *resultlen) MPICH_API_PUBLIC;
|
|
@@ -1493,15 +1506,16 @@ int MPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler) MPICH_API_
|
|
|
1493
1506
|
int MPI_Remove_error_class(int errorclass) MPICH_API_PUBLIC;
|
|
1494
1507
|
int MPI_Remove_error_code(int errorcode) MPICH_API_PUBLIC;
|
|
1495
1508
|
int MPI_Remove_error_string(int errorcode) MPICH_API_PUBLIC;
|
|
1509
|
+
int MPI_Session_call_errhandler(MPI_Session session, int errorcode) MPICH_API_PUBLIC;
|
|
1510
|
+
int MPI_Session_create_errhandler(MPI_Session_errhandler_function *session_errhandler_fn,
|
|
1511
|
+
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1512
|
+
int MPI_Session_get_errhandler(MPI_Session session, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1513
|
+
int MPI_Session_set_errhandler(MPI_Session session, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1496
1514
|
int MPI_Win_call_errhandler(MPI_Win win, int errorcode) MPICH_API_PUBLIC;
|
|
1497
1515
|
int MPI_Win_create_errhandler(MPI_Win_errhandler_function *win_errhandler_fn,
|
|
1498
1516
|
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1499
1517
|
int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1500
1518
|
int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1501
|
-
int MPI_Errhandler_create(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
1502
|
-
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1503
|
-
int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1504
|
-
int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1505
1519
|
int MPIX_GPU_query_support(int gpu_type, int *is_supported) MPICH_API_PUBLIC;
|
|
1506
1520
|
int MPIX_Query_cuda_support(void) MPICH_API_PUBLIC;
|
|
1507
1521
|
int MPIX_Query_ze_support(void) MPICH_API_PUBLIC;
|
|
@@ -1521,9 +1535,11 @@ int MPIX_Put_notify(const void *origin_addr, int origin_count, MPI_Datatype orig
|
|
|
1521
1535
|
int target_rank, MPI_Aint target_disp, int target_count,
|
|
1522
1536
|
MPI_Datatype target_datatype, int notification_idx, MPI_Win win)
|
|
1523
1537
|
MPICH_ATTR_POINTER_WITH_TYPE_TAG(1,3) MPICH_API_PUBLIC;
|
|
1538
|
+
int MPI_Status_c2f(const MPI_Status *c_status, MPI_Fint *f_status) MPICH_API_PUBLIC;
|
|
1524
1539
|
int MPI_Status_c2f08(const MPI_Status *c_status, MPI_F08_status *f08_status) MPICH_API_PUBLIC;
|
|
1525
1540
|
int MPI_Status_f082c(const MPI_F08_status *f08_status, MPI_Status *c_status) MPICH_API_PUBLIC;
|
|
1526
1541
|
int MPI_Status_f082f(const MPI_F08_status *f08_status, MPI_Fint *f_status) MPICH_API_PUBLIC;
|
|
1542
|
+
int MPI_Status_f2c(const MPI_Fint *f_status, MPI_Status *c_status) MPICH_API_PUBLIC;
|
|
1527
1543
|
int MPI_Status_f2f08(const MPI_Fint *f_status, MPI_F08_status *f08_status) MPICH_API_PUBLIC;
|
|
1528
1544
|
int MPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result) MPICH_API_PUBLIC;
|
|
1529
1545
|
int MPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup) MPICH_API_PUBLIC;
|
|
@@ -1558,13 +1574,27 @@ int MPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *fl
|
|
|
1558
1574
|
MPICH_API_PUBLIC;
|
|
1559
1575
|
int MPI_Info_set(MPI_Info info, const char *key, const char *value) MPICH_API_PUBLIC;
|
|
1560
1576
|
int MPI_Abort(MPI_Comm comm, int errorcode) MPICH_API_PUBLIC;
|
|
1577
|
+
int MPI_Comm_create_from_group(MPI_Group group, const char *stringtag, MPI_Info info,
|
|
1578
|
+
MPI_Errhandler errhandler, MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
1561
1579
|
int MPI_Finalize(void) MPICH_API_PUBLIC;
|
|
1562
1580
|
int MPI_Finalized(int *flag) MPICH_API_PUBLIC;
|
|
1581
|
+
int MPI_Group_from_session_pset(MPI_Session session, const char *pset_name, MPI_Group *newgroup)
|
|
1582
|
+
MPICH_API_PUBLIC;
|
|
1563
1583
|
int MPI_Init(int *argc, char ***argv) MPICH_API_PUBLIC;
|
|
1564
1584
|
int MPI_Init_thread(int *argc, char ***argv, int required, int *provided) MPICH_API_PUBLIC;
|
|
1565
1585
|
int MPI_Initialized(int *flag) MPICH_API_PUBLIC;
|
|
1566
1586
|
int MPI_Is_thread_main(int *flag) MPICH_API_PUBLIC;
|
|
1567
1587
|
int MPI_Query_thread(int *provided) MPICH_API_PUBLIC;
|
|
1588
|
+
int MPI_Session_finalize(MPI_Session *session) MPICH_API_PUBLIC;
|
|
1589
|
+
int MPI_Session_get_info(MPI_Session session, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
1590
|
+
int MPI_Session_get_nth_pset(MPI_Session session, MPI_Info info, int n, int *pset_len,
|
|
1591
|
+
char *pset_name) MPICH_API_PUBLIC;
|
|
1592
|
+
int MPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int *npset_names)
|
|
1593
|
+
MPICH_API_PUBLIC;
|
|
1594
|
+
int MPI_Session_get_pset_info(MPI_Session session, const char *pset_name, MPI_Info *info)
|
|
1595
|
+
MPICH_API_PUBLIC;
|
|
1596
|
+
int MPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session *session)
|
|
1597
|
+
MPICH_API_PUBLIC;
|
|
1568
1598
|
MPI_Aint MPI_Aint_add(MPI_Aint base, MPI_Aint disp) MPICH_API_PUBLIC;
|
|
1569
1599
|
MPI_Aint MPI_Aint_diff(MPI_Aint addr1, MPI_Aint addr2) MPICH_API_PUBLIC;
|
|
1570
1600
|
int MPI_Get_library_version(char *version, int *resultlen) MPICH_API_PUBLIC;
|
|
@@ -1764,25 +1794,6 @@ int MPI_Win_test(MPI_Win win, int *flag) MPICH_API_PUBLIC;
|
|
|
1764
1794
|
int MPI_Win_unlock(int rank, MPI_Win win) MPICH_API_PUBLIC;
|
|
1765
1795
|
int MPI_Win_unlock_all(MPI_Win win) MPICH_API_PUBLIC;
|
|
1766
1796
|
int MPI_Win_wait(MPI_Win win) MPICH_API_PUBLIC;
|
|
1767
|
-
int MPI_Comm_create_from_group(MPI_Group group, const char *stringtag, MPI_Info info,
|
|
1768
|
-
MPI_Errhandler errhandler, MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
1769
|
-
int MPI_Group_from_session_pset(MPI_Session session, const char *pset_name, MPI_Group *newgroup)
|
|
1770
|
-
MPICH_API_PUBLIC;
|
|
1771
|
-
int MPI_Session_call_errhandler(MPI_Session session, int errorcode) MPICH_API_PUBLIC;
|
|
1772
|
-
int MPI_Session_create_errhandler(MPI_Session_errhandler_function *session_errhandler_fn,
|
|
1773
|
-
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1774
|
-
int MPI_Session_finalize(MPI_Session *session) MPICH_API_PUBLIC;
|
|
1775
|
-
int MPI_Session_get_errhandler(MPI_Session session, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
1776
|
-
int MPI_Session_get_info(MPI_Session session, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
1777
|
-
int MPI_Session_get_nth_pset(MPI_Session session, MPI_Info info, int n, int *pset_len,
|
|
1778
|
-
char *pset_name) MPICH_API_PUBLIC;
|
|
1779
|
-
int MPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int *npset_names)
|
|
1780
|
-
MPICH_API_PUBLIC;
|
|
1781
|
-
int MPI_Session_get_pset_info(MPI_Session session, const char *pset_name, MPI_Info *info)
|
|
1782
|
-
MPICH_API_PUBLIC;
|
|
1783
|
-
int MPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session *session)
|
|
1784
|
-
MPICH_API_PUBLIC;
|
|
1785
|
-
int MPI_Session_set_errhandler(MPI_Session session, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
1786
1797
|
int MPI_Close_port(const char *port_name) MPICH_API_PUBLIC;
|
|
1787
1798
|
int MPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm,
|
|
1788
1799
|
MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
@@ -1842,6 +1853,117 @@ int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors
|
|
|
1842
1853
|
int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors) MPICH_API_PUBLIC;
|
|
1843
1854
|
int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges) MPICH_API_PUBLIC;
|
|
1844
1855
|
int MPI_Topo_test(MPI_Comm comm, int *status) MPICH_API_PUBLIC;
|
|
1856
|
+
MPI_Fint MPI_File_c2f(MPI_File file) MPICH_API_PUBLIC;
|
|
1857
|
+
int MPI_File_close(MPI_File *fh) MPICH_API_PUBLIC;
|
|
1858
|
+
int MPI_File_delete(const char *filename, MPI_Info info) MPICH_API_PUBLIC;
|
|
1859
|
+
MPI_File MPI_File_f2c(MPI_Fint file) MPICH_API_PUBLIC;
|
|
1860
|
+
int MPI_File_get_amode(MPI_File fh, int *amode) MPICH_API_PUBLIC;
|
|
1861
|
+
int MPI_File_get_atomicity(MPI_File fh, int *flag) MPICH_API_PUBLIC;
|
|
1862
|
+
int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp) MPICH_API_PUBLIC;
|
|
1863
|
+
int MPI_File_get_group(MPI_File fh, MPI_Group *group) MPICH_API_PUBLIC;
|
|
1864
|
+
int MPI_File_get_info(MPI_File fh, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
1865
|
+
int MPI_File_get_position(MPI_File fh, MPI_Offset *offset) MPICH_API_PUBLIC;
|
|
1866
|
+
int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset) MPICH_API_PUBLIC;
|
|
1867
|
+
int MPI_File_get_size(MPI_File fh, MPI_Offset *size) MPICH_API_PUBLIC;
|
|
1868
|
+
int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent)
|
|
1869
|
+
MPICH_API_PUBLIC;
|
|
1870
|
+
int MPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype,
|
|
1871
|
+
char *datarep) MPICH_API_PUBLIC;
|
|
1872
|
+
int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
|
|
1873
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1874
|
+
int MPI_File_iread_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
1875
|
+
MPI_Request *request)
|
|
1876
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1877
|
+
int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype,
|
|
1878
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1879
|
+
int MPI_File_iread_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
1880
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
1881
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1882
|
+
int MPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
1883
|
+
MPI_Request *request)
|
|
1884
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1885
|
+
int MPI_File_iwrite(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1886
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1887
|
+
int MPI_File_iwrite_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1888
|
+
MPI_Request *request)
|
|
1889
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1890
|
+
int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
1891
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
1892
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1893
|
+
int MPI_File_iwrite_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
1894
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
1895
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1896
|
+
int MPI_File_iwrite_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1897
|
+
MPI_Request *request)
|
|
1898
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1899
|
+
int MPI_File_open(MPI_Comm comm, const char *filename, int amode, MPI_Info info, MPI_File *fh)
|
|
1900
|
+
MPICH_API_PUBLIC;
|
|
1901
|
+
int MPI_File_preallocate(MPI_File fh, MPI_Offset size) MPICH_API_PUBLIC;
|
|
1902
|
+
int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
|
|
1903
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1904
|
+
int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
|
|
1905
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1906
|
+
int MPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
|
|
1907
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1908
|
+
int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1909
|
+
int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype,
|
|
1910
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1911
|
+
int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
1912
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
1913
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1914
|
+
int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
1915
|
+
MPI_Datatype datatype)
|
|
1916
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1917
|
+
int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1918
|
+
int MPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
1919
|
+
MPI_Status *status)
|
|
1920
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1921
|
+
int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
|
|
1922
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1923
|
+
int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1924
|
+
int MPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
1925
|
+
MPI_Status *status)
|
|
1926
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1927
|
+
int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence) MPICH_API_PUBLIC;
|
|
1928
|
+
int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence) MPICH_API_PUBLIC;
|
|
1929
|
+
int MPI_File_set_atomicity(MPI_File fh, int flag) MPICH_API_PUBLIC;
|
|
1930
|
+
int MPI_File_set_info(MPI_File fh, MPI_Info info) MPICH_API_PUBLIC;
|
|
1931
|
+
int MPI_File_set_size(MPI_File fh, MPI_Offset size) MPICH_API_PUBLIC;
|
|
1932
|
+
int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype,
|
|
1933
|
+
const char *datarep, MPI_Info info) MPICH_API_PUBLIC;
|
|
1934
|
+
int MPI_File_sync(MPI_File fh) MPICH_API_PUBLIC;
|
|
1935
|
+
int MPI_File_write(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1936
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1937
|
+
int MPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1938
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1939
|
+
int MPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)
|
|
1940
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1941
|
+
int MPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1942
|
+
int MPI_File_write_at(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
1943
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
1944
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1945
|
+
int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
1946
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
1947
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1948
|
+
int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
1949
|
+
MPI_Datatype datatype)
|
|
1950
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
1951
|
+
int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1952
|
+
int MPI_File_write_ordered(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1953
|
+
MPI_Status *status)
|
|
1954
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1955
|
+
int MPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)
|
|
1956
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1957
|
+
int MPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
1958
|
+
int MPI_File_write_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
1959
|
+
MPI_Status *status)
|
|
1960
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
1961
|
+
int MPI_Register_datarep(const char *datarep, MPI_Datarep_conversion_function *read_conversion_fn,
|
|
1962
|
+
MPI_Datarep_conversion_function *write_conversion_fn,
|
|
1963
|
+
MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state)
|
|
1964
|
+
MPICH_API_PUBLIC;
|
|
1965
|
+
int MPI_File_toint(MPI_File file) MPICH_API_PUBLIC;
|
|
1966
|
+
MPI_File MPI_File_fromint(int file) MPICH_API_PUBLIC;
|
|
1845
1967
|
|
|
1846
1968
|
/* Begin Skip Prototypes */
|
|
1847
1969
|
int MPI_T_category_changed(int *update_number) MPICH_API_PUBLIC;
|
|
@@ -2369,24 +2491,131 @@ int MPI_Win_create_c(void *base, MPI_Aint size, MPI_Aint disp_unit, MPI_Info inf
|
|
|
2369
2491
|
MPI_Win *win) MPICH_API_PUBLIC;
|
|
2370
2492
|
int MPI_Win_shared_query_c(MPI_Win win, int rank, MPI_Aint *size, MPI_Aint *disp_unit,
|
|
2371
2493
|
void *baseptr) MPICH_API_PUBLIC;
|
|
2494
|
+
int MPI_File_get_type_extent_c(MPI_File fh, MPI_Datatype datatype, MPI_Count *extent)
|
|
2495
|
+
MPICH_API_PUBLIC;
|
|
2496
|
+
int MPI_File_iread_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2497
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2498
|
+
int MPI_File_iread_all_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2499
|
+
MPI_Request *request)
|
|
2500
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2501
|
+
int MPI_File_iread_at_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
2502
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
2503
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2504
|
+
int MPI_File_iread_at_all_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
2505
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
2506
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2507
|
+
int MPI_File_iread_shared_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2508
|
+
MPI_Request *request)
|
|
2509
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2510
|
+
int MPI_File_iwrite_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2511
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2512
|
+
int MPI_File_iwrite_all_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2513
|
+
MPI_Request *request)
|
|
2514
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2515
|
+
int MPI_File_iwrite_at_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
2516
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
2517
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2518
|
+
int MPI_File_iwrite_at_all_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
2519
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
2520
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2521
|
+
int MPI_File_iwrite_shared_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2522
|
+
MPI_Request *request)
|
|
2523
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2524
|
+
int MPI_File_read_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2525
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2526
|
+
int MPI_File_read_all_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2527
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2528
|
+
int MPI_File_read_all_begin_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype)
|
|
2529
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2530
|
+
int MPI_File_read_at_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
2531
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
2532
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2533
|
+
int MPI_File_read_at_all_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
2534
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
2535
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2536
|
+
int MPI_File_read_at_all_begin_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
2537
|
+
MPI_Datatype datatype)
|
|
2538
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2539
|
+
int MPI_File_read_ordered_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2540
|
+
MPI_Status *status)
|
|
2541
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2542
|
+
int MPI_File_read_ordered_begin_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype)
|
|
2543
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2544
|
+
int MPI_File_read_shared_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2545
|
+
MPI_Status *status)
|
|
2546
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2547
|
+
int MPI_File_write_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2548
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2549
|
+
int MPI_File_write_all_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2550
|
+
MPI_Status *status)
|
|
2551
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2552
|
+
int MPI_File_write_all_begin_c(MPI_File fh, const void *buf, MPI_Count count,
|
|
2553
|
+
MPI_Datatype datatype)
|
|
2554
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2555
|
+
int MPI_File_write_at_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
2556
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
2557
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2558
|
+
int MPI_File_write_at_all_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
2559
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
2560
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2561
|
+
int MPI_File_write_at_all_begin_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
2562
|
+
MPI_Datatype datatype)
|
|
2563
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
2564
|
+
int MPI_File_write_ordered_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2565
|
+
MPI_Status *status)
|
|
2566
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2567
|
+
int MPI_File_write_ordered_begin_c(MPI_File fh, const void *buf, MPI_Count count,
|
|
2568
|
+
MPI_Datatype datatype)
|
|
2569
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2570
|
+
int MPI_File_write_shared_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
2571
|
+
MPI_Status *status)
|
|
2572
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
2573
|
+
int MPI_Register_datarep_c(const char *datarep,
|
|
2574
|
+
MPI_Datarep_conversion_function_c *read_conversion_fn,
|
|
2575
|
+
MPI_Datarep_conversion_function_c *write_conversion_fn,
|
|
2576
|
+
MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state)
|
|
2577
|
+
MPICH_API_PUBLIC;
|
|
2372
2578
|
|
|
2373
2579
|
#endif /* MPICH_SUPPRESS_PROTOTYPES */
|
|
2374
2580
|
#if !defined(MPI_BUILD_PROFILING)
|
|
2375
2581
|
/* Begin Skip Prototypes */
|
|
2376
|
-
int
|
|
2377
|
-
int
|
|
2378
|
-
int
|
|
2582
|
+
int PMPI_Abi_get_fortran_info(MPI_Info *info) MPICH_API_PUBLIC;
|
|
2583
|
+
int PMPI_Abi_get_info(MPI_Info *info) MPICH_API_PUBLIC;
|
|
2584
|
+
int PMPI_Abi_get_version(int *abi_major, int *abi_minor) MPICH_API_PUBLIC;
|
|
2585
|
+
int PMPI_Comm_toint(MPI_Comm comm) MPICH_API_PUBLIC;
|
|
2586
|
+
MPI_Comm PMPI_Comm_fromint(int comm) MPICH_API_PUBLIC;
|
|
2587
|
+
int PMPI_Errhandler_toint(MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
2588
|
+
MPI_Errhandler PMPI_Errhandler_fromint(int errhandler) MPICH_API_PUBLIC;
|
|
2589
|
+
int PMPI_Group_toint(MPI_Group group) MPICH_API_PUBLIC;
|
|
2590
|
+
MPI_Group PMPI_Group_fromint(int group) MPICH_API_PUBLIC;
|
|
2591
|
+
int PMPI_Info_toint(MPI_Info info) MPICH_API_PUBLIC;
|
|
2592
|
+
MPI_Info PMPI_Info_fromint(int info) MPICH_API_PUBLIC;
|
|
2593
|
+
int PMPI_Message_toint(MPI_Message message) MPICH_API_PUBLIC;
|
|
2594
|
+
MPI_Message PMPI_Message_fromint(int message) MPICH_API_PUBLIC;
|
|
2595
|
+
int PMPI_Op_toint(MPI_Op op) MPICH_API_PUBLIC;
|
|
2596
|
+
MPI_Op PMPI_Op_fromint(int op) MPICH_API_PUBLIC;
|
|
2597
|
+
int PMPI_Request_toint(MPI_Request request) MPICH_API_PUBLIC;
|
|
2598
|
+
MPI_Request PMPI_Request_fromint(int request) MPICH_API_PUBLIC;
|
|
2599
|
+
int PMPI_Session_toint(MPI_Session session) MPICH_API_PUBLIC;
|
|
2600
|
+
MPI_Session PMPI_Session_fromint(int session) MPICH_API_PUBLIC;
|
|
2601
|
+
int PMPI_Type_toint(MPI_Datatype datatype) MPICH_API_PUBLIC;
|
|
2602
|
+
MPI_Datatype PMPI_Type_fromint(int datatype) MPICH_API_PUBLIC;
|
|
2603
|
+
int PMPI_Win_toint(MPI_Win win) MPICH_API_PUBLIC;
|
|
2604
|
+
MPI_Win PMPI_Win_fromint(int win) MPICH_API_PUBLIC;
|
|
2379
2605
|
int PMPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn,
|
|
2380
2606
|
MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval,
|
|
2381
2607
|
void *extra_state) MPICH_API_PUBLIC;
|
|
2608
|
+
int PMPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval,
|
|
2609
|
+
void *extra_state) MPICH_API_PUBLIC;
|
|
2382
2610
|
int PMPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval) MPICH_API_PUBLIC;
|
|
2611
|
+
int PMPI_Attr_delete(MPI_Comm comm, int keyval) MPICH_API_PUBLIC;
|
|
2383
2612
|
int PMPI_Comm_free_keyval(int *comm_keyval) MPICH_API_PUBLIC;
|
|
2613
|
+
int PMPI_Keyval_free(int *keyval) MPICH_API_PUBLIC;
|
|
2384
2614
|
int PMPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag)
|
|
2385
2615
|
MPICH_API_PUBLIC;
|
|
2616
|
+
int PMPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) MPICH_API_PUBLIC;
|
|
2386
2617
|
int PMPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val) MPICH_API_PUBLIC;
|
|
2387
|
-
int
|
|
2388
|
-
void *extra_state) MPICH_API_PUBLIC;
|
|
2389
|
-
int PMPI_Keyval_free(int *keyval) MPICH_API_PUBLIC;
|
|
2618
|
+
int PMPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) MPICH_API_PUBLIC;
|
|
2390
2619
|
int PMPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn,
|
|
2391
2620
|
MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval,
|
|
2392
2621
|
void *extra_state) MPICH_API_PUBLIC;
|
|
@@ -2927,6 +3156,7 @@ int PMPIX_Comm_failure_get_acked(MPI_Comm comm, MPI_Group *failedgrp) MPICH_API_
|
|
|
2927
3156
|
int PMPIX_Comm_agree(MPI_Comm comm, int *flag) MPICH_API_PUBLIC;
|
|
2928
3157
|
int PMPIX_Comm_get_failed(MPI_Comm comm, MPI_Group *failedgrp) MPICH_API_PUBLIC;
|
|
2929
3158
|
int PMPI_Get_address(const void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
3159
|
+
int PMPI_Address(void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
2930
3160
|
int PMPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count) MPICH_API_PUBLIC;
|
|
2931
3161
|
int PMPI_Get_count_c(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count)
|
|
2932
3162
|
MPICH_API_PUBLIC;
|
|
@@ -2970,12 +3200,17 @@ int PMPI_Type_create_darray_c(int size, int rank, int ndims, const MPI_Count arr
|
|
|
2970
3200
|
const int array_of_distribs[], const int array_of_dargs[],
|
|
2971
3201
|
const int array_of_psizes[], int order, MPI_Datatype oldtype,
|
|
2972
3202
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3203
|
+
int PMPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3204
|
+
int PMPI_Type_create_f90_integer(int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3205
|
+
int PMPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2973
3206
|
int PMPI_Type_create_hindexed(int count, const int array_of_blocklengths[],
|
|
2974
3207
|
const MPI_Aint array_of_displacements[], MPI_Datatype oldtype,
|
|
2975
3208
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2976
3209
|
int PMPI_Type_create_hindexed_c(MPI_Count count, const MPI_Count array_of_blocklengths[],
|
|
2977
3210
|
const MPI_Count array_of_displacements[], MPI_Datatype oldtype,
|
|
2978
3211
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3212
|
+
int PMPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
3213
|
+
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2979
3214
|
int PMPI_Type_create_hindexed_block(int count, int blocklength,
|
|
2980
3215
|
const MPI_Aint array_of_displacements[], MPI_Datatype oldtype,
|
|
2981
3216
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
@@ -2987,6 +3222,8 @@ int PMPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Da
|
|
|
2987
3222
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2988
3223
|
int PMPI_Type_create_hvector_c(MPI_Count count, MPI_Count blocklength, MPI_Count stride,
|
|
2989
3224
|
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3225
|
+
int PMPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype,
|
|
3226
|
+
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2990
3227
|
int PMPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[],
|
|
2991
3228
|
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
2992
3229
|
int PMPI_Type_create_indexed_block_c(MPI_Count count, MPI_Count blocklength,
|
|
@@ -3004,6 +3241,8 @@ int PMPI_Type_create_struct_c(MPI_Count count, const MPI_Count array_of_blocklen
|
|
|
3004
3241
|
const MPI_Count array_of_displacements[],
|
|
3005
3242
|
const MPI_Datatype array_of_types[], MPI_Datatype *newtype)
|
|
3006
3243
|
MPICH_API_PUBLIC;
|
|
3244
|
+
int PMPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
3245
|
+
MPI_Datatype array_of_types[], MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3007
3246
|
int PMPI_Type_create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[],
|
|
3008
3247
|
const int array_of_starts[], int order, MPI_Datatype oldtype,
|
|
3009
3248
|
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
@@ -3066,24 +3305,21 @@ int PMPI_Unpack_external(const char datarep[], const void *inbuf, MPI_Aint insiz
|
|
|
3066
3305
|
int PMPI_Unpack_external_c(const char datarep[], const void *inbuf, MPI_Count insize,
|
|
3067
3306
|
MPI_Count *position, void *outbuf, MPI_Count outcount,
|
|
3068
3307
|
MPI_Datatype datatype) MPICH_API_PUBLIC;
|
|
3069
|
-
int PMPI_Address(void *location, MPI_Aint *address) MPICH_API_PUBLIC;
|
|
3070
3308
|
int PMPI_Type_extent(MPI_Datatype datatype, MPI_Aint *extent) MPICH_API_PUBLIC;
|
|
3071
3309
|
int PMPI_Type_lb(MPI_Datatype datatype, MPI_Aint *displacement) MPICH_API_PUBLIC;
|
|
3072
3310
|
int PMPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement) MPICH_API_PUBLIC;
|
|
3073
|
-
int PMPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
3074
|
-
MPI_Datatype oldtype, MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3075
|
-
int PMPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype,
|
|
3076
|
-
MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3077
|
-
int PMPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[],
|
|
3078
|
-
MPI_Datatype array_of_types[], MPI_Datatype *newtype) MPICH_API_PUBLIC;
|
|
3079
3311
|
int PMPI_Add_error_class(int *errorclass) MPICH_API_PUBLIC;
|
|
3080
3312
|
int PMPI_Add_error_code(int errorclass, int *errorcode) MPICH_API_PUBLIC;
|
|
3081
3313
|
int PMPI_Add_error_string(int errorcode, const char *string) MPICH_API_PUBLIC;
|
|
3082
3314
|
int PMPI_Comm_call_errhandler(MPI_Comm comm, int errorcode) MPICH_API_PUBLIC;
|
|
3083
3315
|
int PMPI_Comm_create_errhandler(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
3084
3316
|
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3317
|
+
int PMPI_Errhandler_create(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
3318
|
+
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3085
3319
|
int PMPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3320
|
+
int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3086
3321
|
int PMPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3322
|
+
int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3087
3323
|
int PMPI_Errhandler_free(MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3088
3324
|
int PMPI_Error_class(int errorcode, int *errorclass) MPICH_API_PUBLIC;
|
|
3089
3325
|
int PMPI_Error_string(int errorcode, char *string, int *resultlen) MPICH_API_PUBLIC;
|
|
@@ -3095,15 +3331,16 @@ int PMPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler) MPICH_API
|
|
|
3095
3331
|
int PMPI_Remove_error_class(int errorclass) MPICH_API_PUBLIC;
|
|
3096
3332
|
int PMPI_Remove_error_code(int errorcode) MPICH_API_PUBLIC;
|
|
3097
3333
|
int PMPI_Remove_error_string(int errorcode) MPICH_API_PUBLIC;
|
|
3334
|
+
int PMPI_Session_call_errhandler(MPI_Session session, int errorcode) MPICH_API_PUBLIC;
|
|
3335
|
+
int PMPI_Session_create_errhandler(MPI_Session_errhandler_function *session_errhandler_fn,
|
|
3336
|
+
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3337
|
+
int PMPI_Session_get_errhandler(MPI_Session session, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3338
|
+
int PMPI_Session_set_errhandler(MPI_Session session, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3098
3339
|
int PMPI_Win_call_errhandler(MPI_Win win, int errorcode) MPICH_API_PUBLIC;
|
|
3099
3340
|
int PMPI_Win_create_errhandler(MPI_Win_errhandler_function *win_errhandler_fn,
|
|
3100
3341
|
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3101
3342
|
int PMPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3102
3343
|
int PMPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3103
|
-
int PMPI_Errhandler_create(MPI_Comm_errhandler_function *comm_errhandler_fn,
|
|
3104
|
-
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3105
|
-
int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3106
|
-
int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3107
3344
|
int PMPIX_GPU_query_support(int gpu_type, int *is_supported) MPICH_API_PUBLIC;
|
|
3108
3345
|
int PMPIX_Query_cuda_support(void) MPICH_API_PUBLIC;
|
|
3109
3346
|
int PMPIX_Query_ze_support(void) MPICH_API_PUBLIC;
|
|
@@ -3131,9 +3368,11 @@ int PMPIX_Put_notify_c(const void *origin_addr, MPI_Count origin_count,
|
|
|
3131
3368
|
MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp,
|
|
3132
3369
|
MPI_Count target_count, MPI_Datatype target_datatype, int notification_idx,
|
|
3133
3370
|
MPI_Win win) MPICH_ATTR_POINTER_WITH_TYPE_TAG(1,3) MPICH_API_PUBLIC;
|
|
3371
|
+
int PMPI_Status_c2f(const MPI_Status *c_status, MPI_Fint *f_status) MPICH_API_PUBLIC;
|
|
3134
3372
|
int PMPI_Status_c2f08(const MPI_Status *c_status, MPI_F08_status *f08_status) MPICH_API_PUBLIC;
|
|
3135
3373
|
int PMPI_Status_f082c(const MPI_F08_status *f08_status, MPI_Status *c_status) MPICH_API_PUBLIC;
|
|
3136
3374
|
int PMPI_Status_f082f(const MPI_F08_status *f08_status, MPI_Fint *f_status) MPICH_API_PUBLIC;
|
|
3375
|
+
int PMPI_Status_f2c(const MPI_Fint *f_status, MPI_Status *c_status) MPICH_API_PUBLIC;
|
|
3137
3376
|
int PMPI_Status_f2f08(const MPI_Fint *f_status, MPI_F08_status *f08_status) MPICH_API_PUBLIC;
|
|
3138
3377
|
int PMPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result) MPICH_API_PUBLIC;
|
|
3139
3378
|
int PMPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
|
|
@@ -3169,13 +3408,27 @@ int PMPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *f
|
|
|
3169
3408
|
MPICH_API_PUBLIC;
|
|
3170
3409
|
int PMPI_Info_set(MPI_Info info, const char *key, const char *value) MPICH_API_PUBLIC;
|
|
3171
3410
|
int PMPI_Abort(MPI_Comm comm, int errorcode) MPICH_API_PUBLIC;
|
|
3411
|
+
int PMPI_Comm_create_from_group(MPI_Group group, const char *stringtag, MPI_Info info,
|
|
3412
|
+
MPI_Errhandler errhandler, MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
3172
3413
|
int PMPI_Finalize(void) MPICH_API_PUBLIC;
|
|
3173
3414
|
int PMPI_Finalized(int *flag) MPICH_API_PUBLIC;
|
|
3415
|
+
int PMPI_Group_from_session_pset(MPI_Session session, const char *pset_name, MPI_Group *newgroup)
|
|
3416
|
+
MPICH_API_PUBLIC;
|
|
3174
3417
|
int PMPI_Init(int *argc, char ***argv) MPICH_API_PUBLIC;
|
|
3175
3418
|
int PMPI_Init_thread(int *argc, char ***argv, int required, int *provided) MPICH_API_PUBLIC;
|
|
3176
3419
|
int PMPI_Initialized(int *flag) MPICH_API_PUBLIC;
|
|
3177
3420
|
int PMPI_Is_thread_main(int *flag) MPICH_API_PUBLIC;
|
|
3178
3421
|
int PMPI_Query_thread(int *provided) MPICH_API_PUBLIC;
|
|
3422
|
+
int PMPI_Session_finalize(MPI_Session *session) MPICH_API_PUBLIC;
|
|
3423
|
+
int PMPI_Session_get_info(MPI_Session session, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
3424
|
+
int PMPI_Session_get_nth_pset(MPI_Session session, MPI_Info info, int n, int *pset_len,
|
|
3425
|
+
char *pset_name) MPICH_API_PUBLIC;
|
|
3426
|
+
int PMPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int *npset_names)
|
|
3427
|
+
MPICH_API_PUBLIC;
|
|
3428
|
+
int PMPI_Session_get_pset_info(MPI_Session session, const char *pset_name, MPI_Info *info)
|
|
3429
|
+
MPICH_API_PUBLIC;
|
|
3430
|
+
int PMPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session *session)
|
|
3431
|
+
MPICH_API_PUBLIC;
|
|
3179
3432
|
MPI_Aint PMPI_Aint_add(MPI_Aint base, MPI_Aint disp) MPICH_API_PUBLIC;
|
|
3180
3433
|
MPI_Aint PMPI_Aint_diff(MPI_Aint addr1, MPI_Aint addr2) MPICH_API_PUBLIC;
|
|
3181
3434
|
int PMPI_Get_library_version(char *version, int *resultlen) MPICH_API_PUBLIC;
|
|
@@ -3587,25 +3840,6 @@ int PMPI_Win_test(MPI_Win win, int *flag) MPICH_API_PUBLIC;
|
|
|
3587
3840
|
int PMPI_Win_unlock(int rank, MPI_Win win) MPICH_API_PUBLIC;
|
|
3588
3841
|
int PMPI_Win_unlock_all(MPI_Win win) MPICH_API_PUBLIC;
|
|
3589
3842
|
int PMPI_Win_wait(MPI_Win win) MPICH_API_PUBLIC;
|
|
3590
|
-
int PMPI_Comm_create_from_group(MPI_Group group, const char *stringtag, MPI_Info info,
|
|
3591
|
-
MPI_Errhandler errhandler, MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
3592
|
-
int PMPI_Group_from_session_pset(MPI_Session session, const char *pset_name, MPI_Group *newgroup)
|
|
3593
|
-
MPICH_API_PUBLIC;
|
|
3594
|
-
int PMPI_Session_call_errhandler(MPI_Session session, int errorcode) MPICH_API_PUBLIC;
|
|
3595
|
-
int PMPI_Session_create_errhandler(MPI_Session_errhandler_function *session_errhandler_fn,
|
|
3596
|
-
MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3597
|
-
int PMPI_Session_finalize(MPI_Session *session) MPICH_API_PUBLIC;
|
|
3598
|
-
int PMPI_Session_get_errhandler(MPI_Session session, MPI_Errhandler *errhandler) MPICH_API_PUBLIC;
|
|
3599
|
-
int PMPI_Session_get_info(MPI_Session session, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
3600
|
-
int PMPI_Session_get_nth_pset(MPI_Session session, MPI_Info info, int n, int *pset_len,
|
|
3601
|
-
char *pset_name) MPICH_API_PUBLIC;
|
|
3602
|
-
int PMPI_Session_get_num_psets(MPI_Session session, MPI_Info info, int *npset_names)
|
|
3603
|
-
MPICH_API_PUBLIC;
|
|
3604
|
-
int PMPI_Session_get_pset_info(MPI_Session session, const char *pset_name, MPI_Info *info)
|
|
3605
|
-
MPICH_API_PUBLIC;
|
|
3606
|
-
int PMPI_Session_init(MPI_Info info, MPI_Errhandler errhandler, MPI_Session *session)
|
|
3607
|
-
MPICH_API_PUBLIC;
|
|
3608
|
-
int PMPI_Session_set_errhandler(MPI_Session session, MPI_Errhandler errhandler) MPICH_API_PUBLIC;
|
|
3609
3843
|
int PMPI_Close_port(const char *port_name) MPICH_API_PUBLIC;
|
|
3610
3844
|
int PMPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm,
|
|
3611
3845
|
MPI_Comm *newcomm) MPICH_API_PUBLIC;
|
|
@@ -3666,34 +3900,268 @@ int PMPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbor
|
|
|
3666
3900
|
int PMPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors) MPICH_API_PUBLIC;
|
|
3667
3901
|
int PMPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges) MPICH_API_PUBLIC;
|
|
3668
3902
|
int PMPI_Topo_test(MPI_Comm comm, int *status) MPICH_API_PUBLIC;
|
|
3903
|
+
MPI_Fint PMPI_File_c2f(MPI_File file) MPICH_API_PUBLIC;
|
|
3904
|
+
int PMPI_File_close(MPI_File *fh) MPICH_API_PUBLIC;
|
|
3905
|
+
int PMPI_File_delete(const char *filename, MPI_Info info) MPICH_API_PUBLIC;
|
|
3906
|
+
MPI_File PMPI_File_f2c(MPI_Fint file) MPICH_API_PUBLIC;
|
|
3907
|
+
int PMPI_File_get_amode(MPI_File fh, int *amode) MPICH_API_PUBLIC;
|
|
3908
|
+
int PMPI_File_get_atomicity(MPI_File fh, int *flag) MPICH_API_PUBLIC;
|
|
3909
|
+
int PMPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp) MPICH_API_PUBLIC;
|
|
3910
|
+
int PMPI_File_get_group(MPI_File fh, MPI_Group *group) MPICH_API_PUBLIC;
|
|
3911
|
+
int PMPI_File_get_info(MPI_File fh, MPI_Info *info_used) MPICH_API_PUBLIC;
|
|
3912
|
+
int PMPI_File_get_position(MPI_File fh, MPI_Offset *offset) MPICH_API_PUBLIC;
|
|
3913
|
+
int PMPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset) MPICH_API_PUBLIC;
|
|
3914
|
+
int PMPI_File_get_size(MPI_File fh, MPI_Offset *size) MPICH_API_PUBLIC;
|
|
3915
|
+
int PMPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent)
|
|
3916
|
+
MPICH_API_PUBLIC;
|
|
3917
|
+
int PMPI_File_get_type_extent_c(MPI_File fh, MPI_Datatype datatype, MPI_Count *extent)
|
|
3918
|
+
MPICH_API_PUBLIC;
|
|
3919
|
+
int PMPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype,
|
|
3920
|
+
char *datarep) MPICH_API_PUBLIC;
|
|
3921
|
+
int PMPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
|
|
3922
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3923
|
+
int PMPI_File_iread_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3924
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3925
|
+
int PMPI_File_iread_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
3926
|
+
MPI_Request *request)
|
|
3927
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3928
|
+
int PMPI_File_iread_all_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3929
|
+
MPI_Request *request)
|
|
3930
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3931
|
+
int PMPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype,
|
|
3932
|
+
MPI_Request *request)
|
|
3933
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3934
|
+
int PMPI_File_iread_at_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
3935
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3936
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3937
|
+
int PMPI_File_iread_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
3938
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3939
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3940
|
+
int PMPI_File_iread_at_all_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
3941
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3942
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3943
|
+
int PMPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
3944
|
+
MPI_Request *request)
|
|
3945
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3946
|
+
int PMPI_File_iread_shared_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3947
|
+
MPI_Request *request)
|
|
3948
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3949
|
+
int PMPI_File_iwrite(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
3950
|
+
MPI_Request *request) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3951
|
+
int PMPI_File_iwrite_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3952
|
+
MPI_Request *request)
|
|
3953
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3954
|
+
int PMPI_File_iwrite_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
3955
|
+
MPI_Request *request)
|
|
3956
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3957
|
+
int PMPI_File_iwrite_all_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3958
|
+
MPI_Request *request)
|
|
3959
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3960
|
+
int PMPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
3961
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3962
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3963
|
+
int PMPI_File_iwrite_at_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
3964
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3965
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3966
|
+
int PMPI_File_iwrite_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
3967
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3968
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3969
|
+
int PMPI_File_iwrite_at_all_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
3970
|
+
MPI_Datatype datatype, MPI_Request *request)
|
|
3971
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3972
|
+
int PMPI_File_iwrite_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
3973
|
+
MPI_Request *request)
|
|
3974
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3975
|
+
int PMPI_File_iwrite_shared_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3976
|
+
MPI_Request *request)
|
|
3977
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3978
|
+
int PMPI_File_open(MPI_Comm comm, const char *filename, int amode, MPI_Info info, MPI_File *fh)
|
|
3979
|
+
MPICH_API_PUBLIC;
|
|
3980
|
+
int PMPI_File_preallocate(MPI_File fh, MPI_Offset size) MPICH_API_PUBLIC;
|
|
3981
|
+
int PMPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
|
|
3982
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3983
|
+
int PMPI_File_read_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3984
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3985
|
+
int PMPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
3986
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3987
|
+
int PMPI_File_read_all_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
3988
|
+
MPI_Status *status)
|
|
3989
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3990
|
+
int PMPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
|
|
3991
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3992
|
+
int PMPI_File_read_all_begin_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype)
|
|
3993
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
3994
|
+
int PMPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
3995
|
+
int PMPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype,
|
|
3996
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
3997
|
+
int PMPI_File_read_at_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
3998
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
3999
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4000
|
+
int PMPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
4001
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4002
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4003
|
+
int PMPI_File_read_at_all_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
4004
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4005
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4006
|
+
int PMPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count,
|
|
4007
|
+
MPI_Datatype datatype)
|
|
4008
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4009
|
+
int PMPI_File_read_at_all_begin_c(MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count,
|
|
4010
|
+
MPI_Datatype datatype)
|
|
4011
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4012
|
+
int PMPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
4013
|
+
int PMPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
4014
|
+
MPI_Status *status)
|
|
4015
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4016
|
+
int PMPI_File_read_ordered_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4017
|
+
MPI_Status *status)
|
|
4018
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4019
|
+
int PMPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
|
|
4020
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4021
|
+
int PMPI_File_read_ordered_begin_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype)
|
|
4022
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4023
|
+
int PMPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
4024
|
+
int PMPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype,
|
|
4025
|
+
MPI_Status *status)
|
|
4026
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4027
|
+
int PMPI_File_read_shared_c(MPI_File fh, void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4028
|
+
MPI_Status *status)
|
|
4029
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4030
|
+
int PMPI_File_seek(MPI_File fh, MPI_Offset offset, int whence) MPICH_API_PUBLIC;
|
|
4031
|
+
int PMPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence) MPICH_API_PUBLIC;
|
|
4032
|
+
int PMPI_File_set_atomicity(MPI_File fh, int flag) MPICH_API_PUBLIC;
|
|
4033
|
+
int PMPI_File_set_info(MPI_File fh, MPI_Info info) MPICH_API_PUBLIC;
|
|
4034
|
+
int PMPI_File_set_size(MPI_File fh, MPI_Offset size) MPICH_API_PUBLIC;
|
|
4035
|
+
int PMPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype,
|
|
4036
|
+
const char *datarep, MPI_Info info) MPICH_API_PUBLIC;
|
|
4037
|
+
int PMPI_File_sync(MPI_File fh) MPICH_API_PUBLIC;
|
|
4038
|
+
int PMPI_File_write(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
4039
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4040
|
+
int PMPI_File_write_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4041
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4042
|
+
int PMPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
4043
|
+
MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4044
|
+
int PMPI_File_write_all_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4045
|
+
MPI_Status *status)
|
|
4046
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4047
|
+
int PMPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)
|
|
4048
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4049
|
+
int PMPI_File_write_all_begin_c(MPI_File fh, const void *buf, MPI_Count count,
|
|
4050
|
+
MPI_Datatype datatype)
|
|
4051
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4052
|
+
int PMPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
4053
|
+
int PMPI_File_write_at(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
4054
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4055
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4056
|
+
int PMPI_File_write_at_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
4057
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4058
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4059
|
+
int PMPI_File_write_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
4060
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4061
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4062
|
+
int PMPI_File_write_at_all_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
4063
|
+
MPI_Datatype datatype, MPI_Status *status)
|
|
4064
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4065
|
+
int PMPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, const void *buf, int count,
|
|
4066
|
+
MPI_Datatype datatype)
|
|
4067
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4068
|
+
int PMPI_File_write_at_all_begin_c(MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count,
|
|
4069
|
+
MPI_Datatype datatype)
|
|
4070
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5) MPICH_API_PUBLIC;
|
|
4071
|
+
int PMPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
4072
|
+
int PMPI_File_write_ordered(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
4073
|
+
MPI_Status *status)
|
|
4074
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4075
|
+
int PMPI_File_write_ordered_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4076
|
+
MPI_Status *status)
|
|
4077
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4078
|
+
int PMPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype)
|
|
4079
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4080
|
+
int PMPI_File_write_ordered_begin_c(MPI_File fh, const void *buf, MPI_Count count,
|
|
4081
|
+
MPI_Datatype datatype)
|
|
4082
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4083
|
+
int PMPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status) MPICH_API_PUBLIC;
|
|
4084
|
+
int PMPI_File_write_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype,
|
|
4085
|
+
MPI_Status *status)
|
|
4086
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4087
|
+
int PMPI_File_write_shared_c(MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype,
|
|
4088
|
+
MPI_Status *status)
|
|
4089
|
+
MPICH_ATTR_POINTER_WITH_TYPE_TAG(2,4) MPICH_API_PUBLIC;
|
|
4090
|
+
int PMPI_Register_datarep(const char *datarep, MPI_Datarep_conversion_function *read_conversion_fn,
|
|
4091
|
+
MPI_Datarep_conversion_function *write_conversion_fn,
|
|
4092
|
+
MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state)
|
|
4093
|
+
MPICH_API_PUBLIC;
|
|
4094
|
+
int PMPI_Register_datarep_c(const char *datarep,
|
|
4095
|
+
MPI_Datarep_conversion_function_c *read_conversion_fn,
|
|
4096
|
+
MPI_Datarep_conversion_function_c *write_conversion_fn,
|
|
4097
|
+
MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state)
|
|
4098
|
+
MPICH_API_PUBLIC;
|
|
4099
|
+
int PMPI_File_toint(MPI_File file) MPICH_API_PUBLIC;
|
|
4100
|
+
MPI_File PMPI_File_fromint(int file) MPICH_API_PUBLIC;
|
|
3669
4101
|
/* End Skip Prototypes */
|
|
3670
4102
|
#endif /* MPI_BUILD_PROFILING */
|
|
3671
4103
|
|
|
3672
4104
|
/* End of MPI bindings */
|
|
3673
4105
|
/* End Prototypes */
|
|
3674
4106
|
|
|
3675
|
-
/*
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
#
|
|
3680
|
-
#define
|
|
3681
|
-
#define
|
|
3682
|
-
#define
|
|
3683
|
-
#define
|
|
3684
|
-
#define
|
|
3685
|
-
#define
|
|
4107
|
+
/* The f2c and c2f APIs exist as real functions, but these macros allows
|
|
4108
|
+
* for backward MPICH ABI compatibility.
|
|
4109
|
+
*/
|
|
4110
|
+
/* exclude these macros from MPICH internal */
|
|
4111
|
+
#ifndef MPICHCONF_H_INCLUDED
|
|
4112
|
+
#define MPI_Comm_c2f(comm) (MPI_Fint)(comm)
|
|
4113
|
+
#define MPI_Comm_f2c(comm) (MPI_Comm)(comm)
|
|
4114
|
+
#define MPI_Type_c2f(datatype) (MPI_Fint)(datatype)
|
|
4115
|
+
#define MPI_Type_f2c(datatype) (MPI_Datatype)(datatype)
|
|
4116
|
+
#define MPI_Group_c2f(group) (MPI_Fint)(group)
|
|
4117
|
+
#define MPI_Group_f2c(group) (MPI_Group)(group)
|
|
4118
|
+
#define MPI_Info_c2f(info) (MPI_Fint)(info)
|
|
4119
|
+
#define MPI_Info_f2c(info) (MPI_Info)(info)
|
|
4120
|
+
#define MPI_Request_f2c(request) (MPI_Request)(request)
|
|
4121
|
+
#define MPI_Request_c2f(request) (MPI_Fint)(request)
|
|
4122
|
+
#define MPI_Op_c2f(op) (MPI_Fint)(op)
|
|
4123
|
+
#define MPI_Op_f2c(op) (MPI_Op)(op)
|
|
4124
|
+
#define MPI_Errhandler_c2f(errhandler) (MPI_Fint)(errhandler)
|
|
4125
|
+
#define MPI_Errhandler_f2c(errhandler) (MPI_Errhandler)(errhandler)
|
|
4126
|
+
#define MPI_Win_c2f(win) (MPI_Fint)(win)
|
|
4127
|
+
#define MPI_Win_f2c(win) (MPI_Win)(win)
|
|
4128
|
+
#define MPI_Message_c2f(msg) ((MPI_Fint)(msg))
|
|
4129
|
+
#define MPI_Message_f2c(msg) ((MPI_Message)(msg))
|
|
4130
|
+
#define MPI_Session_c2f(session) (MPI_Fint)(session)
|
|
4131
|
+
#define MPI_Session_f2c(session) (MPI_Session)(session)
|
|
3686
4132
|
|
|
4133
|
+
/* PMPI versions of the handle transfer functions. See section 4.17 */
|
|
4134
|
+
#define PMPI_Comm_c2f(comm) (MPI_Fint)(comm)
|
|
4135
|
+
#define PMPI_Comm_f2c(comm) (MPI_Comm)(comm)
|
|
4136
|
+
#define PMPI_Type_c2f(datatype) (MPI_Fint)(datatype)
|
|
4137
|
+
#define PMPI_Type_f2c(datatype) (MPI_Datatype)(datatype)
|
|
4138
|
+
#define PMPI_Group_c2f(group) (MPI_Fint)(group)
|
|
4139
|
+
#define PMPI_Group_f2c(group) (MPI_Group)(group)
|
|
4140
|
+
#define PMPI_Info_c2f(info) (MPI_Fint)(info)
|
|
4141
|
+
#define PMPI_Info_f2c(info) (MPI_Info)(info)
|
|
4142
|
+
#define PMPI_Request_f2c(request) (MPI_Request)(request)
|
|
4143
|
+
#define PMPI_Request_c2f(request) (MPI_Fint)(request)
|
|
4144
|
+
#define PMPI_Op_c2f(op) (MPI_Fint)(op)
|
|
4145
|
+
#define PMPI_Op_f2c(op) (MPI_Op)(op)
|
|
4146
|
+
#define PMPI_Errhandler_c2f(errhandler) (MPI_Fint)(errhandler)
|
|
4147
|
+
#define PMPI_Errhandler_f2c(errhandler) (MPI_Errhandler)(errhandler)
|
|
4148
|
+
#define PMPI_Win_c2f(win) (MPI_Fint)(win)
|
|
4149
|
+
#define PMPI_Win_f2c(win) (MPI_Win)(win)
|
|
4150
|
+
#define PMPI_Message_c2f(msg) ((MPI_Fint)(msg))
|
|
4151
|
+
#define PMPI_Message_f2c(msg) ((MPI_Message)(msg))
|
|
4152
|
+
#define PMPI_Session_c2f(session) (MPI_Fint)(session)
|
|
4153
|
+
#define PMPI_Session_f2c(session) (MPI_Session)(session)
|
|
4154
|
+
#endif
|
|
3687
4155
|
#include "mpio.h"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
#define
|
|
3691
|
-
#define
|
|
3692
|
-
#
|
|
4156
|
+
#else /* BUILD_MPI_ABI */
|
|
4157
|
+
#define MPIR_T_PVAR_CLASS_FIRST MPI_T_PVAR_CLASS_STATE
|
|
4158
|
+
#define MPIR_T_PVAR_CLASS_LAST MPI_T_PVAR_CLASS_GENERIC
|
|
4159
|
+
#define MPIR_T_PVAR_CLASS_NUMBER 10
|
|
4160
|
+
#endif /* BUILD_MPI_ABI */
|
|
3693
4161
|
#if defined(__cplusplus)
|
|
3694
4162
|
}
|
|
3695
4163
|
/* Add the C++ bindings */
|
|
3696
|
-
/*
|
|
4164
|
+
/*
|
|
3697
4165
|
If MPICH_SKIP_MPICXX is defined, the mpicxx.h file will *not* be included.
|
|
3698
4166
|
This is necessary, for example, when building the C++ interfaces. It
|
|
3699
4167
|
can also be used when you want to use a C++ compiler to compile C code,
|
|
@@ -3701,11 +4169,12 @@ int PMPI_Topo_test(MPI_Comm comm, int *status) MPICH_API_PUBLIC;
|
|
|
3701
4169
|
be made by the C++ compilation script
|
|
3702
4170
|
*/
|
|
3703
4171
|
#if !defined(MPICH_SKIP_MPICXX)
|
|
3704
|
-
/* mpicxx.h contains the MPI C++ binding. In the mpi.h.in file, this
|
|
3705
|
-
include is in an autoconf variable in case the compiler is a C++
|
|
4172
|
+
/* mpicxx.h contains the MPI C++ binding. In the mpi.h.in file, this
|
|
4173
|
+
include is in an autoconf variable in case the compiler is a C++
|
|
3706
4174
|
compiler but MPI was built without the C++ bindings */
|
|
3707
4175
|
#include "mpicxx.h"
|
|
3708
|
-
#endif
|
|
3709
4176
|
#endif
|
|
3710
|
-
|
|
3711
4177
|
#endif
|
|
4178
|
+
|
|
4179
|
+
#endif /* MPI_INCLUDED */
|
|
4180
|
+
#endif /* MPI_ABI */
|