Skip to content

Commit

Permalink
Changes MPI_IMPLEMENTATION to MPI_LIBRARY in comm::welcome()
Browse files Browse the repository at this point in the history
  • Loading branch information
steiltre committed Oct 10, 2024
1 parent 15af5ce commit 8ab1cac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/ygm/detail/comm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ inline void comm::welcome(std::ostream &os) {
<< " YY GG GG MM MM \n"
<< " YY GGGGGG MM MM \n"
<< "======================================\n"
<< "COMM_SIZE = " << m_layout.size() << "\n"
<< "RANKS_PER_NODE = " << m_layout.local_size() << "\n"
<< "NUM_NODES = " << m_layout.node_size() << "\n";
<< "COMM_SIZE = " << m_layout.size() << "\n"
<< "RANKS_PER_NODE = " << m_layout.local_size() << "\n"
<< "NUM_NODES = " << m_layout.node_size() << "\n";

// Find MPI implementation details
char version[MPI_MAX_LIBRARY_VERSION_STRING];
Expand All @@ -90,8 +90,8 @@ inline void comm::welcome(std::ostream &os) {
std::string delimiters{',', '\n'};
auto end = version_string.find_first_of(delimiters);

sstr << "MPI_IMPLEMENTATION = " << version_string.substr(0, end) << "\n";
sstr << "YGM_VERSION = " << ygm_version << "\n";
sstr << "MPI_LIBRARY = " << version_string.substr(0, end) << "\n";
sstr << "YGM_VERSION = " << ygm_version << "\n";

config.print(sstr);

Expand Down

0 comments on commit 8ab1cac

Please sign in to comment.