Installation
The following step set up a basic installation for FiPy. For further details see the installation guide.
- Install gfortran
- Install Python 2.x, x>3
- Install NumPy (> v1.0), Scipy, Matplotlib and Mayavi2
- Install pyvtk
- Install programs and libraries (and dev versions therof)
- libvtk
- libatlas
- liblapack
- libsuperlu3
- libsuitesparse-meti (in some cases aka libumfpack)
- Install PySparse (http://pysparse.sourceforge.net)
- (Optionally) Install PyTrilinos (http://trilinos.sandia.gov/) and MPI4Py (http://code.google.com/p/mpi4py/), e.g. from your distro's repo.
- Install FiPy [1]
- Install FiPy from prebuilt packages or
- Compile it yourself.
- Check out the source code
svn checkout http://matforge.org/svn/fipy/trunk fipy
- Run setup script
cd fipy/
python setup.py build
python setup.py install
- Install gmsh [2]. To improve performance you might be interested in compiling it yourself.
References
- http://www.ctcms.nist.gov/fipy/
- http://geuz.org/gmsh/
- R. Pavelka, "Numerical solving of anisotropic elliptic equation
on disconnected mesh using FiPy and Gmsh", 2012 (Mirror)
- J. E. Guyer, D. Wheeler & J. A. Warren, "FiPy: Partial Differential Equations with Python", Computing in Science & Engineering 11(3) pp. 6—15 (2009)
- C. Geuzaine and J.-F. Remacle. "Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities". International Journal for Numerical Methods in Engineering, Volume 79, Issue 11, pages 1309-1331, 2009