<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 2:36 AM, Vidura Dantanarayana <span dir="ltr"><<a href="mailto:vidurada@gmail.com" target="_blank">vidurada@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Currently I am investigation on the effects of the variables of Rothermel's fire behavior model. So I'm planning to modify the equations and variables in r.ros module to observe the change of output. Since the source code is available I can do the needed modifications. So do I have to compile whole the software after a change or do I have any continent way to do what I intended.<br></div></div></blockquote><div></div><div></div><div><br></div><div>Hi Vidura,<br></div><div><br></div><div>you will need to have the compilation environment ready on your system, but you don't need to compile whole GRASS GIS. On Ubuntu, you can install the grass-dev package and that should be sufficient. You can compile directly using the `make` command or you can use the `g.extension` module which avoids the need to provide parameters for the `make` command. Get this ready on Linux (not necessary Ubuntu) will be just much easier than anything else, so I recommend starting with that.<br></div><div><br></div><div>Start with downloading the code. The files are available on GRASS Trac or in HTML view of the repository, but I would just get the whole source code using Subversion (`svn`) so you can look around in the code base and copy the r.ros code from that. I would suggest you to rename the module slightly, so you always know when you are using your version and when the original one.</div><div><br></div><div>Finally, even if you would be compiling the whole code base, `make` will figure out where are the changes and compiles only the changed files which in your case would be equivalent to running `make` in the directory of the module which you could do as well.<br></div><div><br></div><div>Best,<br></div><div>Vaclav<br></div></div></div></div>