From e62e83cf7a09e25e3405352c1763e40c2eee8a45 Mon Sep 17 00:00:00 2001 From: Christian Godenschwager <christian.godenschwager@fau.de> Date: Tue, 9 Oct 2018 12:48:13 +0200 Subject: [PATCH] Extend OpenMP workaround for Intel 2019 compiler --- 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 135ce9461..9bd79b536 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 } } -#if defined(_OPENMP) && (__INTEL_COMPILER != 1800) // Disable OpenMP for Intel 2018 due to a bug +#if defined(_OPENMP) && ((__INTEL_COMPILER < 1800) || (__INTEL_COMPILER > 1900)) // Disable OpenMP for Intel 2018/2019 due to a bug #pragma omp parallel for schedule(static) #endif for( int i = 0; i < int_c( blocksPerLevel.size() ); ++i ) -- GitLab