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 [2010-08-12 09:44:54] paule |
kvalobs:kvoss:system:qc2:user:installation [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installation ====== | ====== Installation ====== | ||
| - | * Log into dev-vm101 as user kvalobs | + | * Log into the target machine |
| * If an old kvqc2 exists stop the running kvqc2 process by ' | * 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) | * 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) | ||
| Line 12: | Line 12: | ||
| </ | </ | ||
| - | ( PS NOTE: actually now all the earliy config files have been moved to / | + | Install |
| - | * Install the latest version of kvqc2 | ||
| * Log in as a user with sudoer permission | * Log in as a user with sudoer permission | ||
| * NB one may need to run " | * NB one may need to run " | ||
| + | * Run the following command: | ||
| < | < | ||
| Line 22: | Line 22: | ||
| </ | </ | ||
| - | An alternative | + | The kvqc2 executable |
| - | i.e. using "sudo dpkg -i kvqc2_1.0.1-1_i386.deb" | + | < |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ^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 / | ||
| < | < | ||
| - | paule@dev-vm101: | + | START_PROGS=" |
| - | kvqc2-1.0.1 | + | STOP_PROGS=" |
| - | kvqc2_1.0.1-1.diff.gz | + | TIMEOUT=60 |
| - | kvqc2_1.0.1-1.dsc | + | KVUSER=kvalobs |
| - | paule@dev-vm101: | + | |
| - | (Reading database ... 52403 files and directories currently installed.) | + | |
| - | Preparing to replace kvqc2 1.0.0-1 (using kvqc2_1.0.1-1_i386.deb) ... | + | |
| - | Unpacking replacement kvqc2 ... | + | |
| - | Setting up kvqc2 (1.0.1-1) ... | + | |
| - | paule@dev-vm101: | + | |
| </ | </ | ||
| - | **Bug Fix and Confirmation of apt-get install** | + | ====== "apt-get install" Example from dev-vm101 ====== |
| - | Initial tests illustrated that some data was written back to thedatabase at too high a precision. This is fixed in revision 1782: https:// | + | |
| + | For the kvqc2-1.0.2 revision: | ||
| < | < | ||
| - | paule@dev-vm101: | + | xxx@dev-vm101: |
| Reading package lists... Done | Reading package lists... Done | ||
| Building dependency tree... Done | Building dependency tree... Done | ||
| Line 58: | Line 72: | ||
| Unpacking replacement kvqc2 ... | Unpacking replacement kvqc2 ... | ||
| Setting up kvqc2 (1.0.2-1) ... | Setting up kvqc2 (1.0.2-1) ... | ||
| - | paule@dev-vm101: | + | xxx@dev-vm101: |
| </ | </ | ||
| - | Even then, there are surprises in store when building kvQc2: | + | ====== Dependencies ====== |
| - | * requires netcdf | + | |
| - | * requires the GNU Scientific Library | + | |
| - | * utilises a number of other boost libraries (ITEMIZE) **TBD** | + | |
| + | 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...). | ||
| - | .... more will appear here in time ... | + | **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 | ||
| + | </ | ||