-
Notifications
You must be signed in to change notification settings - Fork 0
/
mvapich_errorcodes.patch
206 lines (191 loc) · 10.2 KB
/
mvapich_errorcodes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
--- mpi.h.in.original 2019-07-24 11:00:06.023868307 -0700
+++ mpi.h.in 2019-07-24 11:02:40.205993241 -0700
@@ -793,112 +793,111 @@
/* MPI's error classes */
#define MPI_SUCCESS 0 /* Successful return code */
/* Communication argument parameters */
-#define MPI_ERR_BUFFER 1 /* Invalid buffer pointer */
-#define MPI_ERR_COUNT 2 /* Invalid count argument */
-#define MPI_ERR_TYPE 3 /* Invalid datatype argument */
-#define MPI_ERR_TAG 4 /* Invalid tag argument */
-#define MPI_ERR_COMM 5 /* Invalid communicator */
-#define MPI_ERR_RANK 6 /* Invalid rank */
-#define MPI_ERR_ROOT 7 /* Invalid root */
-#define MPI_ERR_TRUNCATE 14 /* Message truncated on receive */
+#define MPI_ERR_BUFFER 70001/* Invalid buffer pointer */
+#define MPI_ERR_COUNT 70002/* Invalid count argument */
+#define MPI_ERR_TYPE 70003/* Invalid datatype argument */
+#define MPI_ERR_TAG 70004/* Invalid tag argument */
+#define MPI_ERR_COMM 70005/* Invalid communicator */
+#define MPI_ERR_RANK 70006/* Invalid rank */
+#define MPI_ERR_ROOT 70007/* Invalid root */
+#define MPI_ERR_TRUNCATE 70014/* Message truncated on receive */
/* MPI Objects (other than COMM) */
-#define MPI_ERR_GROUP 8 /* Invalid group */
-#define MPI_ERR_OP 9 /* Invalid operation */
-#define MPI_ERR_REQUEST 19 /* Invalid mpi_request handle */
+#define MPI_ERR_GROUP 70008/* Invalid group */
+#define MPI_ERR_OP 70009/* Invalid operation */
+#define MPI_ERR_REQUEST 70019/* Invalid mpi_request handle */
/* Special topology argument parameters */
-#define MPI_ERR_TOPOLOGY 10 /* Invalid topology */
-#define MPI_ERR_DIMS 11 /* Invalid dimension argument */
+#define MPI_ERR_TOPOLOGY 70010/* Invalid topology */
+#define MPI_ERR_DIMS 70011/* Invalid dimension argument */
/* All other arguments. This is a class with many kinds */
-#define MPI_ERR_ARG 12 /* Invalid argument */
+#define MPI_ERR_ARG 70012/* Invalid argument */
/* Other errors that are not simply an invalid argument */
-#define MPI_ERR_OTHER 15 /* Other error; use Error_string */
+#define MPI_ERR_OTHER 70015/* Other error; use Error_string */
-#define MPI_ERR_UNKNOWN 13 /* Unknown error */
-#define MPI_ERR_INTERN 16 /* Internal error code */
+#define MPI_ERR_UNKNOWN 70013/* Unknown error */
+#define MPI_ERR_INTERN 70016/* Internal error code */
/* Multiple completion has three special error classes */
-#define MPI_ERR_IN_STATUS 17 /* Look in status for error value */
-#define MPI_ERR_PENDING 18 /* Pending request */
+#define MPI_ERR_IN_STATUS 70017/* Look in status for error value */
+#define MPI_ERR_PENDING 70018/* Pending request */
/* New MPI-2 Error classes */
-#define MPI_ERR_ACCESS 20 /* */
-#define MPI_ERR_AMODE 21 /* */
-#define MPI_ERR_BAD_FILE 22 /* */
-#define MPI_ERR_CONVERSION 23 /* */
-#define MPI_ERR_DUP_DATAREP 24 /* */
-#define MPI_ERR_FILE_EXISTS 25 /* */
-#define MPI_ERR_FILE_IN_USE 26 /* */
-#define MPI_ERR_FILE 27 /* */
-#define MPI_ERR_IO 32 /* */
-#define MPI_ERR_NO_SPACE 36 /* */
-#define MPI_ERR_NO_SUCH_FILE 37 /* */
-#define MPI_ERR_READ_ONLY 40 /* */
-#define MPI_ERR_UNSUPPORTED_DATAREP 43 /* */
+#define MPI_ERR_ACCESS 70020/* */
+#define MPI_ERR_AMODE 70021/* */
+#define MPI_ERR_BAD_FILE 70022/* */
+#define MPI_ERR_CONVERSION 70023/* */
+#define MPI_ERR_DUP_DATAREP 70024/* */
+#define MPI_ERR_FILE_EXISTS 70025/* */
+#define MPI_ERR_FILE_IN_USE 70026/* */
+#define MPI_ERR_FILE 70027/* */
+#define MPI_ERR_IO 70032/* */
+#define MPI_ERR_NO_SPACE 70036/* */
+#define MPI_ERR_NO_SUCH_FILE 70037/* */
+#define MPI_ERR_READ_ONLY 70040/* */
+#define MPI_ERR_UNSUPPORTED_DATAREP 70043/* */
/* MPI_ERR_INFO is NOT defined in the MPI-2 standard. I believe that
this is an oversight */
-#define MPI_ERR_INFO 28 /* */
-#define MPI_ERR_INFO_KEY 29 /* */
-#define MPI_ERR_INFO_VALUE 30 /* */
-#define MPI_ERR_INFO_NOKEY 31 /* */
-
-#define MPI_ERR_NAME 33 /* */
-#define MPI_ERR_NO_MEM 34 /* Alloc_mem could not allocate memory */
-#define MPI_ERR_NOT_SAME 35 /* */
-#define MPI_ERR_PORT 38 /* */
-#define MPI_ERR_QUOTA 39 /* */
-#define MPI_ERR_SERVICE 41 /* */
-#define MPI_ERR_SPAWN 42 /* */
-#define MPI_ERR_UNSUPPORTED_OPERATION 44 /* */
-#define MPI_ERR_WIN 45 /* */
-
-#define MPI_ERR_BASE 46 /* */
-#define MPI_ERR_LOCKTYPE 47 /* */
-#define MPI_ERR_KEYVAL 48 /* Erroneous attribute key */
-#define MPI_ERR_RMA_CONFLICT 49 /* */
-#define MPI_ERR_RMA_SYNC 50 /* */
-#define MPI_ERR_SIZE 51 /* */
-#define MPI_ERR_DISP 52 /* */
-#define MPI_ERR_ASSERT 53 /* */
-
-#define MPI_ERR_RMA_RANGE 55 /* */
-#define MPI_ERR_RMA_ATTACH 56 /* */
-#define MPI_ERR_RMA_SHARED 57 /* */
-#define MPI_ERR_RMA_FLAVOR 58 /* */
+#define MPI_ERR_INFO 70028/* */
+#define MPI_ERR_INFO_KEY 70029/* */
+#define MPI_ERR_INFO_VALUE 70030/* */
+#define MPI_ERR_INFO_NOKEY 70031/* */
+
+#define MPI_ERR_NAME 70033/* */
+#define MPI_ERR_NO_MEM 70034/* Alloc_mem could not allocate memory */
+#define MPI_ERR_NOT_SAME 70035/* */
+#define MPI_ERR_PORT 70038/* */
+#define MPI_ERR_QUOTA 70039/* */
+#define MPI_ERR_SERVICE 70041/* */
+#define MPI_ERR_SPAWN 70042/* */
+#define MPI_ERR_UNSUPPORTED_OPERATION 70044/* */
+#define MPI_ERR_WIN 70045/* */
+
+#define MPI_ERR_BASE 70046/* */
+#define MPI_ERR_LOCKTYPE 70047/* */
+#define MPI_ERR_KEYVAL 70048/* Erroneous attribute key */
+#define MPI_ERR_RMA_CONFLICT 70049/* */
+#define MPI_ERR_RMA_SYNC 70050/* */
+#define MPI_ERR_SIZE 70051/* */
+#define MPI_ERR_DISP 70052/* */
+#define MPI_ERR_ASSERT 70053/* */
+
+#define MPI_ERR_RMA_RANGE 70055/* */
+#define MPI_ERR_RMA_ATTACH 70056/* */
+#define MPI_ERR_RMA_SHARED 70057/* */
+#define MPI_ERR_RMA_FLAVOR 70058/* */
/* Return codes for functions in the MPI Tool Information Interface */
-#define MPI_T_ERR_MEMORY 59 /* Out of memory */
-#define MPI_T_ERR_NOT_INITIALIZED 60 /* Interface not initialized */
-#define MPI_T_ERR_CANNOT_INIT 61 /* Interface not in the state to
+#define MPI_T_ERR_MEMORY 70059/* Out of memory */
+#define MPI_T_ERR_NOT_INITIALIZED 70060/* Interface not initialized */
+#define MPI_T_ERR_CANNOT_INIT 70061/* Interface not in the state to
be initialized */
-#define MPI_T_ERR_INVALID_INDEX 62 /* The index is invalid or
+#define MPI_T_ERR_INVALID_INDEX 70062/* The index is invalid or
has been deleted */
-#define MPI_T_ERR_INVALID_ITEM 63 /* Item index queried is out of range */
-#define MPI_T_ERR_INVALID_HANDLE 64 /* The handle is invalid */
-#define MPI_T_ERR_OUT_OF_HANDLES 65 /* No more handles available */
-#define MPI_T_ERR_OUT_OF_SESSIONS 66 /* No more sessions available */
-#define MPI_T_ERR_INVALID_SESSION 67 /* Session argument is not valid */
-#define MPI_T_ERR_CVAR_SET_NOT_NOW 68 /* Cvar can't be set at this moment */
-#define MPI_T_ERR_CVAR_SET_NEVER 69 /* Cvar can't be set until
+#define MPI_T_ERR_INVALID_ITEM 70063/* Item index queried is out of range */
+#define MPI_T_ERR_INVALID_HANDLE 70064/* The handle is invalid */
+#define MPI_T_ERR_OUT_OF_HANDLES 70065/* No more handles available */
+#define MPI_T_ERR_OUT_OF_SESSIONS 70066/* No more sessions available */
+#define MPI_T_ERR_INVALID_SESSION 70067/* Session argument is not valid */
+#define MPI_T_ERR_CVAR_SET_NOT_NOW 70068/* Cvar can't be set at this moment */
+#define MPI_T_ERR_CVAR_SET_NEVER 70069/* Cvar can't be set until
end of execution */
-#define MPI_T_ERR_PVAR_NO_STARTSTOP 70 /* Pvar can't be started or stopped */
-#define MPI_T_ERR_PVAR_NO_WRITE 71 /* Pvar can't be written or reset */
-#define MPI_T_ERR_PVAR_NO_ATOMIC 72 /* Pvar can't be R/W atomically */
-#define MPI_T_ERR_INVALID_NAME 73 /* Name doesn't match */
-#define MPI_T_ERR_INVALID 74 /* Generic error code for MPI_T added in MPI-3.1 */
+#define MPI_T_ERR_PVAR_NO_STARTSTOP 70070/* Pvar can't be started or stopped */
+#define MPI_T_ERR_PVAR_NO_WRITE 70071/* Pvar can't be written or reset */
+#define MPI_T_ERR_PVAR_NO_ATOMIC 70072/* Pvar can't be R/W atomically */
+#define MPI_T_ERR_INVALID_NAME 70073/* Name doesn't match */
+#define MPI_T_ERR_INVALID 70074/* Generic error code for MPI_T added in MPI-3.1 */
#define MPI_ERR_LASTCODE 0x3fffffff /* Last valid error code for a
predefined error class */
-/* WARNING: this is also defined in mpishared.h. Update both locations */
-#define MPICH_ERR_LAST_CLASS 74 /* It is also helpful to know the
+#define MPICH_ERR_LAST_CLASS 70074/* It is also helpful to know the
last valid class */
-#define MPICH_ERR_FIRST_MPIX 100 /* Define a gap here because sock is
+#define MPICH_ERR_FIRST_MPIX 70100/* Define a gap here because sock is
* already using some of the values in this
* range. All MPIX error codes will be
* above this value to be ABI complaint. */
@@ -907,9 +906,10 @@
#define MPIX_ERR_PROC_FAILED_PENDING MPICH_ERR_FIRST_MPIX+2 /* A failure has caused this request
* to be pending */
#define MPIX_ERR_REVOKED MPICH_ERR_FIRST_MPIX+3 /* The communciation object has been revoked */
+#define MPIX_ERR_EAGAIN MPICH_ERR_FIRST_MPIX+4 /* Operation could not be issued */
+#define MPIX_ERR_NOREQ MPICH_ERR_FIRST_MPIX+5 /* Cannot allocate request */
-#define MPICH_ERR_LAST_MPIX MPICH_ERR_FIRST_MPIX+3
-
+#define MPICH_ERR_LAST_MPIX MPICH_ERR_FIRST_MPIX+5
/* End of MPI's error classes */