From 170e350a930813fbc44a65557e45558ff225884d Mon Sep 17 00:00:00 2001 From: Christian Godenschwager <christian.godenschwager@fau.de> Date: Thu, 4 Oct 2018 16:11:17 +0200 Subject: [PATCH] Disable OpenMP for Intel compiler at buggy loop --- src/blockforest/loadbalancing/DynamicCurve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockforest/loadbalancing/DynamicCurve.h b/src/blockforest/loadbalancing/DynamicCurve.h index d72b60726..135ce9461 100644 --- a/src/blockforest/loadbalancing/DynamicCurve.h +++ b/src/blockforest/loadbalancing/DynamicCurve.h @@ -719,7 +719,7 @@ void DynamicCurveBalance< PhantomData_T >::mortonOrderWeighted( const std::vecto } } -#ifdef _OPENMP +#if defined(_OPENMP) && (__INTEL_COMPILER != 1800) // Disable OpenMP for Intel 2018 due to a bug #pragma omp parallel for schedule(static) #endif for( int i = 0; i < int_c( blocksPerLevel.size() ); ++i ) -- GitLab