fimex:install

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
fimex:install [2010-11-19 10:36:45]
heikok
fimex:install [2026-02-04 09:41:20] (current)
alexanderb
Line 1: Line 1:
 ====== Installation ====== ====== Installation ======
  
-===== Dependencies =====+Please see the wiki on [[https://github.com/metno/fimex/wiki/Build|github]].
  
-Fimex requires at least the following libraries to be installed for compilation: 
-  * c99/c++ compiler 
-  * [[http://www.xmlsoft.org|libxml2]] >= 2.5.0 
-  * [[http://www.boost.org/|boost library]] >= 1.33 
-  * [[http://proj.maptools.org|proj-4]] >= 4.4.9 
-  * [[http://www.unidata.ucar.edu/packages/udunits/|udunits]] 1.12.x or >= 2.1.11 
-  
-To configure the different file formats it requires: 
-  * [[http://www.unidata.ucar.edu/software/netcdf/|NetCDF]] (netcdf-3 > 3.6) 
-  * Felt (libmi or libfelt (bundled)) 
-  * [[http://www.ecmwf.int/products/data/software/grib_api.html|grib_api]] (> 1.4) 
- 
-===== Build ===== 
- 
-The installation follows the usual autoconf rules, see 'INSTALL' for 
-extensive information. Since Fimex makes some floating-point calculations 
-in large loops, it is advisable to switch on SIMD/SSE operations in your 
-compiler. On a Xeon machine with a x386 machine and gcc, I use the  
-following flags (those are default for x86-64) (see [[http://heikok.blogspot.com/2008/08/microbenchmark-of-sse-in-c-revisited.html|microbenchmark of sse]] for more information) 
- 
-Since fimex 0.21 
-<code> 
-CFLAGS='-O2 -mfpmath=sse -msse2' CXXFLAGS='-O2 -mfpmath=sse -msse2' ./configure --with-netcdf=/usr --with-udunits=/usr 
-make 
-make check 
-make install 
-</code> 
- 
- 
-In case of compilation against the netcdf4 library with hdf5 support, additional libraries needed by netcdf4 need to be added manually in LDFLAGS, e.g.: 
-<code> 
- LDFLAGS='-L/usr/local/hdf5.1.8/lib -lhdf5_hl -lhdf5 -lz' 
-</code> 
- 
- 
-===== Test ===== 
- 
-  * Download the file with testdata: {{:fimex:flth00.dat.gz|}} 
-  * Put this file into the test-catalogue 
-  * gunzip the file 
-  * run 'make check' (make check will work even without the testdata and skip a lot of tests) 
  • fimex/install.1290163005.txt.gz
  • Last modified: 2022-05-31 09:23:15
  • (external edit)