Functions
setup_logging ([log_level]) |
Turn on logging, with the specified level. |
Classes
CurrentMPIComm |
A class to faciliate getting and setting the current MPI communicator. |
set_options (**kwargs) |
Set global configuration options. |
nbodykit.
CurrentMPIComm
[source]¶A class to faciliate getting and setting the current MPI communicator.
Methods
enable (func) |
Decorator to attach the current MPI communicator to the input keyword arguments of func , via the comm keyword. |
get () |
Get the current MPI communicator, returning MPI.COMM_WORLD if it has not be explicitly set yet. |
set (comm) |
Set the current MPI communicator to the input value. |
enable
(func)[source]¶Decorator to attach the current MPI communicator to the input
keyword arguments of func
, via the comm
keyword.