From b59ad53c679793260d43178eeb2aa4b07f8289e2 Mon Sep 17 00:00:00 2001 From: Woosub-Kim Date: Thu, 22 Aug 2024 14:34:43 +0900 Subject: [PATCH] fix createclusearchdb ordering issue --- src/util/createclusterdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/createclusterdb.cpp b/src/util/createclusterdb.cpp index 3a8bdb60f..72dd5bf20 100644 --- a/src/util/createclusterdb.cpp +++ b/src/util/createclusterdb.cpp @@ -43,7 +43,7 @@ int createclusearchdb(int argc, const char **argv, const Command& command) { #ifdef OPENMP thread_idx = static_cast(omp_get_thread_num()); #endif - #pragma omp for schedule(dynamic, 1) + #pragma omp for schedule(static) for (size_t id = 0; id < clusterReader.getSize(); id++) { progress.updateProgress(); char *data = clusterReader.getData(id, thread_idx);