-
Notifications
You must be signed in to change notification settings - Fork 10
Installation
emolch edited this page Nov 24, 2011
·
34 revisions
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.
- 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