|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_base/parallel_common.h"#include "mpi.h"#include "gtest/gtest.h"#include <complex>#include <cstring>#include <string>Classes | |
| class | MPIContext |
| class | ParaCommon |
Functions | |
| TEST_F (ParaCommon, Bcast) | |
| TEST_F (ParaCommon, BcastMPIOffsetOnCommunicator) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |
| TEST_F | ( | ParaCommon | , |
| Bcast | ) |
| TEST_F | ( | ParaCommon | , |
| BcastMPIOffsetOnCommunicator | ) |
bcast_mpi_offset broadcasts from the root of the communicator it is given, not from world rank 0. The MDCell STRU writer relies on this to share the write position within its own (possibly non-world) communicator.