RSS

Installation

The following step set up a basic installation for FiPy. For further details see the installation guide.

  1. Install gfortran
  2. Install Python 2.x, x>3
  3. Install NumPy (> v1.0), Scipy, Matplotlib and Mayavi2
  4. Install pyvtk
  5. Install programs and libraries (and dev versions therof)
    • libvtk
    • libatlas
    • liblapack
    • libsuperlu3
    • libsuitesparse-meti (in some cases aka libumfpack)
  6. Install PySparse (http://pysparse.sourceforge.net)
  7. (Optionally) Install PyTrilinos (http://trilinos.sandia.gov/) and MPI4Py (http://code.google.com/p/mpi4py/), e.g. from your distro's repo.
  8. Install FiPy [1]
    • Install FiPy from prebuilt packages or
    • Compile it yourself.
      1. Check out the source code
        svn checkout http://matforge.org/svn/fipy/trunk fipy
      2. Run setup script
        cd fipy/
        python setup.py build
        python setup.py install
  9. Install gmsh [2]. To improve performance you might be interested in compiling it yourself.

References

  1. http://www.ctcms.nist.gov/fipy/
  2. http://geuz.org/gmsh/
  3. R. Pavelka, "Numerical solving of anisotropic elliptic equation
    on disconnected mesh using FiPy and Gmsh", 2012 (Mirror)
  4. J. E. Guyer, D. Wheeler & J. A. Warren, "FiPy: Partial Differential Equations with Python", Computing in Science & Engineering 11(3) pp. 6—15 (2009)
  5. 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