How to install
Since we used standard GNU tools, the installation of the getfem++ library is somewhat standard. If the getfem++ archive is on your current directory you can unpack it and enter inside the directory of the distribution with the commands
gunzip -c getfem-x.xx.tar.gz | tar xvf - cd getfem-x.xx
Then you you have to run the configure script with
./configure
or if you want to set the prefix directory where to install the library you can use the --prefix option (the default prefix directory is /usr/local):
./configure --prefix=dest_dir
then start the compilation with
make
(or preferably with gmake) and the installation with
make install
You can also check if the compilation is correct with (this will build all test programs, and run them)
make check
If you want to use a different compiler than the one chosen automatically by the ./configure script, just specify its name on the command line:
./configure CXX=mycompiler
If you want to use a specific BLAS library, you may have to supply the necessary link flags and libs to the configure script with
./configure BLAS_LIBS="-L/path/to/lib -lfoo -lbar ....etc"
More specific instructions can be found in the README* files of the distribution.
If you want to use MUMPS as the default sparse direct solver instead of SuperLU, see the indication of section *.
