root/trunk/WINDOWS-INSTALLATION.txt

Revision 2901, 4.2 kB (checked in by guyer, 7 days ago)

Copying comments on state of MayaVi? to all INSTALLATION.txt docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1===========================
2Simple Windows Installation
3===========================
4
5.. contents::
6   :local:
7   :depth: 2
8
9These instructions are for the `Windows XP`_ and `Windows 2000`_
10platforms. Please see the more general |INSTALLATION-txt| for detailed
11installation instructions.  These instructions are not the only way to
12set up |FiPy| on a Windows_ OS but represent the most expedient way from
13our experience to have a usable installation up and running.
14
15.. include:: utils/include.txt
16
17.. |INSTALLATION-txt| replace:: |htmlINSTALL| |latexINSTALL|
18.. _Windows: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.microsoft.com/windows/
19.. _Windows XP: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.microsoft.com/windowsxp/
20.. _Windows 2000: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.microsoft.com/windows2000/
21
22
23Required Packages
24=================
25
26Python
27------
28
29http://www.pythonxy.com
30
31http://www.enthought.com
32
33We recommend the use of either `Enthought Python`_ or
34`Python(x,y)`_. These versions of Python_ have some of the prerequisite
35packages for |FiPy| already included. Download and install the latest
36version.
37
38.. _Python(x,y): http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.pythonxy.com
39.. _Python: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.python.org/
40.. _Enthought Python: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.enthought.com
41
42PySparse
43--------
44
45http://sourceforge.net/project/showfiles.php?group_id=101403
46
47Download and install the latest version of PySparse for Windows_
48(pysparse-x.y.z.win32-py2.X.exe). Be sure to select the version compiled
49with the correct version of Python_ to match the `Python`_ installation.
50
51
52|FiPy|
53------
54
55http://www.ctcms.nist.gov/fipy/download/
56
57Download and unpack the zip file (``FiPy-x.y.win32.zip``).  Run the
58|FiPy| installer ``FiPy-x.y.win32.exe``, which is in the base
59``FiPy-x.y`` directory.
60
61Optional Packages
62=================
63
64Gmsh
65----
66
67http://www.geuz.org/gmsh
68
69If you wish to run examples that have unstructured meshes, it is
70necessary to install Gmsh. Download and unpack the latest version of
71Gmsh for Windows. Open the unpacked folder with a browser and make sure
72that ``gmsh.exe`` is placed somewhere on the execution path.
73
74PyVTK
75-----
76
77http://www.ctcms.nist.gov/fipy/download/
78
79If you wish to use `MayaVi 1`_, PyVTK is a requirement.  Download and
80install the latest version from the |FiPy| `downloads page`_
81(``PyVTK-x.y.z.win32.exe``).
82
83.. _downloads page: http://www.ctcms.nist.gov/fipy/download
84
85MayaVi
86------
87
88.. raw:: latex
89
90   \IndexSoftware{MayaVi}
91
92http://mayavi.sourceforge.net
93
94`MayaVi 1`_ is a requirement if you wish to view 3D problems or improve
95the viewing capabilities of the superfill examples.  Download the source
96code and run ``python setup.py install`` to install from the python
97source in order for ``import mayavi`` to work at the command line.
98
99.. warning::
100
101   At the time of writing the ``import mayavi`` command is not working
102   with the `python(x,y)`_ version of `python`_.
103
104.. note::
105
106   `MayaVi 1`_ is outdated and we hope to have compatilibiltiy with
107   `MayaVi 2`_ as soon as possible.
108
109.. _MayaVi 1: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://mayavi.sourceforge.net
110.. _MayaVi 2: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://code.enthought.com/projects/mayavi
111
112Using |FiPy| on Windows
113=======================
114
115A number of interactive python environments are available such as the
116IDLE_ and Ipython_ environments. The following videos may be useful for
117explaining the use of Ipython_ on Windows:
118
119http://showmedo.com/videos/series?name=PythonIPythonSeries
120
121Testing
122-------
123
124If you have a working copy of the source, not an installed version of
125|FiPy|, you can run the tests using Ipython_ from the base |FiPy|
126directory, by typing
127
128    >>> run setup.py test
129
130in the Ipython_ shell.
131
132Running Examples
133----------------
134
135To run the |FiPy| examples in Ipython_ simply use the `run` command:
136
137    >>> run examples/diffusion/mesh20x20.py
138
139.. _IDLE: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.python.org/idle/doc/idlemain.html
140.. |FiPy| replace:: |htmlFiPy| |latexFiPy|
141.. _Ipython: http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://ipython.scipy.org
142
143
144
145
146
Note: See TracBrowser for help on using the browser.