This is an old revision of the document!


Qc2 Installation

This is the installation procedure for dev-vm116. This needs to be adapted or changed completely for the specific test environment.

STEP 1: Add extra libraries to the kvalobs environment

The kvQc2 executable may be built in the nominal Qc1 environment1) with the following additions:

  • requires netcdf [can be turned off for operational release]
  • requires the proj library
  • requires the GNU Scientific Library
  • utilises a number of other boost libraries (e.g. programoptions, filesystem) …

The following install commands give more details:

apt-get install libgsl0-dbg libgsl0-dev libgsl0ldbl
apt-get install proj
apt-get install libnetcdf4
apt-get install libnetcdf-dev
apt-get insatll libboost-filesystem-dev
apt-get insatll boost-filesystem-dev
apt-get install libboost-filesystem-dev
apt-get install libboost-program-options
apt-get install libboost-programoptions
apt-get install libboost-program-options-dev

STEP 2: As user kvalobs make a local source directory and checkout the distribution from: https://svn.met.no/kvoss/kvQc2/trunk/ or a specific release from https://svn.met.no/kvoss/kvQc2/tags/

$ cd $HOME
$ mkdir kvQc2-svn
$ cd kvQc2-svn
$ co https://svn.met.no/kvoss/kvQc2/trunk/

STEP 3: Build and install as follows:

autoreconf -i
./configure --prefix=/metno/kvalobs #((See below before hitting enter))
make 
make install

ADDENDUM
$ export KVALOBS=Your Choice
$ ./configure --prefix=$KVALOBS

kvalobs including Qc2 is now installed locally … under $HOME/bin … Depending on the setup, kvalobs Qc1 daemons are also set up here (as on dev-vm116) and the run-time kvalobs configuration (see QC2-OPE-RUN kv_ctl.conf, kvstart, kvstop is coordinated.


1)
For the Qc1 environment key elements expected are the kvcpp and putools packages. puTools is located in metlibs
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • kvalobs/kvoss/system/qc2/test/acceptance/qc2ins.1271618200.txt.gz
  • Last modified: 2022-05-31 09:23:18
  • (external edit)