Opened 8 years ago

Closed 5 years ago

#50810 closed submission (duplicate)

calculix 2.9 - New port

Reported by: ian.rees@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: seanfarley (Sean Farley), petrrr, mbrethen
Port: calculix

Description

This port is meant to add CalculiX 3D FEM program ccx. We use this as the main FEM engine behind FreeCAD.

Attachments (6)

patch-spooles-build.diff (785 bytes) - added by ian.rees@… 8 years ago.
Portfile (4.4 KB) - added by ian.rees@… 8 years ago.
Combined ccx and cgx version 2.10
patch-calculix-build.diff (2.2 KB) - added by ian.rees@… 8 years ago.
patch-cgx-build.diff (2.3 KB) - added by mbrethen 8 years ago.
patch-libSNL-build.diff (334 bytes) - added by mbrethen 8 years ago.
Portfile-mdb (6.9 KB) - added by mbrethen 8 years ago.
This port file is complete and tested on el capitan

Download all attachments as: .zip

Change History (20)

Changed 8 years ago by ian.rees@…

Attachment: patch-spooles-build.diff added

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

Keywords: FEM CAD CalculiX removed
Summary: calculix 2.9 - New port requestcalculix 2.9 - New port
Version: 2.3.4

comment:2 Changed 8 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 8 years ago by mbrethen

Cc: mark.brethen@… added

Cc Me!

comment:4 Changed 8 years ago by mbrethen

Ian, I was working on a calculix port with subports ccx and cgx but you beat me to it. Pycalculix requires both. Would you consider adding cgx as a subport for those that need it?

Thanks

comment:5 in reply to:  4 Changed 8 years ago by ian.rees@…

Replying to mark.brethen@…:

Ian, I was working on a calculix port with subports ccx and cgx but you beat me to it. Pycalculix requires both. Would you consider adding cgx as a subport for those that need it?

Thanks

Sure, I'd be glad to help out athough my knowledge of calculix/Portfiles is pretty thin. Do you think it would it be better to rename this one to something like calculix-ccx and add another for calculix-cgx, or extend this port to add cgx?

Also - sorry about dropping the ball on that FreeCAD port ages ago, but we should have a new release out within the next couple weeks with luck! -Ian-

comment:6 Changed 8 years ago by mbrethen

I uploaded Portfile-mdb for you to look at. Its not complete but has ccx and cgx set up as subports.

comment:7 in reply to:  6 Changed 8 years ago by ian.rees@…

Replying to mark.brethen@…:

I uploaded Portfile-mdb for you to look at. Its not complete but has ccx and cgx set up as subports.

Cool, I probably won't get to it today, but would be glad to merge our Portfiles together.

I'm assuming you're ahead with regard to cgx, so would you be able to finish up that part of the combined Portfile? -Ian-

comment:8 Changed 8 years ago by mbrethen

I'll continue to work on cgx and post my finished port file for you to merge.

comment:9 Changed 8 years ago by mbrethen

Calculix is now at rev. 2.10. The patches to ccx will have to be updated.

comment:10 Changed 8 years ago by mbrethen

I've got the patches for v2.10 working. Now cgx uses a modified netgen to allow for tet meshing with a target element size. Since a port already exists, I'm not sure how best to implement this.

Changed 8 years ago by ian.rees@…

Attachment: Portfile added

Combined ccx and cgx version 2.10

Changed 8 years ago by ian.rees@…

Attachment: patch-calculix-build.diff added

comment:11 Changed 8 years ago by ian.rees@…

I've updated the Portfile to use Mark's subport architecture, and upgraded to v 2.10. Should we change the topic of this ticket?

Changed 8 years ago by mbrethen

Attachment: patch-cgx-build.diff added

Changed 8 years ago by mbrethen

Attachment: patch-libSNL-build.diff added

Changed 8 years ago by mbrethen

Attachment: Portfile-mdb added

This port file is complete and tested on el capitan

comment:12 Changed 8 years ago by mbrethen

I uploaded my finished port file and patches for cgx. For some reason I don't have the file ~/Library/Preferences/com.apple.LaunchServices.plist so openbrowser is complaining.

Update: There may have been changes in the OS LaunchServices. Ryan is looking into this and will update the openbrowser port.

Last edited 8 years ago by mbrethen (previous) (diff)

comment:13 Changed 8 years ago by ian.rees@…

Have tested Mark's combined Portfile on MacOS 10.10, seems ready to go once ticket #56087 is merged AFAICT. Thanks!

patch-spooles-build.diff - Meant for calculix's files directory

Portfile - Discard

patch-calculix-build.diff - Rename to patch-ccx-build.diff and put in calculix's files directory

patch-cgx-build.diff - Meant for calculix's files directory

patch-libSNL-build.diff - Meant for calculix's files directory

Portfile-mdb - Rename to Portfile

comment:14 Changed 5 years ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

superseeded by 57715 and 57763

Note: See TracTickets for help on using tickets.