wiki:CDB_Install

Version 6 (modified by lalibert, 8 years ago) (diff)

--

Installing the CDB

Prerequisite

Downloading the package

  • The package can be found in the main download
  • This package requires sample diagnostics

Setting up the environment

  • One must create a BASH header file. This file should then be placed in in the source directory $CDB_SOURCE_DIR. For example, on CICLAD, the following works well:
    # cdb_header.sh
    # PROGRAMS:
    #
    export CDB_CDO_PATH="/home/$USER/local/cdo/bin"
    export CDB_NCO_PATH="/home/$USER/local/nco/bin"
    export CDB_PYTHON_PATH="/home/$USER/local/bin"
    #
    # DIRECTORIES:
    #
    export CDB_ROOT_DIR="home/$USER/CDB"
    export CDB_DIAG_DIR="$CDB_ROOT_DIR/diags"
    export CDB_SCRIPT_DIR="$CDB_ROOT_DIR/scripts"
    export CDB_SOURCE_DIR="$CDB_ROOT_DIR/driver"
    
    export CDB_IN_DIR="/data/$USER/CDB/in"
    export CDB_OUT_DIR="/data/$USER/CDB/out"
    export CDB_TEMP_DIR="/data/$USER/CDB/temp/$USER"
    export CDB_DATA_DIR="/prodigfs/esg/CMIP5/merge"