diff --git a/Docs/sphinx_documentation/source/Debugging.rst b/Docs/sphinx_documentation/source/Debugging.rst index 96cf2953510..9b77cfef4ac 100644 --- a/Docs/sphinx_documentation/source/Debugging.rst +++ b/Docs/sphinx_documentation/source/Debugging.rst @@ -100,14 +100,14 @@ The following runtime options need to be set in order to prevent AMReX from catc This default behavior can also be modified by applications, see for example `this custom application initializer `__. -The above default can also be achieve by setting the environment variable ``AMREX_DEBUG``: +Alternatively, set the environment variable ``AMREX_DEBUG`` to change the defaults in the same way: -.. highlight:: console - -:: +.. code-block: console export AMREX_DEBUG=1 +Note that input and command line arguments always have precendence over environment variables. + .. _sec:gpu:debugging: diff --git a/Src/Base/AMReX.cpp b/Src/Base/AMReX.cpp index 67c16895175..a630a6491f0 100644 --- a/Src/Base/AMReX.cpp +++ b/Src/Base/AMReX.cpp @@ -349,8 +349,6 @@ amrex::Initialize (int& argc, char**& argv, bool build_parm_parse, system::exename.clear(); // system::verbose = 0; system::regtest_reduction = false; - - system::signal_handling = !amrex_debug; system::handle_sigsegv = true; system::handle_sigterm = false;