fimex:install

This is an old revision of the document!


How to install the software

Fimex requires at least the following libraries to be installed for compilation:

  • c99/c++ compiler
  • libxml2 >= 2.5.0
  • boost library >= 1.32 (1.33 for running tests)
  • proj-4 >= 4.4.9

To configure the different file formats it requires:

  • NetCDF (netcdf-3 > 3.6)
  • udunits >= 1.12
  • Felt (libmi)

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 microbenchmark of sse for more information)

export milib_CFLAGS=-I/disk1/metno/local/include
export milib_LIBS='-L/disk1/metno/local/lib -lmic -lmi -lg2c'
CFLAGS='-O2 -mfpmath=sse -msse2' CXXFLAGS='-O2 -mfpmath=sse -msse2' ./configure --with-NetCDF-lib-dir=/usr/lib/netcdf-3 -with-NetCDF-include-dir=/usr/include/netcdf-3
make
make check
make install
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • fimex/install.1222168267.txt.gz
  • Last modified: 2022-05-31 09:23:15
  • (external edit)