Skip to content

Commit

Permalink
ReadReduce fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
spond committed May 24, 2024
1 parent 8705363 commit ddc0ad7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/read_reducer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,7 @@ void handle_a_sequence (StringBuffer& current_sequence, StringBuffer& current_cl
unsigned long currently_defined_clusters = sequence_lengths.length()-1;
long try_cluster = -1;

#ifdef _OPENMP
#if _OPENMP >= 200805
#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
#endif
#pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster, sequence_lengths, current_sequence, current_clusters, firstSequenceLength, min_overlap)
for (long cluster_index = 0; cluster_index < currently_defined_clusters; cluster_index ++) {
#pragma omp flush (try_cluster)
if (try_cluster < 0) {
Expand Down

0 comments on commit ddc0ad7

Please sign in to comment.