h3. Repositories
The system consists of 4 repositories:
- [https://repos.deltares.nl/repos/openda/public/trunk] (All public openda components) \-> public
- [https://repos.deltares.nl/repos/openda/deltares/trunk] (All private openda components) \-> deltares
- [https://repos.deltares.nl/repos/openda/fews/trunk] (Fews specific components, for running openda inside fews) \-> fews
- [https://repos.deltares.nl/repos/openda/public/branches/openstreams_2013] (Integration of PCRaster Jep and other the model schematization) \-> openstreams_2013
h3. Building
h4. *Building jep and pcraster*
Requires:
{pre}
GENERAL: Run all the get.sh scripts in directory software and extract
cd software/jdk
. get.sh (this will open the website of Oracle from where you can download JDK7)
download jdk7 directly from the website
tar \-xvf jdk-7u45-linux-x64.tar.gz
set environment variable JAVA_HOME to $DRIHMDirectory/software/jdk/jdk1.7.0_45
add JAVA_HOME to PATH
cd -
cd software/ant
. get.sh
set environment variable ANT_HOME to $DRIHMDirectory/software/ant/apache-ant-1.9.2/
add ANT_HOME to PATH
cd -
cd software/pcraster
. get.sh
run svn revert \--depth=infinity pcraster-4.0.0-beta-20131030_x86-64_lsbcc-4
cd -
cd software/jep
. get.sh
tar \-xvf jep-(We already checked in a version of jep 3.1.0.tar.gz because we fixed a dependency)
cd \-
cd software/python
run: ./Anaconda-1.7.0-Linux-x86_64.sh
click ENTER
click q
set path where python should be installed, e.g. $DRIHMpath/software/python/anaconda
cd anaconda/bin
./pip install ../../../jep/jep-3.1.0
cd ../../../
{pre}
h4. Building OpenDA
{pre}
cd public
ant build
cd -
cd deltares
ant build
cd -
cd fews
ant build
cd -
{pre}
h3. Configuration
{pre}
1. Prepare OpenDA:
- go to openda/fews/bin
- run ". setup_openda.sh"
- run ". settings_local.sh"
- NOTE: if settings_local.sh doesn't work, first copy settings_local_linux.sh to settings_local_machinename.sh, for example settings_local_h4.sh. Then run settings_local.sh again.
2. Prepare other environment variables:
- go to openstreams_2013/provisioning
- run ". setpath.sh"
3. Run the Ourthe case:
- go to openstreams_2013\cases\ourthe_case\Modules\OpenStreams\OurtheCase_hbv\
- Fix the paths in run_info.xml
- run ". run_enkf.sh"
/home/fedor/shares/G/checkouts/openda/openstreams_2013/cases/ourthe_case/Modules/OpenStreams/openda/Ourthe
{pre} |