Opened 6 years ago

Closed 6 years ago

#42057 closed submission (fixed)

NGSolve Finite Element Library

Reported by: sebastian@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description

please find attached the port files that are necessary to install the NGSolve Finite Element Library Version 5.1 and some dependencies, see http://sourceforge.net/projects/ngsolve/. They might need some fine tuning (e.g. I did not check all gcc versions) but should be rather stable.

The port files are attached because of dependency:

Attachments (5)

ports.zip (6.5 KB) - added by sebastian@… 6 years ago.
Port files and patches
Portfile (1.7 KB) - added by seanfarley (Sean Farley) 6 years ago.
netgen
Portfile.2 (1.8 KB) - added by seanfarley (Sean Farley) 6 years ago.
ngsolve
Portfile.3 (2.5 KB) - added by seanfarley (Sean Farley) 6 years ago.
tix
Portfile.4 (2.3 KB) - added by seanfarley (Sean Farley) 6 years ago.
togl

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by sebastian@…

Attachment: ports.zip added

Port files and patches

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

A few comments:

  • This is really 4 submissions in 1 and that makes it unlikely to ever get committed. Please break this up into 4 separate tickets and do not zip up the files so that committers can easily review them. Then comments can be made on a port by port basis.
  • "openmaintainer" by itself is not valid. You want "nomaintainer".

comment:2 Changed 6 years ago by seanfarley (Sean Farley)

Ok, I just got this running. Tix, Togl, and Netgen all seem to work fine. The only real problem is with NGSolve and clang. It seems that the ngsolve project suffers from differences in vague linking between clang and gcc. If you can convince the project to fix these then we could have shared libraries (using -fvisibility=hidden is a good practice, it seems). I had to make a few changes to the portfiles you provided:

  • dropped ATLAS due to problems linking with the correct gfortran
  • use Accelerate framework for lapack
  • use released tarballs instead of subversion
  • general cleanup

The ATLAS dependence shouldn't be a big deal because this is finite element and hence sparse. I'll attach my portfiles for review.

Changed 6 years ago by seanfarley (Sean Farley)

Attachment: Portfile added

netgen

Changed 6 years ago by seanfarley (Sean Farley)

Attachment: Portfile.2 added

ngsolve

Changed 6 years ago by seanfarley (Sean Farley)

Attachment: Portfile.3 added

tix

Changed 6 years ago by seanfarley (Sean Farley)

Attachment: Portfile.4 added

togl

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

Resolution: fixed
Status: newclosed

Committed in r120744.

Note: See TracTickets for help on using tickets.