# Installation

To install the library, just uncompress the package

tar -xjvf jutime_source.tar.bz2

Change into the folder jutime and adjust the options in the file Makefile.defs according to your needs. You should change/adapt the following lines:

PREFIX
Put in here the absolute path to the root directory of JUTIME
MPI
If you compile with MPI, set this to -DMPI, otherwise leave unset
CPP
The C pre-processor command
FORTUNDERSCORE
If your Fortran compiler adds an underscore to routine/function names (e.g. Intel compiler), set this to -DFORTRAN, otherwise leave unset
F90
CC
CFLAGS
Adapt to the C compiler you are using. Make sure the "." directory is used as include path
FFLAGS
Adapt to the Fortran compiler you are using. Make sure the "." directory is used as include path

You should not need to change the Makefile. To compile and install the library typ

make all

The libraries and include file will be compiled and installed in

$PREFIX/lib $PREFIX/include

To compile the C and Fortran tests type

make tests

They are compiled and installed in

\$PREFIX/examples