Skip to content

Commit

Permalink
ConfigManager: Fix non-MPI warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
daboehme committed Jun 10, 2019
1 parent f31c406 commit 3e912d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/caliper/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ void
ConfigManager::use_mpi(bool enable)
{
#ifndef CALIPER_HAVE_MPI
Log(0).stream() << "ConfigManager: Cannot enable MPI support in non-MPI Caliper build!" << std::endl;
if (enable)
Log(0).stream() << "ConfigManager: Cannot enable MPI support in non-MPI Caliper build!" << std::endl;
#endif
mP->m_use_mpi = enable;
}
Expand Down

0 comments on commit 3e912d3

Please sign in to comment.