mpi4py.MPI.Info¶
- class mpi4py.MPI.Info¶
Bases:
objectInfo object.
Methods Summary
Create([items])Create a new info object.
Create_env([args])Create a new environment info object.
Delete(key)Remove a (key, value) pair from info.
Dup()Duplicate an existing info object.
Free()Free an info object.
Get(key)Retrieve the value associated with a key.
Return the number of currently defined keys in info.
Get_nthkey(n)Return the n-th defined key in info.
Set(key, value)Store a value associated with a key.
clear()Clear contents.
copy()Copy contents.
f2py(arg)free()Call
Freeif not null or predefined.fromhandle(handle)Create object from MPI handle.
fromint(arg, /)Translate integer handle to object.
get(key[, default])Retrieve value by key.
items()Return list of items.
keys()Return list of keys.
pop(key, *default)Pop value by key.
popitem()Pop first item.
py2f()toint()Translate object to integer handle.
update([items])Update contents.
values()Return list of values.
Attributes Summary
MPI handle.
Methods Documentation
- classmethod Create(items=None)¶
Create a new info object.
- classmethod Create_env(args=None)¶
Create a new environment info object.
- Set(key, value)¶
Store a value associated with a key.
- classmethod fromhandle(handle)¶
Create object from MPI handle.
- classmethod fromint(arg, /)¶
Translate integer handle to object.
- get(key, default=None)¶
Retrieve value by key.
- update(items=(), **kwds)¶
Update contents.
Attributes Documentation
- handle¶
MPI handle.