GNU bug report logs - #55901
[PATCH WIP] gnu: Add lis.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Sat, 11 Jun 2022 07:52:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

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: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: bug#55901: closed (Re: [PATCH v2] gnu: Add lis.)
Date: Wed, 26 Mar 2025 22:00:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#55901: [PATCH WIP] gnu: Add lis.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 55901 <at> debbugs.gnu.org.

-- 
55901: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55901
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 55901-done <at> debbugs.gnu.org, Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Eric Bavier <bavier <at> posteo.net>
Subject: Re: [PATCH v2] gnu: Add lis.
Date: Wed, 26 Mar 2025 22:59:50 +0100
Am Mittwoch, dem 26.03.2025 um 14:44 +0100 schrieb Andreas Enge:
> Am Wed, Mar 26, 2025 at 02:08:38PM +0100 schrieb Liliana Marie
> Prikler:
> > > The patch looks good, I have made a small modification to avoid
> > > the
> > > assoc-ref, see attached. Please feel free to push.
> > Did you send the right file?  It lools like the assoc-ref is still
> > there.  I know we could use #$output, but I don't feel too strongly
> > about it.  WDYT?
> 
> Ah, sorry, I had probably forgotten to commit the local changes. Here
> it is.  I would say that #$output goes together with all the
> "modernising" changes to packaging such as gexps, not using assoc-
> ref, not ending a phase with #t, so I would prefer it.
Fair enough.

Pushed with these changes.

[Message part 3 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH WIP] gnu: Add lis.
Date: Sat, 11 Jun 2022 09:49:23 +0200
* gnu/packages/maths.scm (lis): New variable.
---
 gnu/packages/maths.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 83f0a1810b..551b58e3f6 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -934,6 +934,46 @@ (define-public lapack
     (license (license:non-copyleft "file://LICENSE"
                                 "See LICENSE in the distribution."))))
 
+(define-public lis
+  (package
+   (name "lis")
+   (version "2.0.34")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "https://www.ssisc.org/lis/dl/lis-"
+                                version ".zip"))
+            (sha256
+             (base32 "0wnsvy75rcxgy0afckyr9bi4hfrk0wsqczw5az95afd9j8ymj5pj"))))
+   (build-system gnu-build-system)
+   (arguments
+    (list
+     #:configure-flags #~(list "--enable-fortran"
+                               "--enable-f90"
+                               "--enable-openmp"
+                               "--enable-complex"
+                               "--disable-sse2" ;; XXX: tuning
+                               "--enable-shared")
+     #:phases
+     #~(modify-phases %standard-phases
+         (add-after 'install 'install-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (docdir (string-append out "/share/doc/lis-" #$version))
+                    (mandir (string-append out "/share/man")))
+
+               (copy-recursively "doc/man" mandir)
+               ;; TODO: Build the manuals ourselves
+               (install-file "doc/lis-ug-en.pdf" docdir)
+               (install-file "doc/lis-ug-ja.pdf" docdir)))))))
+   (inputs (list openmpi))
+   (native-inputs (list gfortran unzip))
+   (home-page "https://www.ssisc.org/lis")
+   (synopsis "Solve discretized linear equations and eigenvalue problems")
+   (description "Lis is a parallel software library for solving discretized
+linear equations and eigenvalue problems that arise in the numerical solution
+of partial differential equations using iterative methods.")
+   (license license:bsd-3)))
+
 (define-public clapack
   (package
     (name "clapack")
-- 
2.36.1




This bug report was last modified 53 days ago.

Previous Next


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