Bug 222914 - [Maintainer-update] cad/calculix-ccx: Update to version 2.13
Summary: [Maintainer-update] cad/calculix-ccx: Update to version 2.13
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thomas Zander
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2017-10-10 20:52 UTC by Pedro F. Giffuni
Modified: 2017-10-30 17:20 UTC (History)
1 user (show)

See Also:


Attachments
Update patch (12.74 KB, patch)
2017-10-10 20:52 UTC, Pedro F. Giffuni
no flags Details | Diff
Updated patch (12.49 KB, patch)
2017-10-29 17:28 UTC, Thomas Zander
no flags Details | Diff
Updated patch to link with LDFLAGS (12.88 KB, patch)
2017-10-29 19:51 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 2017-10-10 20:52:11 UTC
Created attachment 187059 [details]
Update patch

New Features from http://www.dhondt.de/new_calc.htm :

Procedures
    Introduced CETOL on the *VISCO card in order to control the viscous strain increase within a time increment
    Changed the requirements on initial values for networks: initial values are required now at all open end and all crossing points in the network.
    Improved the initial value generation for gas networks
    Improved code for laminar incompressible calculations. 


Solvers
    Installed dgmres for the iterative solution of nonsymmetrical structural matrix systems (active for SOLVER=ITERATIVE SCALING) 


Elements
    Coded an element type C3D10T = C3D10 with linear temperature interpolation (improves thermal strains in structural calculations). 


Keyword cards
    Introduced SHIFTX and SHIFTY on the *AMPLITUDE card 


Constraints
    Improved the pre-tension formulation (cut faces have to stay parallel). 


User subroutines
    propertynet.f: for user-defined changes of the properties of networks defined in the input deck.
    Extended the parameter list in the interfaces of uboun.f, utemp.f, film.f and others.
    Coded a network user element (cf. documentation: Fluid Section Types: Gases).
    Coded a network user MPC interface (keyword: *NETWORK MPC).
    Coded a general user element (cf. documentation: Element Types) 


Output
    For networks the sum of the incoming flows is assigned to the end nodes (instead of the outcoming flow)
    The body heating due to electromagnetic effects can be stored in the .dat file (key: EBHE)
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2017-10-10 20:54:21 UTC
I should mention I am getting this issue when using the latest gcc6 package:

% ccx
/lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc6/libgfortran.so.3 not found

However, I see it on the previous version as well, so it's either local or a GCC6 wide issue.
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2017-10-29 17:28:28 UTC
Created attachment 187562 [details]
Updated patch

It seems the distfile has been re-rolled. New patch file contains updated distinfo.
Comment 3 Thomas Zander freebsd_committer freebsd_triage 2017-10-29 17:29:30 UTC
(In reply to Pedro F. Giffuni from comment #1)

I see the same problem. Do you have a fix for it?
Comment 4 Pedro F. Giffuni freebsd_committer freebsd_triage 2017-10-29 18:12:18 UTC
(In reply to Thomas Zander from comment #3)


As I mentioned the issue applies to existing port as well. There is now a wiki entry for the issue:

https://wiki.freebsd.org/libgcc%20problem

and I email gerald@ about it but the only "clean" way to fix it may be to move fortran ports to flang.
Comment 5 Pedro F. Giffuni freebsd_committer freebsd_triage 2017-10-29 18:12:53 UTC
(In reply to Thomas Zander from comment #2)
Thanks .. upstream likes to do that :(.
Comment 6 Pedro F. Giffuni freebsd_committer freebsd_triage 2017-10-29 19:51:12 UTC
Created attachment 187570 [details]
Updated patch to link with LDFLAGS

I figured this one out by adding LDFLAGS when linking with the fortran compiler.
Comment 7 commit-hook freebsd_committer freebsd_triage 2017-10-30 17:16:38 UTC
A commit references this bug:

Author: riggs
Date: Mon Oct 30 17:15:56 UTC 2017
New revision: 453199
URL: https://svnweb.freebsd.org/changeset/ports/453199

Log:
  Update to upstream version 2.13

  Detailed log:
  - Introduction of new features, see
    http://www.dhondt.de/new_calc.htm
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222914

  PR:		222914
  Submitted by:	pfg (maintainer)

Changes:
  head/cad/calculix-ccx/Makefile
  head/cad/calculix-ccx/distinfo
  head/cad/calculix-ccx/files/patch-CalculiX.h
  head/cad/calculix-ccx/files/patch-Makefile
  head/cad/calculix-ccx/pkg-plist