Replies: 2 comments 1 reply
-
This might be a bug in gdb or macOS. https://apple.stackexchange.com/questions/420492/gdb-hangs-after-new-thread-on-macos. So probably no changes in amrex can help. If you want to disable signal handling and enable exception without using amrex::ParmParse, you can do
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot!
Ted
From: Weiqun Zhang ***@***.***>
Date: Friday, May 5, 2023 at 1:36 PM
To: AMReX-Codes/amrex ***@***.***>
Cc: Sariyski, Tzvetan Emilov ***@***.***>, Author ***@***.***>
Subject: [EXTERNAL] Re: [AMReX-Codes/amrex] debugging code linked to AMReX hangs (Discussion #3298)
This might be a bug in gdb or macOS. https://apple.stackexchange.com/questions/420492/gdb-hangs-after-new-thread-on-macos. So probably no changes in amrex can help. If you want to disable signal handling and enable exception without using amrex::ParmParse, you can do
amrex::system::signal_handling = false;
amrex::system::error_handler = nullptr;
—
Reply to this email directly, view it on GitHub<#3298 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUR7V3PCLBVSONFI5NY34WLXEVJFHANCNFSM6AAAAAAXXC3D4U>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have AMReX build as a library in debug mode. When debugging my code, the debugger hangs at ‘New Thread …’:
…
Starting program: my_program
[New Thread 0x5307 of process 87690]
I am aware that I need to change the values of throw_exception and signal_handling, but I initialize MPI with
and cannot figure out how to do that. Could you advise, please?
Thanks,
Ted
Beta Was this translation helpful? Give feedback.
All reactions