|
MADNESS
version 0.9
|
Namespaces | |
| detail | |
Classes | |
| class | Exception |
| SafeMPI exception object. More... | |
| class | Group |
| class | Intracomm |
| Wrapper around MPI_Comm. Has a shallow copy constructor; use Create(Get_group()) for deep copy. More... | |
| class | Request |
| class | Status |
Functions | |
| int | Finalize () |
| Analogous to MPI_Finalize. More... | |
| bool | Is_initialized () |
| Check MPI initialization status. More... | |
| bool | Is_finalized () |
| Check MPI finalization status. More... | |
| int | Init_thread (int &argc, char **&argv, int requested) |
| Analogous to MPI_Init_thread. More... | |
| int | Init_thread (int requested) |
| Analogous to MPI_Init_thread. More... | |
| void | Init (int &argc, char **&argv) |
| Analogous to MPI_Init. More... | |
| void | Init () |
| Analogous to MPI_Init. More... | |
| int | Query_thread () |
| Analogous to MPI_Query_thread. More... | |
| double | Wtime () |
| Wall time. More... | |
| void | Attach_buffer (void *buffer, int size) |
Set buffer for Bsend . More... | |
| int | Detach_buffer (void *&buffer) |
Unset the Bsend buffer. More... | |
Variables | |
| Intracomm | COMM_WORLD = Intracomm::WorldInitObject() |
| madness::SCALABLE_MUTEX_TYPE | charon |
|
inline |
Set buffer for Bsend .
| buffer | The buffer to be used by Bsend |
| size | The size of the buffer in Bytes |
References MADNESS_MPI_TEST, and MPI_Buffer_attach().
|
inline |
Unset the Bsend buffer.
| [out] | buffer | The buffer that was used by Bsend |
References MPI_Buffer_detach().
Referenced by madness::detail::WorldMpi::~WorldMpi().
|
inline |
Analogous to MPI_Finalize.
This returns status rather than throw an exception upon failure because this is a "destructor", and throwing from destructors is evil.
References COMM_WORLD, MPI_Finalize(), and madness::tr1::shptr::shared_ptr< T >::reset().
Referenced by madness::finalize(), main(), and madness::detail::WorldMpi::~WorldMpi().
|
inline |
Analogous to MPI_Init.
| argc | The number of arguments in argv |
| argv | The vector of command-line arguments |
References SafeMPI::detail::init_comm_world(), MADNESS_MPI_TEST, and MPI_Init().
Referenced by Init(), main(), testing::internal::NativeArray< Element >::NativeArray(), and testing::internal::RE::RE().
|
inline |
Analogous to MPI_Init.
References Init().
|
inline |
Analogous to MPI_Init_thread.
| argc | the number of arguments in argv |
| argv | the vector of command-line arguments |
| requested | the desired thread level |
References SafeMPI::detail::init_comm_world(), MADNESS_MPI_TEST, and MPI_Init_thread().
Referenced by Init_thread().
|
inline |
Analogous to MPI_Init_thread.
| requested | the desired thread level |
References Init_thread().
|
inline |
Check MPI finalization status.
true if MPI has been finalized, false otherwise. References MPI_Finalized().
Referenced by madness::detail::WorldMpi::initialize(), and madness::WorldAmInterface::~WorldAmInterface().
|
inline |
Check MPI initialization status.
true if MPI has been initialized, false otherwise. References madness::initialized(), and MPI_Initialized().
Referenced by madness::detail::WorldMpi::initialize(), and SafeMPI::Intracomm::Intracomm().
|
inline |
Analogous to MPI_Query_thread.
References MADNESS_MPI_TEST, and MPI_Query_thread().
Referenced by madness::detail::WorldMpi::initialize().
|
inline |
| madness::SCALABLE_MUTEX_TYPE SafeMPI::charon |
| Intracomm SafeMPI::COMM_WORLD = Intracomm::WorldInitObject() |
Referenced by madness::ThreadPool::begin(), madness::error(), Finalize(), madness::finalize(), madness::initialize(), madness::detail::WorldMpi::initialize(), main(), test_G_R_vectors(), test_gaussian_num_coeffs(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), testNavierStokes(), and madness::WorldAmInterface::WorldAmInterface().
1.8.8