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>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78279: closed ([PATCH] gnu: hdf5-parallel-openmpi: Add
 Fortran support.)
Date: Thu, 08 May 2025 09:57:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 8 May 2025 11:56:34 +0200
with message-id <aBx_0s-21J2Ehk-6 <at> jurong>
and subject line Re: [bug#78279] [PATCH] gnu: hdf5-parallel-openmpi: Add Fortran support.
has caused the debbugs.gnu.org bug report #78279,
regarding [PATCH] gnu: hdf5-parallel-openmpi: Add Fortran support.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78279: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78279
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
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 17 days ago.

Previous Next


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