Hello,
I was looking for informations about grass and distributed computing and found a pdf on the subject. However I have a question:
The Grass 6 has some modules that can be compiled with the OpenMP option, the other modules would have to be rebuild so they can run with this option?
thanks,
Olavo D'Antonio
--
http://www.monsterhuntercommunity.com/license/nynxs
On Tue, May 31, 2011 at 6:52 PM, Olavo Borges D'Antonio
<odantonio@aol.com> wrote:
Hello,
I was looking for informations about grass and distributed computing and
found a pdf on the subject. However I have a question:
Please check this page:
http://grass.osgeo.org/wiki/Parallel_GRASS_jobs
The Grass 6 has some modules that can be compiled with the OpenMP option,
the other modules would have to be rebuild so they can run with this option?
No, it still requires source code modifications (the pragmas etc are
not yet there).
Markus
Olavo Borges D'Antonio wrote:
> The Grass 6 has some modules that can be compiled with
> the OpenMP option, the other modules would have to be
> rebuild so they can run with this option?
Markus Neteler wrote:
No, it still requires source code modifications (the
pragmas etc are not yet there).
fyi Soeren has been quietly working on it in libpde, see
lib/gpde/gpdelib.dox, N_arrays_calc.c, N_les_assemble.c, ...
a wonderful next step would be to add --with-openmp to the
./configure script, as right now you have to manually uncomment
support for it in the PDE lib's Makefile.
(see also `./configure --with-pthread` for r.mapcalc in grass7)
lib/segment/ has always stuck out as an obvious low-hanging-fruit
but AFAIR its design was less than optimal and Glynn had made
noises that it should be re-thought first. But perhaps MarkusM
has now started working on that task? (r42281)
Hamish
ps- I am starting to play with Torque (nee PBS) as a job
scheduler, usage seems very similar to Grid Engine (qsub, qstat,
... all the same).
Hello Olavo,
2011/5/31 Olavo Borges D'Antonio <odantonio@aol.com>:
Hello,
I was looking for informations about grass and distributed computing and
found a pdf on the subject. However I have a question:
The Grass 6 has some modules that can be compiled with the OpenMP option,
the other modules would have to be rebuild so they can run with this option?
Have a look at:
http://grass.osgeo.org/wiki/OpenMP
There are only a few modules using OpenMP (r.gwflow, r3.gwflow and
r.solute.transport). Parts of the gpde and gmath libraries in grass
6.5 and 7 are parallelized using OpenMP. These libraries provide tests
and benchmarks in the libraries test directories.
OpenMP is compiler dependent so specific compiler flags must be set.
Here a gcc grass compile example:
export CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration
-fno-common -fopenmp"
export LDFLAGS="-lgomp"
./configure --with-cxx --without-freetype --with-sqlite --with-python
--with-postgresql
Best regards
Soeren
thanks,
Olavo D'Antonio
--
http://www.monsterhuntercommunity.com/license/nynxs
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user