Skip to content
Snippets Groups Projects
Commit 92544e48 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Cosmetic change to the MPI start-up message.

parent 582043c7
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,9 @@ int main(int argc, char *argv[]) {
if ((res = MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN)) !=
MPI_SUCCESS)
error("Call to MPI_Comm_set_errhandler failed with error %i.", res);
if (myrank == 0) message("MPI is up and running with %i node(s).", nr_nodes);
if (myrank == 0)
printf("[0000] [00000.0] main: MPI is up and running with %i node(s).\n\n",
nr_nodes);
if (nr_nodes == 1) {
message("WARNING: you are running with one MPI rank.");
message("WARNING: you should use the non-MPI version of this program.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment