If you have a problem installing the packages, please report it as a bug.
Edit /etc/apt/sources.list and add the following lines:
deb http://apt.dim.uchile.cl distro main
deb-src http://apt.dim.uchile.cl distro main
where
distro = debian xor ubuntu,
then, do a aptitude update and aptitude install python-getfem.
Since we use standard GNU tools, the installation of the Python GetFEM++ is somewhat standard.
It requires the python developpement files (python.h etc.) to be available (package python-all-dev in debian distribution), and also the numpy and scipy packages to be installed (package python-numpy and python-scipy in debian distribution). In case of troubles with a non-GNU compiler, gcc/g++ (>= 4.1) should be a safe solution (package build-essential in debian distribution).
If you want mesh generation, it requires the package qhull installed on your system (package libqhull-dev in debian distribution).
If you want to build binaries from svn to get the latest changes, improvements, bugfixes, new bugs, etc. It requires an svn client, automake, and libtool.
There are two ways to get GetFEM++, either as a compressed package (stable release) or via anonymous svn access (unstable releases).
The latest stable release of GetFEM++ is getfem++-4.0.0.tar.gz
download package:
wget http://download.gna.org/getfem/stable/getfem++-4.0.0.tar.gz
unpack:
tar xzf getfem++-4.0.0.tar.gz
and go to the root directory of getfem:
cd getfem++-4.0.0.
The latest unstable releases is:
checkout over SVN protocol (TCP 3690):
svn co svn://svn.gna.org/svn/getfem/trunk getfem
or checkout over HTTP protocol (TCP 80):
svn co http://svn.gna.org/svn/getfem/trunk getfem
go to the root directory of getfem:
cd getfem/getfem++
and run autogen.sh script:
bash autogen.sh
Configure with:
./configure --enable-python=yes
If you want to use a specific BLAS library, you may have to supply the necessary link flags and libs to the configure script, for example with:
./configure --enable-python=yes BLAS_LIBS="-L/usr/lib/sse2/atlas -lblas"
More specific instruccions can be found in the README* files of the distribution.
Warning
Then start the compilation with:
make
and finally install with:
make install