Browse Source

r.proj: disable parallelization because of segfaults

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52882 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 năm trước cách đây
mục cha
commit
228486305f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      raster/r.proj/main.c

+ 5 - 0
raster/r.proj/main.c

@@ -493,7 +493,12 @@ int main(int argc, char **argv)
     for (row = 0; row < outcellhd.rows; row++) {
 	/* obufptr = obuffer */;
 
+#if 0
+	/* parallelization does not always work,
+	 * segfaults in the interpolation functions 
+	 * can happen */
         #pragma omp parallel for schedule (static)
+#endif
 
 	for (col = 0; col < outcellhd.cols; col++) {
 	    void *obufptr = (void *)((const unsigned char *)obuffer + col * cell_size);