Running Raven on Linux O/S system

surajitdb
Posts: 14
Joined: Sat Oct 01, 2016 8:29 am

Running Raven on Linux O/S system

Postby surajitdb » Mon Nov 21, 2016 2:24 am

How to run Raven 2.6 on a Linux O/S, preferably on Ubuntu 16.04 64-bit?

julemai
Posts: 6
Joined: Tue Nov 29, 2016 10:14 am

Re: Running Raven on Linux O/S system

Postby julemai » Tue Nov 29, 2016 10:36 am

Hi,

thanks for your interest in the Raven modeling framework.

There are several steps:

  1. Download the executable for Linux "Raven Executable (Linux/Unix) v2.6 (with manual)" form the website http://www.civil.uwaterloo.ca/jrcraig/R ... loads.html
  2. Download some example catchments to test if code runs: "Raven Example/Tutorial Files" form same website
  3. Open a terminal
  4. Change in terminal to directory where the downloaded executable is located
  5. execute Raven using the following syntax (in terminal, without quotes):
    "./Raven.exe ../RavenTutorialFiles/Alouette/Alouette"
    This runs Raven using the example catchment "Alouette" provided with the "Tutorial Files".

Don't hesitate to contact me, if you have any problem with the above mentioned steps. If the last step does not finish successfully, please include the error message in your post.

Thanks,
Julie

surajitdb
Posts: 14
Joined: Sat Oct 01, 2016 8:29 am

Re: Running Raven on Linux O/S system

Postby surajitdb » Wed Nov 30, 2016 5:58 am

Hi Julie,
I got the following error while running Raven.exe for the given tutorial on Ubuntu 16.04 64-bit system.

surajitdb@surajitdb-HP-EliteDesk-800-G1-TWR:~/surajitdb/Raven$ ./Raven.exe ../RavenTutorialFiles/Alouette/Alouette
==========================================================
RAVEN
a numerically robust semi-distributed hydrological model
Copyright 2008-2016, the Raven Development Team
Version 2.6.0
BuildDate May 18 2016
==========================================================
Cannot find file ../RavenTutorialFiles/Alouette/Alouette.rvi


===============Exiting Gracefully==============
Exiting Gracefully: Cannot find or read .rvi file
Error Type: Bad input data
===============================================
Press the ENTER key to continue


The following error was found in Raven_errors.txt file.

ERROR : Cannot find or read .rvi file

Thanking you.

Regards,

Surajit


julemai
Posts: 6
Joined: Tue Nov 29, 2016 10:14 am

Re: Running Raven on Linux O/S system

Postby julemai » Wed Dec 07, 2016 3:44 pm

Hi Surajit,

I'm sorry that it took me so long to come back to your post.

We have adjusted the Linux version of Raven and uploaded the updated executable. Would you please be so kind and download it once again and give it another try? We have tested it on the latest Ubuntu version and a 64bit machine.

Let us know if it works now!

Best regards,
Julie

surajitdb
Posts: 14
Joined: Sat Oct 01, 2016 8:29 am

Re: Running Raven on Linux O/S system

Postby surajitdb » Thu Dec 08, 2016 2:51 am

Hi Julie,
Thanks for the reply. I am getting the same outcome except the build date was 1 December, 2016. I don't understand the reason behind the getting the same outcome. Am I supposed to keep Raven.exe outside or inside RavenTutorialFiles? I kept it outside the folder.

Thanking you.

Regards,

Surajit



julemai wrote:Hi Surajit,

I'm sorry that it took me so long to come back to your post.

We have adjusted the Linux version of Raven and uploaded the updated executable. Would you please be so kind and download it once again and give it another try? We have tested it on the latest Ubuntu version and a 64bit machine.

Let us know if it works now!

Best regards,
Julie

julemai
Posts: 6
Joined: Tue Nov 29, 2016 10:14 am

Re: Running Raven on Linux O/S system

Postby julemai » Thu Dec 08, 2016 10:29 am

Hi Surajit,

thanks for downloading the new version. You should definitely use that.

The error message tells you that it can't find the "Alouette.rvi" at the location you have specified in the command

Code: Select all

./Raven.exe ../RavenTutorialFiles/Alouette/Alouette


The relative path "../RavenTutorialFiles/Alouette/Alouette" assumes that the Tutorial files are in a folder which is next to the folder containing the executable. You could try two different things:

(1) Use the absolute path to specify the location of the rvi file, e.g. "./Raven.exe ~/surajitdb/RavenTutorialFiles/Alouette/Alouette" (you have to adjust the path such that it is right for your system
(2) Copy the Raven executable right next to the rvi file and run the following command (after changing to this folder in the terminal) "./Raven.exe Alouette"

One of these two should hopefully work
Good luck!
Julie


Return to “Modelling Approaches and Tips”