#795: Carpet dev fails to compile without OpenMP ---------------------+------------------------------------------------------ Reporter: tbode | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: Carpet | Version: development version Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment (by eschnett):
This patch is fine (if it builds and works).
An alternative implementation would be an #ifdef _OPENMP around the call to set the CPU affinity, and replacing the thread number with 0 in the #else branch.