mpi4py.MPI.Session
- class mpi4py.MPI.Session
Bases:
object
Session
Methods Summary
Call_errhandler
(errorcode)Call the error handler installed on a session
Create_errhandler
(errhandler_fn)Create a new error handler for sessions
Create_group
(pset_name)Create a new group from session and process set
Finalize
()Finalize a session
Get the error handler for a session
Get_info
()Return the hints for a session
Get_nth_pset
(n[, info])Name of the nth process set
Get_num_psets
([info])Number of available process sets
Get_pset_info
(pset_name)Return the hints for a session and process set
Init
([info, errhandler])Create a new session
Set_errhandler
(errhandler)Set the error handler for a session
f2py
(arg)py2f
()Methods Documentation
- Call_errhandler(errorcode)
Call the error handler installed on a session
- classmethod Create_errhandler(errhandler_fn)
Create a new error handler for sessions
- Parameters:
- Return type:
- Create_group(pset_name)
Create a new group from session and process set
- Get_errhandler()
Get the error handler for a session
- Return type:
- Get_nth_pset(n, info=INFO_NULL)
Name of the nth process set
- Get_num_psets(info=INFO_NULL)
Number of available process sets
- Get_pset_info(pset_name)
Return the hints for a session and process set
- classmethod Init(info=INFO_NULL, errhandler=None)
Create a new session
- Parameters:
info (Info) –
errhandler (Errhandler | None) –
- Return type:
- Set_errhandler(errhandler)
Set the error handler for a session
- Parameters:
errhandler (Errhandler) –
- Return type: