Commit a0b3a48c authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't mention Rank when running in non-MPI mode

parent eb7310b6
......@@ -269,13 +269,12 @@ int main(int argc, char *argv[]) {
}
/* Report host name(s). */
if (myrank == 0) {
message("Rank 0 Running on: %s", hostname());
}
#ifdef WITH_MPI
else if (verbose > 1) {
if (myrank == 0 || verbose > 1) {
message("Rank %d running on: %s", myrank, hostname());
}
#else
message("Running on: %s", hostname());
#endif
/* Do we choke on FP-exceptions ? */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment