MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / comm_init

Function comm_init

quest/src/comm/comm_config.cpp:101–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101void comm_init() {
102#if COMPILE_MPI
103
104 // error if attempting re-initialisation
105 if (comm_isInit())
106 error_commAlreadyInit();
107
108 MPI_Init(NULL, NULL);
109
110#endif
111}
112
113
114void comm_end() {

Callers 1

Calls 2

comm_isInitFunction · 0.85
error_commAlreadyInitFunction · 0.85

Tested by

no test coverage detected