#2946: CarpetX includes `<omp.h>` when OpenMP is not enabled
Reporter: Maxwell Rizzo Status: new Milestone: Version: Type: bug Priority: minor Component: CarpetX
Comment (by Roland Haas):
``` diff --git a/CarpetX/src/boundaries.cxx b/CarpetX/src/boundaries.cxx index f76fab13..17e7d492 100644 --- a/CarpetX/src/boundaries.cxx +++ b/CarpetX/src/boundaries.cxx @@ -6,7 +6,7 @@
#include <AMReX.H>
-#include <omp.h> +// #include <omp.h>
#include <algorithm> #include <cmath> diff --git a/CarpetX/src/driver.cxx b/CarpetX/src/driver.cxx index 04ba771b..76f37746 100644 --- a/CarpetX/src/driver.cxx +++ b/CarpetX/src/driver.cxx @@ -19,7 +19,6 @@ #include <AMReX_BCRec.H> #include <AMReX_ParmParse.H>
-#include <omp.h> #include <mpi.h>
#include <algorithm> ```
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2946/carpetx-includes-w...
trac@lists.einsteintoolkit.org