GNU bug report logs - #78279
[PATCH] gnu: hdf5-parallel-openmpi: Add Fortran support.

Previous Next

Package: guix-patches;

Reported by: Romain GARBAGE <romain.garbage <at> inria.fr>

Date: Tue, 6 May 2025 12:44:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

To reply to this bug, email your comments to 78279 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#78279; Package guix-patches. (Tue, 06 May 2025 12:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Romain GARBAGE <romain.garbage <at> inria.fr>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org. (Tue, 06 May 2025 12:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Romain GARBAGE <romain.garbage <at> inria.fr>
To: guix-patches <at> gnu.org
Cc: andreas <at> enge.fr, Romain GARBAGE <romain.garbage <at> inria.fr>
Subject: [PATCH] gnu: hdf5-parallel-openmpi: Add Fortran support.
Date: Tue,  6 May 2025 14:42:14 +0200
Fortran support was removed by commit 8eeb04e205a, but was present before.

* gnu/packages/maths.scm (hdf5-parallel-openmpi) [arguments]: Add Fortran
support. Switch to G-exps. Fix path for CMake files as done by parent hdf5
package.

Change-Id: I1d7c8adea6e8cadc4d8a16d8313f65388ead009d
---
 gnu/packages/maths.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index eb23a375b4..b873cf2c5d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2193,8 +2193,11 @@ (define-public hdf5-parallel-openmpi
     (arguments
      (substitute-keyword-arguments (package-arguments hdf5)
        ((#:configure-flags _ #f)
-        ''("-DHDF5_ENABLE_THREADSAFE=OFF"
+        #~(list
+           (string-append "-DHDF5_INSTALL_CMAKE_DIR=" #$output "/lib/cmake")
+           "-DHDF5_ENABLE_THREADSAFE=OFF"
            "-DHDF5_ENABLE_PARALLEL=ON"
+           "-DHDF5_BUILD_FORTRAN=ON"
            "-DHDF5_BUILD_CPP_LIB=OFF"
            "-DHDF5_BUILD_DOC=ON"))
        ((#:phases phases)

base-commit: a824edd45e8dca9377ff38284d4df5dbcd3be6c3
-- 
2.49.0





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Thu, 08 May 2025 09:57:02 GMT) Full text and rfc822 format available.

Notification sent to Romain GARBAGE <romain.garbage <at> inria.fr>:
bug acknowledged by developer. (Thu, 08 May 2025 09:57:02 GMT) Full text and rfc822 format available.

Message #10 received at 78279-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Romain GARBAGE <romain.garbage <at> inria.fr>
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>, 78279-done <at> debbugs.gnu.org,
 Eric Bavier <bavier <at> posteo.net>
Subject: Re: [bug#78279] [PATCH] gnu: hdf5-parallel-openmpi: Add Fortran
 support.
Date: Thu, 8 May 2025 11:56:34 +0200
Thanks for the patch!

I am seeing problems with the depending package dealii-openmpi, but
this seems to be due to an unrelated build failure in scalapack, which
also fails in master. Maybe something you would like to look at next :)

Pushed to master.

Andreas





This bug report was last modified 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.