Commit 1ab0e061 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

addressing segfault in intel 17 hybrid builds

disabled OpenMP parallelization for intel 17
in a non performance critical section
parent 5c86e609
...@@ -720,7 +720,7 @@ void DynamicCurveBalance< PhantomData_T >::mortonOrderWeighted( const std::vecto ...@@ -720,7 +720,7 @@ void DynamicCurveBalance< PhantomData_T >::mortonOrderWeighted( const std::vecto
} }
} }
#if defined(_OPENMP) && ((__INTEL_COMPILER < 1800) || (__INTEL_COMPILER > 1900)) // Disable OpenMP for Intel 2018/2019 due to a bug #if defined(_OPENMP) && ((__INTEL_COMPILER < 1700) || (__INTEL_COMPILER > 1900)) // Disable OpenMP for Intel 2018/2019 due to a bug
#pragma omp parallel for schedule(static) #pragma omp parallel for schedule(static)
#endif #endif
for( int i = 0; i < int_c( blocksPerLevel.size() ); ++i ) for( int i = 0; i < int_c( blocksPerLevel.size() ); ++i )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment