Skip to content
emolch edited this page Nov 24, 2011 · 34 revisions

Kiwi Compilation and Installation Guide

The Kiwi codes have so far been compiled on Linux and Mac OS X, but it should be possible to compile them on any UNIX system, where HDF5 and FFTW3 are available.

Prerequisites

  • A Fortran 95 compiler -- Most testing has been done with gfortran, g95, and ifort. The compiler must support allocatable derived type components, which is a Fortran 2003 feature. (Most Fortran 95 compilers support this however.)
  • HDF5 -- The Fortran bindings to HDF5 have to be compiled with the same compiler, as is used to compile the Kiwi tools. Sorry, this is a Fortran95 problem: .mod files are compiler specific. Usually something like the following succeeds, with the more recent versions of HDF5:
FC=g95 ./configure --enable-fortran --prefix=/somewhere/hdf5-g95
make
make install

# and if you want a second installation using a different compiler:

FC=ifort ./configure --enable-fortran --prefix=/somewhere/hdf5-ifort
make clean
make 
make install
Clone this wiki locally