You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from fipy import Grid2D, CellVariable
mesh = Grid2D(nx=5, ny=5)
v = CellVariable(mesh=mesh)
print v.min()
with
(trunk)bunter[wd15]: mpirun -np 2 python tmp.py --trilinos
Traceback (most recent call last):
File "tmp.py", line 7, in <module>
print v.min()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/variable.py", line 361, in __str__
Traceback (most recent call last):
File "tmp.py", line 7, in <module>
return str(self.value)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/variable.py", line 538, in _getValue
print v.min()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/variable.py", line 361, in __str__
value = self._calcValue()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/operatorVariable.py", line 73, in _calcValue
return self._calcValue_()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/unaryOperatorVariable.py", line 40, in _calcValue_
return str(self.value)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/variable.py", line 538, in _getValue
return self.op(self.var[0].value)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/meshVariable.py", line 427, in minParallel
value = self._calcValue()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/operatorVariable.py", line 73, in _calcValue
fn=a.min, fnParallel=self.mesh.communicator.epetra_comm.MinAll)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/meshVariable.py", line 409, in _maxminparallel_
return self._calcValue_()
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/unaryOperatorVariable.py", line 40, in _calcValue_
return fnParallel(nodeVal)
File "/users/wd15/.virtualenvs/trunk/lib/python2.6/site-packages/PyTrilinos/Epetra.py", line 4914, in MinAll
return self.op(self.var[0].value)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/meshVariable.py", line 427, in minParallel
fn=a.min, fnParallel=self.mesh.communicator.epetra_comm.MinAll)
File "/users/wd15/work/matforge/fipy/trunk/fipy/variables/meshVariable.py", line 409, in _maxminparallel_
return _Epetra.Comm_MinAll(self, *args)
TypeError: Require int, long or double array, got notype array
return fnParallel(nodeVal)
File "/users/wd15/.virtualenvs/trunk/lib/python2.6/site-packages/PyTrilinos/Epetra.py", line 4914, in MinAll
return _Epetra.Comm_MinAll(self, *args)
TypeError: Require int, long or double array, got notype array
Imported from trac ticket #421, created by wd15 on 01-13-2012 at 18:34, last modified: 01-31-2012 at 15:54
The text was updated successfully, but these errors were encountered:
The following breaks on bunter in parallel
with
Imported from trac ticket #421, created by wd15 on 01-13-2012 at 18:34, last modified: 01-31-2012 at 15:54
The text was updated successfully, but these errors were encountered: