You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Repositories

The system consists of 4 repositories:

Building

Building jep and pcraster

Requires:

Unknown macro: {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

     (We already checked in a version of jep 3.1.0 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 ../../../

Building OpenDA

Unknown macro: {pre}

cd public

     ant build

     cd -

cd deltares

     ant build

     cd -

cd fews

     ant build

     cd -

Configuration

Unknown macro: {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, states/states_in.xml
  • run ". run_enkf.sh"

/home/fedor/shares/G/checkouts/openda/openstreams_2013/cases/ourthe_case/Modules/OpenStreams/openda/Ourthe

NOTE:

- It may happen that older installations of certain software are already available in e.g. ~./local directory. Make sure that only those in directory 'software' are used in running the test.

  • No labels