Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
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}
\# 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


     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
           pip install ./jep-3.1.0
          cd -

cd software/pcraster

         . get.sh
         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 -

{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}