I installed FiPy 3.1 on my Windows
7 computer using Enthought Canopy's Package Manager. When I try to run any
of the examples, they fail with errors (see below). Has anyone had success
running FiPy 3.1 on a Windows 7 machine? Any suggestions will be
appreciated.

\FiPy-3.1\examples\cahnHilliard>python mesh2D.py
Traceback (most recent call last):
File "mesh2D.py", line 147, in <module>
exec(fipy.tests.doctestPlus._getScript())
File "<string>", line 94, in <module>
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\term.py",
line 211, in solve
solver = self._prepareLinearSystem(var, solver, boundaryConditions, dt)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\term.py",
line 170, in _prepareLinearSystem
buildExplicitIfOther=self._buildExplcitIfOther)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\binaryTerm.py",
line 68, in _buildAndAddMatrices
buildExplicitIfOther=buildExplicitIfOther)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\unaryTerm.py",
line 99, in_buildAndAddMatrices
diffusionGeomCoeff=diffusionGeomCoeff)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\cellTerm.py",
line 163, in_buildMatrix
self._buildMatrixNoInline_(L=L, oldArray=var.old, b=b, dt=dt,
coeffVectors=coeffVectors)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\terms\cellTerm.py",
line 148, in_buildMatrixNoInline_
L.addAt(coeffVectors['new value'].ravel() / dt, ids.ravel(),
ids.swapaxes(0,1).ravel())
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\matrices\pysparseMatrix.py",
line 246, in addAt
self.matrix.update_add_at(vector, id1, id2)
TypeError: Cannot cast array data from dtype('int64') to dtype('int32')
according to the rule 'safe'

\FiPy-3.1\examples\cahnHilliard>python sphere.py
Traceback (most recent call last):
File "sphere.py", line 148, in <module>
exec(fipy.tests.doctestPlus._getScript())
File "<string>", line 36, in <module>
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\meshes\gmshMesh.py",
line 1862, in __init__
background=background)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\meshes\gmshMesh.py",
line 1578, in __init__
background=background)
File
"c:\users\phillip\appdata\local\enthought\canopy\user\lib\site-packages\fipy-3.1-py2.7.egg\fipy\meshes\gmshMesh.py",
line 151, in openMSHFile
raise EnvironmentError("Gmsh version must be >= 2.0.")
EnvironmentError: Gmsh version must be >= 2.0.
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to