Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:test:acceptance:qc2ins [2010-03-22 21:25:37] paule |
kvalobs:kvoss:system:qc2:test:acceptance:qc2ins [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
This is the installation procedure for dev-vm116. This needs to be adapted [[kvoss: | This is the installation procedure for dev-vm116. This needs to be adapted [[kvoss: | ||
+ | |||
+ | **STEP 1:** Add extra libraries to the kvalobs environment | ||
+ | |||
+ | The kvQc2 executable may be built in the nominal Qc1 environment((For the Qc1 environment key elements expected are the kvcpp and putools packages. puTools is located in [[https:// | ||
+ | * 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, | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | < | ||
+ | $ cd $HOME | ||
+ | $ mkdir kvQc2-svn | ||
+ | $ cd kvQc2-svn | ||
+ | $ svn co https:// | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Conundrum** There is as-of-yet open issue with boost program options. The default version on the different flavours of ubuntu are different, and the ReadProgramOptions.cc code has to be changed to fit the appropriate ubuntu (hardy or etc?). This is probably just an issue with which version of the library is installed and probably can be solved some other way. FIXME | ||
+ | |||
+ | < | ||
+ | - | ||
+ | + // | ||
+ | ... | ||
+ | - | ||
+ | + | ||
+ | ... | ||
+ | - filename=dit-> | ||
+ | + filename=dit-> | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | |||
+ | **STEP 3:** Build and install as follows: | ||
+ | |||
+ | < | ||
+ | $ cd $HOME/ | ||
+ | $ autoreconf -i | ||
+ | $ ./configure --prefix=/ | ||
+ | $ make | ||
+ | $ make install | ||
+ | </ | ||
+ | |||
+ | ** 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, |