[GRASS-SVN] r52882 - grass/trunk/raster/r.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 25 03:09:06 PDT 2012


Author: mmetz
Date: 2012-08-25 03:09:05 -0700 (Sat, 25 Aug 2012)
New Revision: 52882

Modified:
   grass/trunk/raster/r.proj/main.c
Log:
r.proj: disable parallelization because of segfaults

Modified: grass/trunk/raster/r.proj/main.c
===================================================================
--- grass/trunk/raster/r.proj/main.c	2012-08-25 09:59:03 UTC (rev 52881)
+++ grass/trunk/raster/r.proj/main.c	2012-08-25 10:09:05 UTC (rev 52882)
@@ -493,7 +493,12 @@
     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);



More information about the grass-commit mailing list