The wreport software suite depends on many external software packages which are usually available in precompiled form on Linux/GNU systems. However, thanks to its modular build system, it is possible to build the suite with reduced capabilities and with less dependencies on external software; this is useful on custom HPC systems or on proprietary Unix architectures where it may be hard to satisfy all the chain of software dependencies.
Here we explain how to build the software excluding the database capabilities, the Fortran interface and the documentation. This will prevent from using many interesting features, such as the use of a database for importing, selecting and navigating big sets of observations, but it will still allow to manipulate BUFR messages, convert between different observation formats and BUFR templates and convert to NetCDF for COSMO model:
./configure --disable-docs --prefix=/your/install/prefix
make
make install
./configure --prefix=/your/install/prefix
make
make install
./configure --disable-dballe-db --disable-dballe-python \
--disable-dballef --disable-docs --prefix=/your/install/prefix
make
make install
The only prerequisites required in this case are:
As an example, here we present the summary of a compilation session on IBM AIX system installed at ECMWF:
#!/usr/bin/ksh
export PREFIX=/your/install/prefix
export LIBPATH=$PREFIX/lib/
export PATH=$PATH:$PREFIX/bin
export CXXFLAGS="-q64"
export CXX=xlc++
export CC=xlc
export OBJECT_MODE=64
export NETCDF_VERSION=3.6.1
export NETCDF_MODE=64
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
use netcdf
## installation of popt:
## download popt library and untar; cd in untarred directory
./configure CFLAGS=-q64 --prefix=$PREFIX CXX=xlc++ CC=xlc
make
make install
## installation of wreport:
## download wreport software and untar; cd in untarred directory
./configure --prefix=$PREFIX
make CPPFLAGS+=-qrtti=all
make install
## installation of bufr2netcdf:
## download bufr2netcdf software and untar; cd in untarred directory
./configure --prefix=$PREFIX LDFLAGS=-L$PREFIX/lib
make CPPFLAGS+=-qrtti=all
make install
## installation of DB-all.e:
## download dballe software and untar; cd in untarred directory
./configure --disable-dballe-db --disable-dballe-python \
--disable-dballef --disable-docs --prefix=$PREFIX LDFLAGS="-L$PREFIX/lib -lintl -liconv"
gmake CPPFLAGS+=-qrtti=all
gmake install