The following commit has been merged in the master branch:
commit 22e14b1791f0bd63e5d1cdb08c4078e7e66ab166
Author: Andrei Zavada <[email protected]>
Date: Sun Apr 7 00:43:16 2013 +0300
probably fix those random omp-related hangs
diff --git a/src/metrics/psd.cc b/src/metrics/psd.cc
index 3e35b2c..214b479 100644
--- a/src/metrics/psd.cc
+++ b/src/metrics/psd.cc
@@ -164,7 +164,7 @@ go_compute()
static fftw_plan fft_plan = NULL;
static size_t saved_spp = 0;
#ifdef _OPENMP
-#pragma omp single
+#pragma omp critical
#endif
{
// if ( fft_plan == nullptr ) {
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit