From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EBtNMjteRmU7xAAAauVa8A:P1 (envelope-from ) for ; Sat, 04 Nov 2023 16:07:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EBtNMjteRmU7xAAAauVa8A (envelope-from ) for ; Sat, 04 Nov 2023 16:07:39 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA15538FEE for ; Sat, 4 Nov 2023 16:07:39 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nv+cKOb+; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699110459; a=rsa-sha256; cv=none; b=C/hlPU11doOBwTmDRZlWCV2qS8umc2a7W3xeZqwiBgj6c6QBxi786yQi/eIKG19wHOYkvM ZMEIueMkvSh7FLXH+UIxtNLyd5z2naJ6pP90JZF0ctStTqDAAQipRY2NWqHpjXRnbxf0xk 6Nji0ytTpwHrhNy+o4AjMxjOFsd/HUCa6AMajuRogrZ+1WiaablM6GwTl2/14Z1gsAK/3I CTFHBhq9kIYjvWoXKZk3inx4jcB1aSscmBe62DyBYt87k2n6BEKZawoyDT7cv5/C/qejx+ nCVimTAj50DnMeRSyuN6vCwPcjiFvW1fMc42KnTxUi+uIJcLKISR/7gUZTTD6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699110459; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YnGrFS7sgvfMGh/Xzw91Jgg1Em+IGcAOX+4DcgUNtmM=; b=gFKPND16TtEEw2wrC2jIBCLkn8TCLvSkkPDdCSR4DVV3AoL/u863Sk6t3+cVUohcpSLFow 8B9Gb8ahB8fXZApZIsrTJNYD18WYGinwJbb80rkh369BUDu4KyYCFJ90lsW0LMVxSmDixq QsuBNhjvU3oZHGRoQodFRkYnS81vkC+fSvvgJlrJt5zvBYSRyfcAEddpNGf4VaAKP2Ouyw irXP4N15MQQ86f2lvKmOhM5NlGiKhNKio4iBLqwaw4WTt98EH7YDuUobL1g/IkSi5YooX0 qguRFR3/eu5SU+HDx9zgZRK+ldRTKYyo6H3FaIAOcBMlzcjR+jF9aTaSg3JkcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nv+cKOb+; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzIFG-0001IO-8e; Sat, 04 Nov 2023 11:07:30 -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 1qzIFF-0001ID-57 for guix-patches@gnu.org; Sat, 04 Nov 2023 11:07:29 -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 1qzIFE-0007gm-TD; Sat, 04 Nov 2023 11:07:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzIFl-0005Qh-Ux; Sat, 04 Nov 2023 11:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66930] [PATCH] gnu: Add python-pyamg. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66930 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66930@debbugs.gnu.org Cc: Felix Gruber , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by submit@debbugs.gnu.org id=B.169911046020804 (code B ref -1); Sat, 04 Nov 2023 15:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2023 15:07:40 +0000 Received: from localhost ([127.0.0.1]:35570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIFP-0005PU-KG for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:07:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzIFN-0005PH-Bz for submit@debbugs.gnu.org; Sat, 04 Nov 2023 11:07:37 -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 1qzIEh-0000nu-MQ for guix-patches@gnu.org; Sat, 04 Nov 2023 11:06:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzIEf-0007af-In for guix-patches@gnu.org; Sat, 04 Nov 2023 11:06:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 19345240104 for ; Sat, 4 Nov 2023 16:06:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699110412; bh=mD26G2Xrqr+caql1qCjCXsSWiP0S2vxG4dcJLKxkob4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=nv+cKOb+QmqW+1xsfaO+ZaLJIS2W4EsqfvFqHGCsKKTEhsLrTjyPBpFf4/2bF51+8 leFJDiYCZ76Rdn/qCoVkNn7+W7TBDwL9wMBWUjMQOGve1hKILwy2rpAxyeMeS8K4WG Ze97F5Nn1/MtXCcorniD91AfqEG0VPxP/cDc7uFuSS/h3EKGUMHd1Jn3snMVQZYjVM icdVgnwLRh/vNeQJ+13GWS1Vy3YatLUVehdLli+YXoy9Q3ZoY2CyKAWwZRPATvkKp1 JHQ1N/AEHvJkwZ/TuL+XPAi90zhMNxiP18OnijqTLTgICHJL5k1cooUx3bowu4cuQi 5NhjDtoLON+7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SN1DC4n2hz6tvJ; Sat, 4 Nov 2023 16:06:51 +0100 (CET) From: Felix Gruber Date: Sat, 4 Nov 2023 15:05:56 +0000 Message-ID: <39e96e5e211c0a24b03057c4387cc791f2e23e86.1699110356.git.felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: 3.69 X-Migadu-Queue-Id: BA15538FEE X-Migadu-Spam-Score: 3.69 X-TUID: rWKepEyWY0k6 * gnu/packages/python-science.scm (python-pyamg): New variable. Change-Id: Ibf39fecd14d4e6fd72078b217737e5e5cbbf2321 --- gnu/packages/python-science.scm | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 4063797a30..1c2edda118 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -387,6 +387,42 @@ (define-public python-trimesh library.") (license license:expat))) +(define-public python-pyamg + (package + (name "python-pyamg") + (version "5.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pyamg" version)) + (sha256 + (base32 + "0bm0cbqcj5zgs4k7djs5ga98pb95raxxdd674g744hv1iwi6gfga")))) + (build-system pyproject-build-system) + (propagated-inputs (list pybind11 python-numpy python-scipy)) + (native-inputs (list python-setuptools-scm python-pytest)) + (arguments + (list + #:test-flags + ;; Test installed package in order to find C++ modules. + #~(list "--pyargs" "pyamg.tests"))) + (home-page "https://github.com/pyamg/pyamg") + (synopsis "Algebraic Multigrid Solvers in Python") + (description "PyAMG is a Python library of Algebraic Multigrid +(AMG) solvers. + +PyAMG features implementations of: +@itemize +@item Ruge-Stuben (RS) or Classical AMG +@item AMG based on Smoothed Aggregation (SA) +@item Adaptive Smoothed Aggregation (αSA) +@item Compatible Relaxation (CR) +@item Krylov methods such as CG, GMRES, FGMRES, BiCGStab, MINRES, etc. +@end itemize +PyAMG is primarily written in Python with supporting C++ code for +performance critical operations. +") + (license license:expat))) + (define-public python-tspex (package (name "python-tspex") base-commit: 9dcd8802f5bc472579f23a38dcf437f8a9ac976c -- 2.42.0