- changed status to open
- removed comment
Compile error when _OPENMP not defined.
Issue #1892
closed
There is a compile error when _OPENMP is not defined. The following fixes it:
diff --git a/CarpetLib/src/dist.hh b/CarpetLib/src/dist.hh index acc646d..a5ba5be 100644 --- a/CarpetLib/src/dist.hh +++ b/CarpetLib/src/dist.hh @@ -18,6 +18,7 @@ #else static inline int omp_get_max_threads() { return 1; } static inline int omp_get_thread_num() { return 0; } +static inline int omp_get_num_threads() { return 1; } #endif #include "defs.hh"
Keyword:
Comments (4)
-
-
- changed status to open
- removed comment
-
- changed status to resolved
- removed comment
-
- changed status to closed
- edited description
- Log in to comment