From patchwork Sat Jun 11 07:49:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40844 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7CA2B27BBEA; Wed, 26 Mar 2025 10:20:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 91D0B27BBE2 for ; Wed, 26 Mar 2025 10:20:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txNrm-0007aN-EB; Wed, 26 Mar 2025 06:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txNrg-0007UI-Ao for guix-patches@gnu.org; Wed, 26 Mar 2025 06:20:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txNre-0001pa-OK for guix-patches@gnu.org; Wed, 26 Mar 2025 06:20:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=x9Cdx1pjCjYga1gJD7VFbMcs1u/wOIaBYnA9vTui3us=; b=v2n2DUijmK04RtasPBGgz6qoOybkRvrNfmcQ7/CzBOPTGL8hdwtDOcHAeTB1E1FsqslqGFwIUQcqcsYMx12kWVgava8LroI3CLOjpC2sQIrs1suF/3l5ZWxo6QnCSpQE91IHw32vFzcr8TcjxCxuI3v03Y4CuVw4YiNDqHL7PkJgJDT/d6q/7keU0Yh7I793dj2eiGvvAweV75atuNpJJu4ruYurjMwtphJPP0XYJd3SiT6aAGPgyRXqAxlzdVaSm5SFkH6kANSfxOhjE/iGRECz1Edh5452yjXrWBmlBqnGHQIegHgCwzhQuqOJz9UhI3K35uRuCljCSj1Z9vhoOg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txNre-0002AF-Hz for guix-patches@gnu.org; Wed, 26 Mar 2025 06:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55901] [PATCH v2] gnu: Add lis. References: <6f63db3d7bd7d727b41675fce60dc82b62009f7e.camel@gmail.com> In-Reply-To: <6f63db3d7bd7d727b41675fce60dc82b62009f7e.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Mar 2025 10:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55901 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55901@debbugs.gnu.org Cc: Andreas Enge , Sharlatan Hellseher , Eric Bavier Received: via spool by 55901-submit@debbugs.gnu.org id=B55901.17429843698248 (code B ref 55901); Wed, 26 Mar 2025 10:20:02 +0000 Received: (at 55901) by debbugs.gnu.org; 26 Mar 2025 10:19:29 +0000 Received: from localhost ([127.0.0.1]:41553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txNr6-00028y-VG for submit@debbugs.gnu.org; Wed, 26 Mar 2025 06:19:29 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:61811) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1txNr3-00028Y-HR for 55901@debbugs.gnu.org; Wed, 26 Mar 2025 06:19:26 -0400 Received: by mail-wm1-x342.google.com with SMTP id 5b1f17b1804b1-43cf0d787eeso68836145e9.3 for <55901@debbugs.gnu.org>; Wed, 26 Mar 2025 03:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742984359; x=1743589159; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=x9Cdx1pjCjYga1gJD7VFbMcs1u/wOIaBYnA9vTui3us=; b=m38zxX5VSq6TscAQq1Ed5ubFeGisKsA48JuXtyevImYMPTbb3NWhMwBM/y/iDwWoon bSbL2B5Hkz75D/6trsWHLU6aQZiY1YqB7r/QfUU4n5bqXHpT97s9xOS26kp2TpXlCfw2 q1Z3IQkYdExpqGJC8tNTdkSAmeDJcgVoRApOSxl8QL8N6kgx3jm/pAwQFIIBvTZVJfOf 6HY6CU/eUNC1OR+n65unHyq6f4tGmi5D0xSDWbZq7YL0eUTjRzhT9HbupqarbkJS6+Zo /dhAu21zP6dMK8zqn6Pm66lL7SfbSHjnt2N6eARenWqDTUNhB36x8wu1StoGtwy0Vi+/ sC/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742984359; x=1743589159; h=mime-version:cc:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=x9Cdx1pjCjYga1gJD7VFbMcs1u/wOIaBYnA9vTui3us=; b=dPLtDR2/wPuDV4Mb5Do9kwv8vziGN6iCqBl110lcpOsvtSTqPIuzOafSGrw3xA0O2z M14YrpK7avWJzpQ90C8SYp4RUrx+wXFXEOCQP7YqgLzOPrmdK92vM1ilfg34WMQCZh4R XDbLBg+speZx0n8G0d78KhWRCmB63n9oiGfS+4eQY0l5W35Su+saf5QB1MAELetqiryl y7rj+9CIHoeDRwbp1qesFBHISai3oCOMBl5m7u3i5fGc8Gc4p3CYRJzyPsHb3RoXj5FP TgkcRfob2X8gmMBTolEtgnGMN7cOEwsoS3CzhVKlyKHfXEWrQtUWYeWUHguI6750tEZf wnXA== X-Gm-Message-State: AOJu0YwnUefKKzEn9+4zGvxAwi1994yL2UjZlmYdCB+TBGqpWhIx7hkZ KJKZL3ZIuc4tVCN5WgS1b6drprAf7NgWnL/HVzjgJCElBcoG79iMyk8AG5fW0RU= X-Gm-Gg: ASbGnctDZUlNMah20BBLQn3XU1fD6VGXQrCsS2+d3i4ceCfJYdMX/bG3olMia9L9ODq cylDl968lNRGmK7F4cM1xhRvAzBZVGwh8btnXBAFGacshLsBO5xcB6+VXYu6OfaZRuUa5KqXeMY 81JSI3FZtYsuU5706TuLo9984Jo669kN9p8D3osLatnb9uiV8MK97jFplbSo3PMIlHgqjMOSvLe h9/IgylrI6DaUgelafv1rTm0lIbxedPepBkxWMU+42xeJi6t9/Pk4pxm0ACG0/oegxEwCiIqrsk LtG6C4fSAFgGU6gSqmv6EoB31NtqzcXaqJm13AVf5i/aU6qbn9UPCA2Ws4cbaohuUwoJ4q2bMa8 rzm98MJEc7WIxp+dw3rsJxzbTA4vCGs4= X-Google-Smtp-Source: AGHT+IFGB3ufzEFS4znhmkThtqJYqmJSm/2Cv5szsukbbJsp2YQ05h6LUPGa3wz7W1fK8Zmhq4wiEQ== X-Received: by 2002:a05:600c:5021:b0:43c:e8a5:87a with SMTP id 5b1f17b1804b1-43d509f573cmr207113645e9.16.1742984359058; Wed, 26 Mar 2025 03:19:19 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fd277d5sm179740405e9.19.2025.03.26.03.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 03:19:18 -0700 (PDT) Message-ID: <9183f2cc94079fd5afda6b700459b3d91fccddc3.1742983831.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Sat, 11 Jun 2022 09:49:23 +0200 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (lis): New variable. --- Hi Andreas, thanks for looking into this. It's not been in my focus for a while, because I'm not dealing with linear algebra daily, but given that the package still sees development, I think it's worthwile to be included in Guix. I've updated the version and kept everything else about the package the same. Tests still run fine on my machine. Cheers gnu/packages/maths.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: dbef60edb356246855ad6749936ee511fc1a9b4b diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8baf3a0a7f..27c30f223e 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1198,6 +1198,46 @@ (define-public lapack "See LICENSE in the distribution.")) (properties '((tunable? . #t))))) +(define-public lis + (package + (name "lis") + (version "2.1.8") + (source (origin + (method url-fetch) + (uri (string-append "https://www.ssisc.org/lis/dl/lis-" + version ".zip")) + (sha256 + (base32 "0nh2593xkcdv1c3gmj7i64ca393nn0ngqfl522yiwbidh9dvd1nl")))) + (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")