[GRASS-dev] Compile only wildfire modules?

Rainer M Krug r.m.krug at gmail.com
Wed Sep 10 06:02:32 EDT 2008


On Wed, Sep 10, 2008 at 11:53 AM, Martin Landa <landa.martin at gmail.com> wrote:
> hi,
>
> 2008/9/10 Rainer M Krug <r.m.krug at gmail.com>:
>> Therefore I want to compile them with #define DEBUG enabled. At the
>> moment, I am compiling the grass completely - but there must be a way
>> of compiling only the wildfire modules (or even only r.spread)?
>
> you don't need that, just define DEBUG variable using g.gisenv
>
> g.gisenv set=DEBUG=5

Thanks - that helped.

Nevertheless, I don't seem to understand the output:

the last lines read:
D2/5:   finish a link: cost(83,56)->(90,59)=8.080127
D2/5:           in cumulatvie() cost=9.38 pre min_cost=8.08
D2/5:           in cumulatvie()          post min_cost=11.37
D2/5:   finish a link: cost(83,56)->(90,60)=11.372117
D2/5:           in cumulatvie() cost=9.05 pre min_cost=11.37
D2/5:           in cumulatvie()          post min_cost=11.04
D2/5:   finish a link: cost(83,56)->(91,55)=11.042484
D2/5:           in cumulatvie() cost=5.99 pre min_cost=11.04
D2/5:           in cumulatvie()          post min_cost=7.99
D2/5:   finish a link: cost(83,56)->(91,56)=7.985133
D2/5:           in cumulatvie() cost=4.49 pre min_cost=7.99
D2/5:           in cumulatvie()          post min_cost=6.48
D2/5:   finish a link: cost(83,56)->(91,57)=6.481792
D2/5:           in cumulatvie() cost=4.50 pre min_cost=6.48
D2/5:           in cumulatvie()          post min_cost=6.50
D2/5:   finish a link: cost(83,56)->(91,58)=6.497272
D2/5:   replace: out(91,58)=6.894371 min_cost=6.497272
D2/5:           in cumulatvie() cost=5.94 pre min_cost=6.50
D2/5:           in cumulatvie()          post min_cost=7.93
D2/5:   finish a link: cost(83,56)->(91,59)=7.933518
D2/5:   replace: out(91,59)=8.732869 min_cost=7.933518

and then it stops.

Could somebody please confirm if r.spread is really so slow? How long
does it take with the demomapset in demolocation (excuting the script
firedemo.sh manually)?

>
> run module
>
> Martin
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa


More information about the grass-dev mailing list