We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f50ee9 commit a374ca5Copy full SHA for a374ca5
include/ygm/detail/comm.ipp
@@ -37,7 +37,7 @@ inline comm::comm(int *argc, char ***argv)
37
: pimpl_if(std::make_shared<detail::mpi_init_finalize>(argc, argv)),
38
m_layout(MPI_COMM_WORLD),
39
m_router(m_layout, config.routing),
40
- m_logger(m_layout.size()) {
+ m_logger(m_layout.rank()) {
41
// pimpl_if = std::make_shared<detail::mpi_init_finalize>(argc, argv);
42
comm_setup(MPI_COMM_WORLD);
43
}
@@ -51,7 +51,7 @@ inline comm::comm(int *argc, char ***argv)
51
inline comm::comm(MPI_Comm mcomm)
52
: m_layout(mcomm),
53
54
55
pimpl_if.reset();
56
int flag(0);
57
YGM_ASSERT_MPI(MPI_Initialized(&flag));
0 commit comments