From 966619e99aebb7bac96d8c59043c2c96aefec0c2 Mon Sep 17 00:00:00 2001 From: "William D. Fullmer" Date: Fri, 28 Jun 2024 19:18:43 +0000 Subject: [PATCH] Update Debugging.rst --- docs/source_docs/Debugging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source_docs/Debugging.rst b/docs/source_docs/Debugging.rst index df57285..f8c0021 100644 --- a/docs/source_docs/Debugging.rst +++ b/docs/source_docs/Debugging.rst @@ -10,7 +10,7 @@ Debugging is an art. Everyone has their own favorite method. Here we offer a few tips we have found to be useful. Compiling in debug mode (e.g., :cpp:`make DEBUG=TRUE` for gmake users; -:cpp:`cmake -DDEBUG` for cmake users) and running with +:cpp:`cmake -DCMAKE_BUILD_TYPE=Debug` for cmake users) and running with :cpp:`amrex.fpe_trap_invalid=1` in the inputs file can be helpful. In debug mode, many compiler debugging flags are turned on and all :cpp:`MultiFab` s are initialized to signaling NaNs. The -- GitLab