Skip to content

Conversation

@dschwoerer
Copy link
Contributor

Sometimes the backtrace is not printed. I think it might be a race between flushing stdout and mpi_abort.

As this is racy, I am not sure how to test this, but think a delay of 0.1 seconds should not matter, and might help (at least sometimes).

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

#include "bout/utils.hxx"

#include <chrono>
#include <thread>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header chrono is not used directly [misc-include-cleaner]

Suggested change
#include <thread>
#include <thread>


#include <chrono>
#include <thread>
#include <type_traits>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header thread is not used directly [misc-include-cleaner]

Suggested change
#include <type_traits>
#include <type_traits>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants