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:user:installation [2009-12-19 22:54:20] paule |
kvalobs:kvoss:system:qc2:user:installation [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installation ====== | ====== Installation ====== | ||
| - | FIXME | + | * Log into the target machine |
| + | * If an old kvqc2 exists stop the running kvqc2 process by ' | ||
| + | * Remove active configuration files (this is to just ensure that when the new kvqc2 version is set running it does not find and use an old configuration file) | ||
| - | Qc2 will build as part of the normal kvoss distribution. However, this is currently turned off in the kvoss trunk. | + | For example: |
| + | < | ||
| + | $ cd / | ||
| + | $ mv XXX.cfg XXX.hold | ||
| + | $ mv ProcessUnit.cfg ProcessUnit.hold | ||
| + | </ | ||
| - | Minor chaanges need to be made to | + | Install |
| - | The branch: https:// | + | |
| - | < | + | |
| - | and the src/ | + | |
| - | < | + | |
| - | to build kvQc2. It is not recommended to build from the branch since this is an old snapshot. For now it is just an illustration | + | |
| - | Even then, there are surprises | + | * Log in as a user with sudoer permission |
| - | * requires netcdf | + | * NB one may need to run " |
| - | * requires | + | * Run the following command: |
| - | * utilises a number of other boost libraries (ITEMIZE) **TBD** | + | |
| + | < | ||
| + | $ sudo apt-get install kvqc2 | ||
| + | </ | ||
| + | The kvqc2 executable is placed in the standard location and the log and configuration files are managed as determined by the kvalobs package settings that can be checked with the " | ||
| - | .... more will appear here in time ... | + | < |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ^Description | ||
| + | |Binary | ||
| + | |Log files, Qc2.log ... | / | ||
| + | |Algorithm configuration files *.cfg | / | ||
| + | |Generic configuration (kvalobs.conf) | / | ||
| + | |||
| + | Check if a kvqc2 entry is included in the kv_ctl.conf (usually / | ||
| + | |||
| + | < | ||
| + | START_PROGS=" | ||
| + | STOP_PROGS=" | ||
| + | TIMEOUT=60 | ||
| + | KVUSER=kvalobs | ||
| + | |||
| + | </ | ||
| + | |||
| + | ====== " | ||
| + | |||
| + | |||
| + | For the kvqc2-1.0.2 revision: | ||
| + | |||
| + | < | ||
| + | xxx@dev-vm101: | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree... Done | ||
| + | The following packages | ||
| + | kvqc2 | ||
| + | 1 upgraded, 0 newly installed, 0 to remove and 78 not upgraded. | ||
| + | Need to get 288kB of archives. | ||
| + | After unpacking 0B of additional disk space will be used. | ||
| + | Get:1 http:// | ||
| + | Fetched 288kB in 0s (12.7MB/ | ||
| + | (Reading database ... 52403 files and directories currently installed.) | ||
| + | Preparing to replace kvqc2 1.0.1-1 (using .../ | ||
| + | Unpacking replacement kvqc2 ... | ||
| + | Setting up kvqc2 (1.0.2-1) ... | ||
| + | xxx@dev-vm101: | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== Dependencies ====== | ||
| + | |||
| + | |||
| + | QC2 utilises the same kvalobs libraries as QC1 (e.g. kvcpp and puTools). Other dependencies should be handled gracefully by aptititue (i.e. apt-get install etc...). | ||
| + | |||
| + | **NOTE** //This has not yet been confirmed by trying to install Qc2 on an operational machine!!! | ||
| + | // | ||
| + | |||
| + | For reference other dependencies include: | ||
| + | * netcdf | ||
| + | * GNU Scientific Library | ||
| + | * additional boost libraries | ||
| + | |||
| + | That can be added separately if //apt-get install// does not do this automatically: | ||
| + | |||
| + | < | ||
| + | $ apt-get install libgsl0-dbg libgsl0-dev libgsl0ldbl | ||
| + | $ apt-get install proj | ||
| + | $ apt-get install libnetcdf4 | ||
| + | $ apt-get install libnetcdf-dev | ||
| + | $ apt-get install libboost-filesystem-dev | ||
| + | $ apt-get install 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 | ||
| + | </ | ||