[ET Trac] #2946: CarpetX includes `<omp.h>` when OpenMP is not enabled

Roland Haas trac-noreply at einsteintoolkit.org
Wed May 20 17:45:17 CDT 2026


#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-when-openmp-is-not
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20260520/dff0f4c1/attachment-0001.htm>


More information about the Trac mailing list