diff --git a/Code/geometry/GeometryReader.cc b/Code/geometry/GeometryReader.cc index 46f7df2a6..6732a9dad 100644 --- a/Code/geometry/GeometryReader.cc +++ b/Code/geometry/GeometryReader.cc @@ -88,10 +88,6 @@ namespace hemelb::geometry ); } - log::Logger::Log("Opened geometry file %s", dataFilePath.c_str()); - // TODO: Why is there this fflush? - fflush(nullptr); - log::Logger::Log("Reading file preamble"); GmyReadResult geometry = ReadPreamble(); @@ -320,7 +316,7 @@ namespace hemelb::geometry constexpr auto MiB = std::size_t(1) << 20; constexpr std::size_t MAX_GMY_BUFFER_SIZE = 64U * MiB; - log::Logger::Log("Buffering compressed site data onto owning processes."); + log::Logger::Log("Streaming geometry data and caching required blocks."); log::Logger::Log("Maximum buffer size %lu B", MAX_GMY_BUFFER_SIZE); block_cache ans; diff --git a/Code/main.cc b/Code/main.cc index 4150276e7..8db3f66ba 100644 --- a/Code/main.cc +++ b/Code/main.cc @@ -23,10 +23,16 @@ int main(int argc, char *argv[]) net::MpiCommunicator commWorld = net::MpiCommunicator::World(); net::IOCommunicator hemelbCommunicator(commWorld); - try - { + log::Logger::Log( + "Initialised MPI: %d nodes x %d processes per node = %d total", + hemelbCommunicator.GetLeadersComm().Size(), + hemelbCommunicator.GetNodeComm().Size(), + hemelbCommunicator.Size() + ); + + try { // Parse command line - configuration::CommandLine options = configuration::CommandLine(argc, argv); + auto options = configuration::CommandLine(argc, argv); // Start the debugger (if requested) debug::Init(options.GetDebug(), argv[0], commWorld);