Opened 11 years ago

Closed 10 years ago

#43496 closed defect (fixed)

cannot compile dolfin

Reported by: jacobsonclas@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: dolfin

Description

sudo port install dolfin fails after compiling all dependencies - I cannot decipher the log file (looks like boost library did not get fully loaded...)

Attachments (1)

main.log (140.5 KB) - added by jacobsonclas@… 11 years ago.

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by jacobsonclas@…

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to sean@…
Priority: HighNormal

The Priority field is for use by Macports team members only. In the future, please Cc the port maintainers (port info --maintainers dolfin).

comment:2 Changed 11 years ago by jacobsonclas@…

ok, I reinstalled boost +mpich

and this got dolfin to go all the way through to compile.

Now though I cannot run the demo (!) - the "new error" is

class-mbp:~ clasajacobson$ python /opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson': [Errno 2] No such file or directory
class-mbp:~ clasajacobson$ python /opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py
Solving linear variational problem.
Traceback (most recent call last):
  File "/opt/local/share/dolfin/demo/documented/poisson/python/demo_poisson.py", line 61, in <module>
    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'
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 11 years ago by seanfarley (Sean Farley)

Try this demo instead:

python /opt/local/share/dolfin/demo/documented/periodic/python/demo_periodic.py

It seems dolfin devs will have to fix this swig issue. Would you be able to point them to this ticket? I am quite loaded with work currently.

comment:4 in reply to:  3 ; Changed 11 years ago by jacobsonclas@…

Replying to sean@…:

Try this demo instead:

python /opt/local/share/dolfin/demo/documented/periodic/python/demo_periodic.py

It seems dolfin devs will have to fix this swig issue. Would you be able to point them to this ticket? I am quite loaded with work currently.

thanks for the reply - what address/names should I use to "point them to this ticket?"

comment:5 in reply to:  4 Changed 11 years ago by seanfarley (Sean Farley)

Replying to jacobsonclas@…:

Replying to sean@…:

Try this demo instead:

python /opt/local/share/dolfin/demo/documented/periodic/python/demo_periodic.py

It seems dolfin devs will have to fix this swig issue. Would you be able to point them to this ticket? I am quite loaded with work currently.

thanks for the reply - what address/names should I use to "point them to this ticket?"

Off the top of my head, I can't remember, but whichever mailing list they use for development.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: eld.khattatov@… added

Has duplicate #43817.

comment:7 Changed 10 years ago by seanfarley (Sean Farley)

The reporter responded off-list that the upstream development version has fixed this so these will be fixed whenever that is released.

comment:8 Changed 10 years ago by seanfarley (Sean Farley)

Looks like dolfin was updated so I'll dig into this later today.

comment:9 Changed 10 years ago by eld.khattatov@…

Cc: eld.khattatov@… removed

Cc Me!

comment:10 Changed 10 years ago by seanfarley (Sean Farley)

So, there are still problems with swig 3.0 as I reported here. I'll probably push everything but the dolfin update later today.

comment:11 Changed 10 years ago by seanfarley (Sean Farley)

Ok, I've updated everything in FEniCS except for dolfin. Will have to investigate that later.

comment:12 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Finally got this figured out and committed in r120865. Yay! I got the demos to run for me so I'll close this ticket.

Note: See TracTickets for help on using tickets.