MADNESS
0.10.1
|
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 | |
void | Attach_buffer (void *buffer, int size) |
Set buffer for Bsend . More... | |
int | Detach_buffer (void *&buffer) |
Unset the Bsend buffer. More... | |
int | Finalize () |
Analogous to MPI_Finalize. More... | |
void | Init () |
Analogous to MPI_Init. More... | |
void | Init (int &argc, char **&argv) |
Analogous to MPI_Init. 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... | |
bool | Is_finalized () |
Check MPI finalization status. More... | |
bool | Is_initialized () |
Check MPI initialization status. More... | |
MPI_Op | Op_create (MPI_User_function *user_fn, int commute) |
Analogous to MPI_Op_create. More... | |
void | Op_free (MPI_Op op) |
Analogous to MPI_Op_free. More... | |
int | Query_thread () |
Analogous to MPI_Query_thread. More... | |
double | Wtime () |
Wall time. More... | |
Variables | |
madness::SCALABLE_MUTEX_TYPE | charon |
Intracomm | COMM_WORLD = Intracomm::WorldInitObject() |
static const int | DEFAULT_SEND_RECV_TAG = 1000 |
static const int | MPIAR_TAG = 1001 |
static const int | RMI_TAG = 1023 |
|
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().
Referenced by madness::detail::WorldMpi::WorldMpi().
|
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.
Referenced by madness::detail::WorldMpi::~WorldMpi(), main(), test_he(), test_hydro(), and testPeriodicCoulomb3d().
|
inline |
Analogous to MPI_Init.
References Init().
|
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(), test_he(), and testPeriodicCoulomb3d().
|
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 madness::detail::WorldMpi::WorldMpi(), Init_thread(), and main().
|
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 SafeMPI::Intracomm::Impl::~Impl(), madness::WorldAmInterface::~WorldAmInterface(), and madness::detail::WorldMpi::initialize().
|
inline |
Check MPI initialization status.
true
if MPI has been initialized, false
otherwise. References madness::initialized(), and MPI_Initialized().
Referenced by SafeMPI::Intracomm::Intracomm(), SafeMPI::Group::Impl::~Impl(), SafeMPI::Intracomm::Impl::~Impl(), and madness::detail::WorldMpi::initialize().
|
inline |
Analogous to MPI_Op_create.
References MADNESS_MPI_TEST, and MPI_Op_create().
Referenced by madness::RMI::assert_aslr_off().
|
inline |
Analogous to MPI_Op_free.
References MADNESS_MPI_TEST, MPI_Op_free(), and op().
Referenced by madness::RMI::assert_aslr_off().
|
inline |
Analogous to MPI_Query_thread.
References MADNESS_MPI_TEST, and MPI_Query_thread().
Referenced by madness::detail::WorldMpi::initialize().
|
inline |
Wall time.
References MPI_Wtime().
Referenced by timer(), and trantimer().
madness::SCALABLE_MUTEX_TYPE SafeMPI::charon |
Intracomm SafeMPI::COMM_WORLD = Intracomm::WorldInitObject() |
Referenced by madness::ThreadPool::ThreadPool(), madness::WorldAmInterface::WorldAmInterface(), madness::ThreadPool::begin(), madness::error(), SafeMPI::detail::init_comm_world(), madness::WorldGopInterface::initial_max_reducebcast_msg_size(), madness::initialize(), madness::detail::WorldMpi::initialize(), main(), madness::main(), realmain(), TEST_CASE(), test_G_R_vectors(), test_gaussian_num_coeffs(), test_he(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), testNavierStokes(), testPeriodicCoulomb3d(), and madness::profiling::TaskProfiler::write_to_file().
|
static |
|
static |
|
static |
tags in [1,999] ... allocated once by unique_reserved_tag
tags in [1000,1023] ... statically assigned here
tags in [1024,4095] ... allocated round-robin by unique_tag
tags in [4096,8191] ... reserved for huge msg exchange by RMI
tags in [8192,MPI::TAG_UB] ... not used/managed by madness
Referenced by madness::RMI::RmiTask::post_recv_buf().