GNU bug report logs - #74791
[PATCH] transformations: Add tuning wrapper for gfortran.

Previous Next

Package: guix-patches;

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

Date: Wed, 11 Dec 2024 16:10:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74791 in the body.
You can then email your comments to 74791 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#74791; Package guix-patches. (Wed, 11 Dec 2024 16:10: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 guix-patches <at> gnu.org. (Wed, 11 Dec 2024 16:10: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: ludovic.courtes <at> inria.fr, Romain GARBAGE <romain.garbage <at> inria.fr>
Subject: [PATCH] transformations: Add tuning wrapper for gfortran.
Date: Wed, 11 Dec 2024 17:06:17 +0100
guix/transformations.scm (tuning-compiler): Add gfortran to the list
of wrapped compilers.

Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb
---
 guix/transformations.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/transformations.scm b/guix/transformations.scm
index 3f7d20beaa..131b8564f8 100644
--- a/guix/transformations.scm
+++ b/guix/transformations.scm
@@ -531,7 +531,7 @@ (define bin (string-append #$output "/bin"))
                                      (symlink #$program
                                               (string-append bin "/" program)))
                                    '("cc" "gcc" "clang" "g++" "c++" "clang++"
-                                     "go" "rustc" "zig")))))))
+                                     "gfortran" "go" "rustc" "zig")))))))
 
 (define (build-system-with-tuning-compiler bs micro-architecture)
   "Return a variant of BS, a build system, that ensures that the compiler that

base-commit: c2e2b0376b82a503e064fa826d1b153d94bf0b06
-- 
2.46.0





Reply sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
You have taken responsibility. (Thu, 12 Dec 2024 10:11:01 GMT) Full text and rfc822 format available.

Notification sent to Romain GARBAGE <romain.garbage <at> inria.fr>:
bug acknowledged by developer. (Thu, 12 Dec 2024 10:11:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Romain GARBAGE <romain.garbage <at> inria.fr>
Cc: 74791-done <at> debbugs.gnu.org
Subject: Re: [PATCH] transformations: Add tuning wrapper for gfortran.
Date: Thu, 12 Dec 2024 11:09:59 +0100
Hello comrade,

Romain GARBAGE <romain.garbage <at> inria.fr> skribis:

> guix/transformations.scm (tuning-compiler): Add gfortran to the list
> of wrapped compilers.
>
> Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb

I added the ‘tunable?’ property to ‘lapack’ and confirmed that this
works in a crude but reliable way:

--8<---------------cut here---------------start------------->8---
$ pgrep -fa fortran |grep -e -march
26008 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zher2.f -o CMakeFiles/blas.dir/zher2.f.o -march=skylake
26016 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zhpr2.f -o CMakeFiles/blas.dir/zhpr2.f.o -march=skylake
26019 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zgemm.f -o CMakeFiles/blas.dir/zgemm.f.o -march=skylake
--8<---------------cut here---------------end--------------->8---

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jan 2025 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 218 days ago.

Previous Next


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