Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Clean up logging upon calls to Simulate #269
The output upon calls to
The old output looked like this:
The new output for the same script looks like this:
If NEST was compiled without support for OpenMP, the third line of the table will read
If NEST was compiled without support for MPI, the fourth line of the table will read
While testing with 0 nodes, I found a segfault, which I then also fixed in this PR for convenience reasons.
Setting nodes_vec_network_size_ to 0 forces the nodes_vec to be resized to the current number of threads. If this is omitted, calibration reaches behind the nodes_vec and causes a segfault.
Only printing on rank 0 seems strange to me, as the number of local nodes might differ and this message might be very useful for debugging.
But I agree that rank information would be useful. However, I think it would be better if that was added globally to the