Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kvalobs:kvoss:system:qc2:test:acceptance:qc2ins [2010-03-26 00:58:20]
paule
kvalobs:kvoss:system:qc2:test:acceptance:qc2ins [2022-05-31 09:29:32] (current)
Line 5: Line 5:
 **STEP 1:** Add extra libraries to the kvalobs environment **STEP 1:** Add extra libraries to the kvalobs environment
  
-The kvQc2 executable may be built in the nominal Qc1 environment with the following additions:+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://svn.met.no/viewvc/metlibs/|metlibs]])) with the following additions:
   * requires netcdf [can be turned off for operational release]   * requires netcdf [can be turned off for operational release]
   * requires the proj library   * requires the proj library
Line 26: Line 26:
 </code> </code>
  
-**STEP 2:** As user kvalobs make a local source directory and checkout the distribution from: https://svn.met.no/kvoss/kvalobs/trunk/+**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/
  
 <code> <code>
-$ mkdir kvalobs-svn +$ cd $HOME 
-$ cd kvalobs-svn +$ mkdir kvQc2-svn 
-$ co https://svn.met.no/kvoss/kvalobs/trunk/+$ cd kvQc2-svn 
 +svn co https://svn.met.no/kvoss/kvQc2/trunk/
 </code> </code>
  
-**STEP 3:** Build and install as follows: 
  
-<code> +**Conundrum** There is as-of-yet open issue with boost program optionsThe 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
-aclocal +
-automake --add-missing +
-autoreconf -i +
-./configure --prefix=/metno/kvalobs #((See below before hitting enter)+
-make  +
-make install+
  
-ADDENDUM +<code> 
-$ export KVALOBS=Your Choice +-       std::cout << full_path << std::endl; 
-$ ./configure --prefix=$KVALOBS++       //std::cout << full_path << std::endl; 
 +...  
 +          std::cout << "Does not exist: " << full_path.file_string() <<std::endl; 
 ++           std::cout << "Does not exist: " << full_path.native_file_string() <<std::endl; 
 +... 
 +             filename=dit->path().native_file_string(); 
 ++              filename=dit->native_file_string(); 
 +...
 </code> </code>
  
-** kvalobs including Qc2 is now installed locally ... under $HOME/bin ... **  
  
 +**STEP 3:** Build and install as follows:
 +
 +<code>
 +$ cd $HOME/kvQc2-svn/trunk # or specific tags directory etc
 +$ autoreconf -i
 +$ ./configure --prefix=/metno/kvalobs      # If no prefix, then Qc2 is installed in the system directories ((debian package will look after this in the future))
 +$ make 
 +$ make install
 +</code>
 +
 +** 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, i.e. comprising kv_ctl.conf, kvstart, kvstop ..., is coordinated. (see [[kvoss:system:qc2:test:acceptance:qc2operun|QC2-OPE-RUN]] ) 
  • kvalobs/kvoss/system/qc2/test/acceptance/qc2ins.1269565100.txt.gz
  • Last modified: 2022-05-31 09:23:18
  • (external edit)