From 69d397b2058bba4ac7a3cf5462ad5d56f9fe1799 Mon Sep 17 00:00:00 2001 From: woosub-kim Date: Wed, 28 Aug 2024 12:57:37 +0900 Subject: [PATCH] consistency loss with multithreading solved --- lib/mmseqs/src/util/createclusterdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mmseqs/src/util/createclusterdb.cpp b/lib/mmseqs/src/util/createclusterdb.cpp index 3a8bdb60..72dd5bf2 100644 --- a/lib/mmseqs/src/util/createclusterdb.cpp +++ b/lib/mmseqs/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);