#657: add --with-openmp support to ./configure
-----------------------+----------------------------------------------------
 Reporter:  hamish     |       Owner:  grass-dev@…              
     Type:  task       |      Status:  new                      
 Priority:  normal     |   Milestone:  7.0.0                    
Component:  Compiling  |     Version:  svn-trunk                
 Keywords:  openmp     |    Platform:  All                      
      Cpu:  All        |  
-----------------------+----------------------------------------------------

Comment(by hamish):

 Hi,

 patch attached for review.

 missing from it, but done locally: autoconf'd ./configure (too big), added
 $(OMPLIBPATH) to Grass.make, added $(OMP..) to lib/gmath/test and
 lib/gpde/test Makefiles.

 missing from it, and TODO (pls help): only set OMPCFLAGS=-fopenmp for gcc
 >= 4.2.1


 seems to work very nicely indeed. race condition for lib/gpde mentioned in
 comment:4 still exists.

 see also http://grass.osgeo.org/wiki/OpenMP


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/657#comment:5>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to