Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add backtrace functionality from CarpetLib #323

Closed
wants to merge 2 commits into from
Closed

Conversation

rhaas80
Copy link
Member

@rhaas80 rhaas80 commented Dec 6, 2024

This adds the backgrace functionality found in CarpetLib. When a signal is received we walk that stack trace and output address and function name of each function encountered.

Rank numbers are obtained from CCTK_MyProc instead ofdist::rank as was done in CarpetLib. No other changes really.

There is a parfile in tests that triggers a backtrace. However the test cannot be run as part of Cactus' test suite sine the the executable exits with a failure code and also produces no output.

@rhaas80
Copy link
Member Author

rhaas80 commented Dec 6, 2024

@rhaas80 rhaas80 requested a review from shankar-1729 December 6, 2024 13:44
@rhaas80
Copy link
Member Author

rhaas80 commented Dec 18, 2024

@eschnett suggested a separate thorn. It is there: https://bitbucket.org/cactuscode/cactusutils/pull-requests/44

@rhaas80 rhaas80 closed this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant