|
MADNESS 0.10.1
|
#include <algorithm>#include <madness/world/MADworld.h>#include <madness/world/worlddc.h>#include <madness/world/worldmutex.h>#include <madness/world/atomicint.h>#include <madness/world/vector_archive.h>#include <madness/world/parallel_archive.h>
Classes | |
| class | Double |
| struct | Key |
| struct | LargeNode |
| struct | Node |
| class | TestPmap |
Functions | |
| int | main (int argc, char **argv) |
| ostream & | operator<< (ostream &s, const Key &key) |
| ostream & | operator<< (ostream &s, const Node &node) |
| void | test0 (World &world) |
| void | test1 (World &world) |
| void | test_coalesced_redistribute (World &world) |
| void | test_florian (World &world) |
| void | test_local (World &world) |
Variables | |
| AtomicInt | double_count |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| ostream & operator<< | ( | ostream & | s, |
| const Key & | key | ||
| ) |
| void test0 | ( | World & | world | ) |
| void test1 | ( | World & | world | ) |
| void test_coalesced_redistribute | ( | World & | world | ) |
Coalesced redistribute + WorldDCSingleOwnerPmap: everything onto one rank, onto another with cap_boxes=1 (chunk boundaries), back to the default pmap. Ownership, content and count checked after every move. Run at np >= 2 – one rank makes every move a no-op.
References c, madness::WorldGopInterface::fence(), madness::World::gop, k, MADNESS_CHECK, madness::nonlinear_vector_solver(), madness::print(), madness::World::rank(), madness::World::size(), madness::WorldGopInterface::sum(), and v.
Referenced by main().
| void test_florian | ( | World & | world | ) |
| void test_local | ( | World & | world | ) |
| AtomicInt double_count |
Referenced by Double::Double(), Double::Double(), Double::~Double(), and test1().