From 3d8be03276aedc4851a88db13e9ce411368d1255 Mon Sep 17 00:00:00 2001 From: Niema Moshiri Date: Fri, 17 Nov 2023 14:18:23 -0800 Subject: [PATCH] Revert OpenMP edits (will try to incorporate Sergei's fix) --- src/ShortestPathTN93.cpp | 2 +- src/read_reducer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ShortestPathTN93.cpp b/src/ShortestPathTN93.cpp index 93118c7..67cddb1 100644 --- a/src/ShortestPathTN93.cpp +++ b/src/ShortestPathTN93.cpp @@ -89,7 +89,7 @@ void relaxDistanceEstimates (const unsigned long theSequence, const long firstSe #if _OPENMP >= 200805 - #pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates) + #pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates, step_penalty, min_overlap, resolutionOption, firstSequenceLength, theSequence, left_to_do) #else #pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates) #endif diff --git a/src/read_reducer.cpp b/src/read_reducer.cpp index aa0a122..96475fc 100644 --- a/src/read_reducer.cpp +++ b/src/read_reducer.cpp @@ -125,7 +125,7 @@ void handle_a_sequence (StringBuffer& current_sequence, StringBuffer& current_cl #ifdef _OPENMP #if _OPENMP >= 200805 - #pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster, sequence_lengths, current_sequence, current_clusters) + #pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster, sequence_lengths, current_sequence, current_clusters, firstSequenceLength, min_overlap) #else #pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster) #endif