Commit 917dd159 authored by Yaroslav Gevorkov's avatar Yaroslav Gevorkov
Browse files

remove parallelity in init phase to avoid bugs in CrystFELs forks

parent 7fdbf98e
...@@ -51,7 +51,6 @@ endif(PINKINDEXER_BUILD_EXECUTABLE) ...@@ -51,7 +51,6 @@ endif(PINKINDEXER_BUILD_EXECUTABLE)
if(OpenMP_CXX_FOUND) if(OpenMP_CXX_FOUND)
target_link_libraries(pinkIndexer PUBLIC OpenMP::OpenMP_CXX) target_link_libraries(pinkIndexer PUBLIC OpenMP::OpenMP_CXX)
add_definitions(-DOPENMP_AVAILABLE) add_definitions(-DOPENMP_AVAILABLE)
add_definitions(-D_GLIBCXX_PARALLEL)
endif(OpenMP_CXX_FOUND) endif(OpenMP_CXX_FOUND)
if(EIGEN3_FOUND) if(EIGEN3_FOUND)
......
...@@ -41,7 +41,6 @@ namespace pinkIndexer ...@@ -41,7 +41,6 @@ namespace pinkIndexer
reflectionsDirections_sorted.resize(3, reflections.cols() - 1); // leave out reflection (0,0,0) reflectionsDirections_sorted.resize(3, reflections.cols() - 1); // leave out reflection (0,0,0)
norms_sorted.resize(reflections.cols()); norms_sorted.resize(reflections.cols());
#pragma omp parallel for
for (int i = 1; i < reflections.cols(); ++i) for (int i = 1; i < reflections.cols(); ++i)
{ {
uint32_t sortIndex = sortIndices[i]; uint32_t sortIndex = sortIndices[i];
......
Supports Markdown
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