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: 39829 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 D82E227BBEA; Sat, 11 Jun 2022 08:52:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 581E427BBE9 for ; Sat, 11 Jun 2022 08:52:42 +0100 (BST) Received: from localhost ([::1]:55378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzvvF-0000HA-Fy for patchwork@mira.cbaines.net; Sat, 11 Jun 2022 03:52:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzvud-0000Fi-4P for guix-patches@gnu.org; Sat, 11 Jun 2022 03:52:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzvuc-0000cw-KN for guix-patches@gnu.org; Sat, 11 Jun 2022 03:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzvuc-00038O-F0 for guix-patches@gnu.org; Sat, 11 Jun 2022 03:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55901] [PATCH WIP] gnu: Add lis. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jun 2022 07:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55901 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55901@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165493387111980 (code B ref -1); Sat, 11 Jun 2022 07:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jun 2022 07:51:11 +0000 Received: from localhost ([127.0.0.1]:51785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzvtn-00037A-Fq for submit@debbugs.gnu.org; Sat, 11 Jun 2022 03:51:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:33734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzvtj-00036x-Fm for submit@debbugs.gnu.org; Sat, 11 Jun 2022 03:51:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzvti-000840-9z for guix-patches@gnu.org; Sat, 11 Jun 2022 03:51:07 -0400 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:39892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzvtg-0000UH-LG for guix-patches@gnu.org; Sat, 11 Jun 2022 03:51:05 -0400 Received: by mail-ej1-x643.google.com with SMTP id y19so1951017ejq.6 for ; Sat, 11 Jun 2022 00:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=cQbY++ux5caNdYLigmNUKica/5gfjSZ3UwOzwCIgYms=; b=ND6QzBq7ywFpEMjGYeus5GmPeYBmBf4jrNDNPFLRgxuc3Bbw31Iy3aAMk74s/6IZib TFmEZeCj+M8dakl7u+ID3O0hzVI3FRwGRfISMv7ZRk2xmMP4eR6owVM0HH7J7Css3zaQ 6Da4AxjE8UNMDq2ib+weTTnChcNDvBV4he2geZLVCFss4Lc1Xu2YSJQI9+HMDRHFqUpg Yl1sr/vsTbmWSO8b+juvNemOIyHMJtPfbkBFLFIFAzrRnNWVMcR7R9oCJvib1EzGTB1F AXL+kGsU/ujvPJmfmCCAEpFt7APFjm2VocfYyoO/UQOm/gOqoNXgqtanB2sa2jO/av18 iI9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=cQbY++ux5caNdYLigmNUKica/5gfjSZ3UwOzwCIgYms=; b=fc5KJxnaVo+RY/19FOOCLHD8a8hPNSgV6ZV0CM3OSbXzIGHQb1GFza9xU8SvLvvcEs ID3X+GZVkEirFkuTVeoXkENX6MRzPritXK5Fm7csHzRCh6WplhfKpSpKGEuDjTMa8+i4 VZwZKQCpLERU/lbcRasAwA8zpEuon5DVWACv+i8JHeMshXIurl2TdGDdBMXDTJjzI3vE E2/Hm4vdlHXLedznKgjNsBv0tB9FKDjvlEdjxY89QV8QWqNGrl5NHdApnWJMYkSiyXDr vtt61+Ccdskt5hWGZK1/VlIyrHi0TjeQpTbbcTUSubN7nLrbararYnwU4T+3RYcULguy IEnQ== X-Gm-Message-State: AOAM532L+8ZBaFnP6KdZHBROFD3h9j0rdnEnmD8b1vYqRCt+CBhd0wBP 3q+12K8EREijIS/Q37fFk9EqzyJ8qso= X-Google-Smtp-Source: ABdhPJxpqCsTsrnLkFDnYtIyUKcYiqktxEr5Lkr9s2bAI2/2kORN8rUNQPAA7aWhx7arNu0+QH53ig== X-Received: by 2002:a17:906:64d7:b0:712:c6d:46f8 with SMTP id p23-20020a17090664d700b007120c6d46f8mr9404850ejn.40.1654933860557; Sat, 11 Jun 2022 00:51:00 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id n13-20020a170906b30d00b00705fa7087bbsm676579ejz.142.2022.06.11.00.51.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 00:51:00 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 11 Jun 2022 09:49:23 +0200 Message-ID: <6f63db3d7bd7d727b41675fce60dc82b62009f7e.camel@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * 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")