On Wed, Apr 30, 2014 at 12:50 AM, Jacobson, Clas A UTRC <[email protected]> wrote: > I have tried to install dolfin (fenics) from macports. I got stuck several > times and now am stuck and do not see a way out. I could use some > pointers/help here from the broader community > > > > A couple of observations and then the actual error that I currently get: > > > > 1. The process was (is) not smooth. Boost had a lot of issues when I tried > to sudo port install dolfin- deciphering the log I loaded things differently > (not at all sure that it worked right) and had to add some packages that > were not listed as dependencies...but after 3-5 tries it went all the way > through. I posted the log from the original problem on macports if someone > is interested (sean@ was handling this for a few iterations). > > > > As a footnote its reasonable to ask "why do this?" and just use the binary. > Well, I want to use a different python and would like to combine things - > Octave, PyDSTool, etc. > > > > 2. Now, the demos don't run. Sean (@macports) apparently recognized the > problem but did not seize it to run it to ground - the ticket remains open. > I wonder if in the process of getting Python and others the swig versions > got confused. In any case things don't work... > > > > Clas > > > > ----------------- current error on poisson.py posted on fenics q&a over the > weekend (also on macports) ----------------------------- > > > > I have tried to install dolfin from macports. It got stuck - looking for > "boost." I re-installed boost +mpich. I got all the way through compile. > > > > Now, not all demos work. biharmonic and cahn-hilliard work fine. > > > > poisson gives this error > > > > class-mbp:~ clasajacobson$ python > /opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py > > Calling FFC just-in-time (JIT) compiler, this may take some time. > > Calling DOLFIN just-in-time (JIT) compiler, this may take some time. > > Calling DOLFIN just-in-time (JIT) compiler, this may take some time. > > Calling FFC just-in-time (JIT) compiler, this may take some time. > > Calling FFC just-in-time (JIT) compiler, this may take some time. > > Solving linear variational problem. > > Traceback (most recent call last): > > File > "/opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py", > line 61, in solve(a == L, u, bc) File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/fem/solving.py", > line 268, in solve _solve_varproblem(*args, **kwargs) File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dolfin/fem/solving.py", > line 297, in _solve_varproblem > > solver.solve() > > TypeError: SWIG director type mismatch in output value of type 'bool' > > > > I posted this on macports as a ticket and the response was to point to swig > errors to the "fenics developers." Is this the right venue to get this > resolved or some help here?
Yes, this is the correct forum, but I'm afraid I don't know how to solve your problem. Does anybody else have any ideas? Johannes > > > > > > > Clas A. Jacobson > > Chief Scientist > > United Technologies Systems & Controls Engineering > > [email protected] > > 860.610.7652 (office) > > 860.830.4151 (mobile) > > > > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
