Bug 279183 - science/hdf5-110: upgrade to 1.10.11
Summary: science/hdf5-110: upgrade to 1.10.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 16:34 UTC by Thierry Thomas
Modified: 2024-06-18 19:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Upgrade to 1.10.11 and enable MPI by default (9.72 KB, patch)
2024-05-20 16:34 UTC, Thierry Thomas
no flags Details | Diff
Upgrade to 1.10.11 but do not enable MPI by default (9.61 KB, patch)
2024-06-02 20:01 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2024-05-20 16:34:13 UTC
Created attachment 250834 [details]
Upgrade to 1.10.11 and enable MPI by default

I’m working on a new version of french/aster (Code_Aster), and it uses MPI by default, therefore french/med (MED) and hdf5-110 must be built with MPI.

Since I’m there use the MPI helper.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2024-05-20 17:09:28 UTC
Remark: french/med and french/aster are the only consumers of this port, it should not impact anything else.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2024-06-02 20:01:29 UTC
Created attachment 251169 [details]
Upgrade to 1.10.11 but do not enable MPI by default

Finally don't enable MPI by default: I'm working on an upgrade of french/aster, and upstream uses MPI default, but I'm encountering problem with it, and it will be easier to fix in sequential mode.

So this second patch is just an upgrade to the latest.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-06-06 21:29:44 UTC
(In reply to Thierry Thomas from comment #2)

In fact, I do not use FORTRAN and PARALLEL options.
I have 2 questions about the patch:
- Where is the source of "PARALLEL_IMPLIES=FORTRAN"?
- Does HDF-5 not build h5fc when CXX is off and FORTRAN is on?
Thanks.
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2024-06-07 16:27:16 UTC
(In reply to Po-Chuan Hsieh from comment #3)

1) Fortran is brought by USES=mpi

2) Indeed: when CXX is off, PARALLEL is enabled, and h5fc-110 is replaced by h5pfc-110
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-06-18 19:54:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ffca62c76019b4eb4f65f9d0c5b7a6e8d331cce5

commit ffca62c76019b4eb4f65f9d0c5b7a6e8d331cce5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 19:52:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 19:52:57 +0000

    science/hdf5-110: Update to 1.10.11

    - Simplify Makefile
    - Fix PLIST: fix conditional entries

    PR:             279183
    Changes:        https://github.com/HDFGroup/hdf5/releases
                    https://www.hdfgroup.org/tag/hdf5-release/
                    https://www.hdfgroup.org/2023/09/release-of-hdf5-1-10-11-library-and-tools-newsletter-198/

 science/hdf5-110/Makefile  | 22 +++++++++---------
 science/hdf5-110/distinfo  |  6 ++---
 science/hdf5-110/pkg-plist | 57 +++++++++++++++++++++++-----------------------
 3 files changed, 43 insertions(+), 42 deletions(-)
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-06-18 19:55:22 UTC
Committed. Thanks!