#54148 closed defect (fixed)

dolfin and vtk: python version

Reported by: jjstickel (Jonathan Stickel) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: dolfin

Description

While dolfin only works with python-2.7 (see #51485), the vtk dependency must be installed with +python27 variant. Otherwise, library linking errors result during DOLFIN JIT compilation when using fenics/dolfin from python. Adding:

require_active_variants vtk python27

to the Portfile should resolve this issue. See attached patch.

Attachments (1)

dolfin_Portfile.diff (264 bytes) - added by jjstickel (Jonathan Stickel) 23 months ago.

Download all attachments as: .zip

Change History (5)

Changed 23 months ago by jjstickel (Jonathan Stickel)

Attachment: dolfin_Portfile.diff added

comment:1 Changed 23 months ago by seanfarley (Sean Farley)

Ah, nice. Thanks for the patch!

comment:2 Changed 23 months ago by seanfarley (Sean Farley)

Owner: set to seanfarley
Status: newaccepted

comment:3 Changed 23 months ago by mf2k (Frank Schima)

Cc: seanfarley removed
Keywords: haspatch added; vtk python removed

comment:4 Changed 12 months ago by seanfarley (Sean Farley)

Resolution: fixed
Status: acceptedclosed

In be6cba710346110214b39095237ad7edcd4e3334/macports-ports:

dolfin: update to 2017.2.0

This changes dolfin (and all other fenices project ports) to python3 since
that is what upstream has done. Also, since VTK support has been ripped out in
favor of matplotlib, this closes the vtk tickets.

Fixes: #51485
Closes: #54148

Note: See TracTickets for help on using tickets.