Installation of MEML
It is recommended for an optimal speed to install FFEP and all the software it
depends on from source code. In particular an adapted ATLAS can distinctly
speed up generated programs. So this webpage provides an
installation instructions to compile all of the needed software on your system.
Installation from source code
-
First of all make sure that
MEML
and its dependencies are installed.
-
First get the software form SourceForge
http://sourceforge.net/projects/ffep/
Unpack it and enter the directory
tar xzf ffep-0.8.3.tar.gz
cd ffep-0.8.3
-
If you want to install FFEP in your home directory gone on like this
./configure --prefix=$HOME/local/ CFLAGS="-Wall -W -O2 $CFLAGS -I$HOME/local/include/UMFPACK/ -I$HOME/local/include/"
If you are root privileges you can install the software system wide by
./configure --prefix=/usr/local/ CFLAGS="-Wall -W -O2 $CFLAGS -I$HOME/local/include/UMFPACK/ -I$HOME/local/include/"
-
now independently of the last order type now
make
make install
-
A program which uses FFEP & MEML(+Umfpack) can e.g. be compiled in the following way:
-
if ffep & meml installed in e.g. /usr/local
gcc laplace.c -lffep -lmeml -llapack /usr/lib/libf2c.a -lumfpack -lamd -lcblas -lf77blas -latlas -lm -O2 -march=athlon-xp -o laplace
-
or if ffep & meml are installed in $HOME
gcc laplace.c -static -I $HOME/local/include -I $HOME/include/UMFPACK -L $HOME/local/lib -lffep -lmeml -llapack -lf2c -lumfpack -lamd -lcblas -lf77blas -latlas -lm -O2 -march=athlon-xp -o laplace
Report bugs and problems
Please report bugs and problems in the installation routine or
alternativ way of installation on non-linux systems so that other user
can benefit form your experience.
troubleshooting