File: mpi4py.MPI.rst

package info (click to toggle)
mpi4py 4.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,540 kB
  • sloc: python: 34,465; ansic: 16,475; makefile: 614; sh: 325; cpp: 193; f90: 178
file content (469 lines) | stat: -rw-r--r-- 6,017 bytes parent folder | download | duplicates (2)
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
mpi4py.MPI
==========

.. currentmodule:: mpi4py.MPI


Classes
-------

.. rubric:: Ancillary

.. autosummary::
   Datatype
   Status
   Request
   Prequest
   Grequest
   Op
   Group
   Info
   Session

.. rubric:: Communication

.. autosummary::
   Comm
   Intracomm
   Topocomm
   Cartcomm
   Graphcomm
   Distgraphcomm
   Intercomm
   Message

.. rubric:: One-sided operations

.. autosummary::
   Win

.. rubric:: Input/Output

.. autosummary::
   File

.. rubric:: Error handling

.. autosummary::
   Errhandler
   Exception

.. rubric:: Auxiliary

.. autosummary::
   Pickle
   buffer


Functions
---------

.. rubric:: Version inquiry

.. autosummary::
   Get_version
   Get_library_version

.. rubric:: Initialization and finalization

.. autosummary::
   Init
   Init_thread
   Finalize
   Is_initialized
   Is_finalized
   Query_thread
   Is_thread_main

.. rubric:: Memory allocation

.. autosummary::
   Alloc_mem
   Free_mem

.. rubric:: Address manipulation

.. autosummary::
   Get_address
   Aint_add
   Aint_diff

.. rubric:: Timer

.. autosummary::
   Wtick
   Wtime

.. rubric:: Error handling

.. autosummary::
   Get_error_class
   Get_error_string
   Add_error_class
   Add_error_code
   Add_error_string
   Remove_error_class
   Remove_error_code
   Remove_error_string

.. rubric:: Dynamic process management

.. autosummary::
   Open_port
   Close_port
   Publish_name
   Unpublish_name
   Lookup_name

.. rubric:: Miscellanea

.. autosummary::
   Attach_buffer
   Detach_buffer
   Flush_buffer
   Iflush_buffer
   Compute_dims
   Get_processor_name
   Register_datarep
   Pcontrol

.. rubric:: Utilities

.. autosummary::
   get_vendor
..
   _typecode
   _sizeof
   _addressof
   _handleof
..
   _comm_lock
   _comm_lock_table
   _commctx_inter
   _commctx_intra
   _set_abort_status


Attributes
----------

.. autosummary::

   UNDEFINED

   ANY_SOURCE
   ANY_TAG
   PROC_NULL
   ROOT

   BOTTOM
   IN_PLACE
   BUFFER_AUTOMATIC

   KEYVAL_INVALID

   TAG_UB
   IO
   WTIME_IS_GLOBAL
   UNIVERSE_SIZE
   APPNUM
   LASTUSEDCODE

   WIN_BASE
   WIN_SIZE
   WIN_DISP_UNIT
   WIN_CREATE_FLAVOR
   WIN_FLAVOR
   WIN_MODEL

   SUCCESS
   ERR_LASTCODE
   ERR_COMM
   ERR_GROUP
   ERR_TYPE
   ERR_REQUEST
   ERR_OP
   ERR_ERRHANDLER
   ERR_BUFFER
   ERR_COUNT
   ERR_TAG
   ERR_RANK
   ERR_ROOT
   ERR_TRUNCATE
   ERR_IN_STATUS
   ERR_PENDING
   ERR_TOPOLOGY
   ERR_DIMS
   ERR_ARG
   ERR_OTHER
   ERR_UNKNOWN
   ERR_INTERN
   ERR_INFO
   ERR_FILE
   ERR_WIN
   ERR_KEYVAL
   ERR_INFO_KEY
   ERR_INFO_VALUE
   ERR_INFO_NOKEY
   ERR_ACCESS
   ERR_AMODE
   ERR_BAD_FILE
   ERR_FILE_EXISTS
   ERR_FILE_IN_USE
   ERR_NO_SPACE
   ERR_NO_SUCH_FILE
   ERR_IO
   ERR_READ_ONLY
   ERR_CONVERSION
   ERR_DUP_DATAREP
   ERR_UNSUPPORTED_DATAREP
   ERR_UNSUPPORTED_OPERATION
   ERR_NAME
   ERR_NO_MEM
   ERR_NOT_SAME
   ERR_PORT
   ERR_QUOTA
   ERR_SERVICE
   ERR_SPAWN
   ERR_BASE
   ERR_SIZE
   ERR_DISP
   ERR_ASSERT
   ERR_LOCKTYPE
   ERR_RMA_CONFLICT
   ERR_RMA_SYNC
   ERR_RMA_RANGE
   ERR_RMA_ATTACH
   ERR_RMA_SHARED
   ERR_RMA_FLAVOR

   ORDER_C
   ORDER_F
   ORDER_FORTRAN

   TYPECLASS_INTEGER
   TYPECLASS_REAL
   TYPECLASS_COMPLEX

   DISTRIBUTE_NONE
   DISTRIBUTE_BLOCK
   DISTRIBUTE_CYCLIC
   DISTRIBUTE_DFLT_DARG

   COMBINER_NAMED
   COMBINER_DUP
   COMBINER_CONTIGUOUS
   COMBINER_VECTOR
   COMBINER_HVECTOR
   COMBINER_INDEXED
   COMBINER_HINDEXED
   COMBINER_INDEXED_BLOCK
   COMBINER_HINDEXED_BLOCK
   COMBINER_STRUCT
   COMBINER_SUBARRAY
   COMBINER_DARRAY
   COMBINER_RESIZED
   COMBINER_VALUE_INDEX
   COMBINER_F90_REAL
   COMBINER_F90_COMPLEX
   COMBINER_F90_INTEGER

   IDENT
   CONGRUENT
   SIMILAR
   UNEQUAL

   CART
   GRAPH
   DIST_GRAPH

   UNWEIGHTED
   WEIGHTS_EMPTY

   COMM_TYPE_SHARED

   BSEND_OVERHEAD

   WIN_FLAVOR_CREATE
   WIN_FLAVOR_ALLOCATE
   WIN_FLAVOR_DYNAMIC
   WIN_FLAVOR_SHARED

   WIN_SEPARATE
   WIN_UNIFIED

   MODE_NOCHECK
   MODE_NOSTORE
   MODE_NOPUT
   MODE_NOPRECEDE
   MODE_NOSUCCEED

   LOCK_EXCLUSIVE
   LOCK_SHARED

   MODE_RDONLY
   MODE_WRONLY
   MODE_RDWR
   MODE_CREATE
   MODE_EXCL
   MODE_DELETE_ON_CLOSE
   MODE_UNIQUE_OPEN
   MODE_SEQUENTIAL
   MODE_APPEND

   SEEK_SET
   SEEK_CUR
   SEEK_END

   DISPLACEMENT_CURRENT
   DISP_CUR

   THREAD_SINGLE
   THREAD_FUNNELED
   THREAD_SERIALIZED
   THREAD_MULTIPLE

   VERSION
   SUBVERSION

   MAX_PROCESSOR_NAME
   MAX_ERROR_STRING
   MAX_PORT_NAME
   MAX_INFO_KEY
   MAX_INFO_VAL
   MAX_OBJECT_NAME
   MAX_DATAREP_STRING
   MAX_LIBRARY_VERSION_STRING

   DATATYPE_NULL
   PACKED
   BYTE
   AINT
   OFFSET
   COUNT
   CHAR
   WCHAR
   SIGNED_CHAR
   SHORT
   INT
   LONG
   LONG_LONG
   UNSIGNED_CHAR
   UNSIGNED_SHORT
   UNSIGNED
   UNSIGNED_LONG
   UNSIGNED_LONG_LONG
   FLOAT
   DOUBLE
   LONG_DOUBLE
   C_BOOL
   INT8_T
   INT16_T
   INT32_T
   INT64_T
   UINT8_T
   UINT16_T
   UINT32_T
   UINT64_T
   C_COMPLEX
   C_FLOAT_COMPLEX
   C_DOUBLE_COMPLEX
   C_LONG_DOUBLE_COMPLEX
   CXX_BOOL
   CXX_FLOAT_COMPLEX
   CXX_DOUBLE_COMPLEX
   CXX_LONG_DOUBLE_COMPLEX
   SHORT_INT
   INT_INT
   TWOINT
   LONG_INT
   FLOAT_INT
   DOUBLE_INT
   LONG_DOUBLE_INT
   CHARACTER
   LOGICAL
   INTEGER
   REAL
   DOUBLE_PRECISION
   COMPLEX
   DOUBLE_COMPLEX
   LOGICAL1
   LOGICAL2
   LOGICAL4
   LOGICAL8
   INTEGER1
   INTEGER2
   INTEGER4
   INTEGER8
   INTEGER16
   REAL2
   REAL4
   REAL8
   REAL16
   COMPLEX4
   COMPLEX8
   COMPLEX16
   COMPLEX32
   UNSIGNED_INT
   SIGNED_SHORT
   SIGNED_INT
   SIGNED_LONG
   SIGNED_LONG_LONG
   BOOL
   SINT8_T
   SINT16_T
   SINT32_T
   SINT64_T
   F_BOOL
   F_INT
   F_FLOAT
   F_DOUBLE
   F_COMPLEX
   F_FLOAT_COMPLEX
   F_DOUBLE_COMPLEX

   REQUEST_NULL

   MESSAGE_NULL
   MESSAGE_NO_PROC

   OP_NULL
   MAX
   MIN
   SUM
   PROD
   LAND
   BAND
   LOR
   BOR
   LXOR
   BXOR
   MAXLOC
   MINLOC
   REPLACE
   NO_OP

   GROUP_NULL
   GROUP_EMPTY

   INFO_NULL
   INFO_ENV

   ERRHANDLER_NULL
   ERRORS_RETURN
   ERRORS_ARE_FATAL

   COMM_NULL
   COMM_SELF
   COMM_WORLD

   WIN_NULL

   FILE_NULL

   pickle


.. Local variables:
.. fill-column: 79
.. End: