not able to run poisson-mother.py and optimal_control.py

Issue #41 new
Li Dong created an issue

I just downloaded the latest fenics, dolfin-adjoint and moola. I'm not even able to run the basic tutorial problems. Maybe there's some simple things that I didn't get right? I didn't change anything in the two tutorial problem. Thanks in advance!

For the poisson-mother.py (https://github.com/live-clones/dolfin-adjoint/blob/master/examples/poisson-mother/poisson-mother.py), I got the following error message: Traceback (most recent call last): File "poisson-mother.py", line 160, in <module> problem = MoolaOptimizationProblem(rf) NameError: name 'MoolaOptimizationProblem' is not defined

For the optimal_control.py (https://gist.github.com/funsim/6767910), I got the following error message: File "optimal_control.py", line 7, in <module> mesh = RectangleMesh(-1, -1, 1, 1, n, n) File "/usr/lib/python2.7/dist-packages/dolfin/cpp/mesh.py", line 9220, in init _mesh.RectangleMesh_swiginit(self,_mesh.new_RectangleMesh(*args)) TypeError: in method 'MPI_Comm', argument 1 of type 'new_RectangleMesh'

Comments (2)

  1. Log in to comment