This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start:hype_tutorials:short_intro [2018/08/23 13:53] cpers [To understand the results] |
start:hype_tutorials:short_intro [2019/11/11 08:39] cpers [Get and run the model] |
||
---|---|---|---|
Line 8: | Line 8: | ||
The code is written in Fortran and is open source under the Lesser GNU Public License. SMHI took the initiative for a HYPE Open Source Community to strengthen international collaboration in hydrological modelling. More information about the initiative can be found at [[http://hypecode.smhi.se/|hypecode.smhi.se]]. | The code is written in Fortran and is open source under the Lesser GNU Public License. SMHI took the initiative for a HYPE Open Source Community to strengthen international collaboration in hydrological modelling. More information about the initiative can be found at [[http://hypecode.smhi.se/|hypecode.smhi.se]]. | ||
- | A HYPE simulation is started from the command line with the path to the model simulation configuration file as argument. Note that the path ends with a slash. For example: | + | A HYPE simulation is in its simplest way started from the command line with the path to the model simulation configuration file as argument. Note that the path ends with a slash. For example, if your model is put in the folder model1 in the modelsetups folder on the D-drive and your Windows executable is on the P-drive, your command will look like this: |
Windows Command Prompt: | Windows Command Prompt: | ||
Line 14: | Line 14: | ||
or Linux terminal: | or Linux terminal: | ||
$ ./hype /data/hypemodels/model2/ | $ ./hype /data/hypemodels/model2/ | ||
+ | |||
+ | In the Windows example your model is put in the folder model1 in the modelsetups folder on the D-drive and your HYPE executable is in the current folder, i.e on the P-drive. In the Linux example, your model is put in the folder model2 in the hypemodels folder in the data folder and your HYPE executable is in the current folder. | ||
Note: Older versions of the HYPE executable (before 5.6.0) return a **//Code 84//** message after a successful run. | Note: Older versions of the HYPE executable (before 5.6.0) return a **//Code 84//** message after a successful run. |