Difference between revisions of "How to get WRF-SFIRE"
(rm svn, did not test correctly) |
(verify) |
||
Line 15: | Line 15: | ||
;[http://gitorious.org/wrf-fire http://gitorious.org/wrf-fire] | ;[http://gitorious.org/wrf-fire http://gitorious.org/wrf-fire] | ||
:<tt><pre>git clone git://gitorious.org/wrf-fire/mainline.git</pre></tt> | :<tt><pre>git clone git://gitorious.org/wrf-fire/mainline.git</pre></tt> | ||
− | The | + | The home pages of the mirrors allow you to browse the source code as well as examine changes and view the different development branches. |
It is also possible to download the latest source code as a | It is also possible to download the latest source code as a | ||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
− | Please be sure you work with the latest files before contacting us for support. | + | If you have changed anything, the update will fail, and you have to commit your changes first by <tt>git commit -a</tt>. The <tt>git pull</tt> will then merge your changes with the new files from the repository. Please be sure you work with the latest files before contacting us for support. However, we may not be able to support code that you have changed. |
+ | |||
+ | ==Verify== | ||
+ | |||
+ | To verify which version of files you have, use | ||
+ | <pre> git log</pre> | ||
+ | |||
+ | To verify your files, | ||
+ | <pre>git diff</pre> | ||
+ | will give no output if your files have not changed from the version identified by <tt>git log</tt>. | ||
==See also== | ==See also== | ||
Line 35: | Line 44: | ||
*[[How to run WRF-Fire]] | *[[How to run WRF-Fire]] | ||
*[[WRF-Fire development notes]] | *[[WRF-Fire development notes]] | ||
+ | *[[WRF-Fire#Support|WRF-Fire support]] | ||
[[Category:WRF-Fire]] | [[Category:WRF-Fire]] | ||
[[Category:Howtos|Get WRF-Fire]] | [[Category:Howtos|Get WRF-Fire]] |
Revision as of 22:35, 13 July 2010
The WRF-Fire source code is stored in a git repository hosted at the University of Colorado Denver's Center for Computational Mathematics. A git repository is a software version control system similar to CVS or SVN. In order to obtain the software from our repository, you must first download and install the git software.
Developers with write access must push changes to the math.ucdenver.edu server.
Download
We strongly recommend to use download by git, because it allows easy updates and identification of the state of all files in case of problems. The following public, read-only mirrors are available for anyone else wanting to track the changes to the code.
- http://github.com/jbeezley/wrf-fire/
git clone git://github.com/jbeezley/wrf-fire.git
- http://gitorious.org/wrf-fire
git clone git://gitorious.org/wrf-fire/mainline.git
The home pages of the mirrors allow you to browse the source code as well as examine changes and view the different development branches.
It is also possible to download the latest source code as a tarball or zip file from each mirror; however, this method is discouraged as it will be difficult to update to the latest version.
Update
You can update your files any time to the current version, without downloading all again. If you have downloaded your copy by git,
git checkout master; git pull
If you have changed anything, the update will fail, and you have to commit your changes first by git commit -a. The git pull will then merge your changes with the new files from the repository. Please be sure you work with the latest files before contacting us for support. However, we may not be able to support code that you have changed.
Verify
To verify which version of files you have, use
git log
To verify your files,
git diff
will give no output if your files have not changed from the version identified by git log.