From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iHZhNqAG7mZiPAAAqHPOHw:P1 (envelope-from ) for ; Fri, 20 Sep 2024 23:34:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iHZhNqAG7mZiPAAAqHPOHw (envelope-from ) for ; Sat, 21 Sep 2024 01:34:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=exNYcE4m; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mQTvaLN+; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726875296; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=43hjUHVJtfM8fKf7aQLR7qI4gBZAhIpNL8g+BI1/IaQ=; b=ca+PY1+ut2jcfNwm/vlKYeiTLCeGxHp5n9O8h5ne/Y4i002wuhgATDDHOxTAxq5Rdcr8kL dGT9b8D1kysLxLf0HXBaNOxjUwgUIJ0boatx+vnKDxvcsZRF8+ravS1ZpAytNhZKupFILW UKNDjt1djY8lk6NoITU08R+ycexEycutBmqjgeJSy3P+bsPYE5919w5HTcglp85bnoXluf QUW9IHbMMUWgXv9OTrDWGuBtqL9ichI7GeZOxcSoxtC8D3YXck3OTXocwStcw21PPPlpq2 9WPyCuEDcrJSGj9MHHateW0+Z4nO/99gszd9k97IahSTlAyTc2zgk32VYWDWGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726875296; a=rsa-sha256; cv=none; b=pL/zuF3oLjVRwt72fK/W6tFb1k+kcazE3MysGgYwVjcpvxz9Yr4isZYQKKffv4SRriHTgr RWe20Dxm4VmRjNcCST527lhlMtI22dbB52F4etXCNreRcIra/c+wKnXqI113MbZsoJuPbS G/3GlI8znB3NEa7kwUrq8WYYayWLQmmcBwaocRf397BO7Xb2McAtVWjqqx3jGYLQgGVCUz x7B426EU+lwOq2gWH1xeMirriufi0CbCUwraZ2wdbb7r7vRPk62urAN83xU2TkaARe6ubr TxaONr2ReGYqZCZXzaHWPtyakRkfuGaKMFWIegJ4dL34fXcuhKbE62sPHuFpRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=exNYcE4m; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mQTvaLN+; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 9651067ED1 for ; Sat, 21 Sep 2024 01:34:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srn9C-0000We-4K; Fri, 20 Sep 2024 19:34:46 -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 1srn9A-0000U6-76 for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:44 -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 1srn99-0000Qe-TO for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:43 -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:References:In-Reply-To:Date:From:To:Subject; bh=43hjUHVJtfM8fKf7aQLR7qI4gBZAhIpNL8g+BI1/IaQ=; b=exNYcE4mG/ylA7vTtehqpebTdYMIu4N2IMWzDMvOT7wxYWQ2+Rc42Ck1NNTh6OYKLbZNqJ0cN7lhX3OghXhxC8VVG5Q+xZAvnFGC4MIPIQVobzSFaTyj1KAz2hvKqN7OGNSGxhtESwItMZVy3dXE0lzDjgmkgt/Z7GAWwZ1WaepXX3mMyceni4hTC9hiFxF6ANSi2hYjkYYDWxjm6i5HiUw9FkDWcM8IKd07LUMK2zRFWJLGdebEDPwjrbapFzfvECzjhcyBZMya/nMbk6dBO2BYucYFoJbdLEBLSWYgm++asZXVOwdOBmsgmT/X9ox8YvgOH57O33mABoT64uy/9A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srn9S-0003zf-G3; Fri, 20 Sep 2024 19:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73399] [PATCH 19/26] gnu: Add libsharp. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73399@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 73399-submit@debbugs.gnu.org id=B73399.172687525515211 (code B ref 73399); Fri, 20 Sep 2024 23:35:02 +0000 Received: (at 73399) by debbugs.gnu.org; 20 Sep 2024 23:34:15 +0000 Received: from localhost ([127.0.0.1]:36677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8h-0003xG-5k for submit@debbugs.gnu.org; Fri, 20 Sep 2024 19:34:15 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:57560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8B-0003qk-IX for 73399@debbugs.gnu.org; Fri, 20 Sep 2024 19:33:44 -0400 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-42cb5b3c57eso23797615e9.2 for <73399@debbugs.gnu.org>; Fri, 20 Sep 2024 16:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726875138; x=1727479938; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=43hjUHVJtfM8fKf7aQLR7qI4gBZAhIpNL8g+BI1/IaQ=; b=mQTvaLN+9DULI0D0p+bV7pS2oxH0LvuMhjuPoZ9IlvJpWcK1/6tkR2xWK3qbqn/+lM ja+FIpfJXYbJvzTAzK41rtMh6WHvM9Aq2QppL+GCi39sHxIpYe+9kYYch/EMhofatxO8 Qx35ZAUPsGLCi1fKeV5MsF+xh7MM38FWHxcesFytl7HL1DTE+VQPfq30oJOkdwsPicWx NUaI0qATY03qPMysG6QaIzcwSWonTnvgtgq16/NNRw3t009aCnHAgcThw5gtYuFLuuQz dEjB+1nwWgCrj1SFpIBVEZiGiRnWAzMFpKrRcspRYxFuoMeYeSjVoxzaJ7a+xvax8z2D VydA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726875138; x=1727479938; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=43hjUHVJtfM8fKf7aQLR7qI4gBZAhIpNL8g+BI1/IaQ=; b=t6W5rYnZkS2aISY776oYODzySIQHD6QfrBESaRs2z8TkTzvcnRnSeLNUWNAYCISEUR nANnlGNBHUHb79fYyit7pFZaop93iQMAw+/gjjUEXXbpUUP+UR/rOjWud2TYOIV6Pg1X qHb59sRVVh1Zigmof/wPgRBn/x2l8cS5p/TuVPNLRT+kmftiAtugMLgPCyvdfQun6sv0 V6Lq5PpFqvvmbG0s9JSR+AsPoT1zKEiHEJA/UQXYEInz2R90/5qZWlPVQ4rjXfeiZVYa VDZhqDXYO+jYvrGf6oE8vjATplPjcQiJnh485C7JM5aHMH/+LU3/6aDj19+gn2qukGxC jQ6g== X-Gm-Message-State: AOJu0YxQc+FzLTm+Xbd1lfuw4FOhZ3z9AY6payS3z7EydceYDfOmgg2r UkNESWxLI/5/DOijEvBc88TIP3oqYDul1HcG39GMwE3C3DeC2m81u+CNCOoy X-Google-Smtp-Source: AGHT+IGon7wddLIZ3+HfXKNZLzYTvRz6Z2fOYGXIZ2odbP2Zdx/44l6W/4H68Mse3K84DEyKZ6JWqA== X-Received: by 2002:a05:600c:1906:b0:426:5269:1a50 with SMTP id 5b1f17b1804b1-42e7c16403emr29819925e9.11.1726875138294; Fri, 20 Sep 2024 16:32:18 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e7afbfa1asm35353675e9.21.2024.09.20.16.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 16:32:17 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 21 Sep 2024 00:31:44 +0100 Message-ID: <321ebe01f84383f68c8d13525a95176d76910105.1726874446.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: mx12.migadu.com X-Migadu-Spam-Score: -8.95 X-Migadu-Queue-Id: 9651067ED1 X-Spam-Score: -8.95 X-TUID: mWGJRlgzGDL5 * gnu/packages/astronomy.scm (libsharp): New variable. Change-Id: I614939ab916357c0ac69de21e954bcc8ef95707d --- gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 3f1b70196a..9e2cf878b9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -703,6 +703,40 @@ (define-public eye corrections.") (license license:cecill))) +(define-public libsharp + (package + (name "libsharp") + (version "3.8.2") + (source + (healpix-source + #:version version + #:sha256-base32-hash "09x1lafq01gzk16yvmz2pdhrxnqfjp3b2p9hlgy0dbrdg82ryqj7")) + (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir-libsharp + (lambda _ + (chdir "src/common_libraries/libsharp")))))) + (home-page "https://healpix.sourceforge.io/") + (synopsis "Efficient spherical harmonic transforms at arbitrary spins") + (description + "This package provides a librari for spherical harmonic +transforms (SHTs), which evolved from the libpsht library, addressing several +of its shortcomings, such as adding MPI support for distributed memory systems +and SHTs of fields with arbitrary spin, but also supporting new developments +in CPU instruction sets like the Advanced Vector Extensions (AVX) or fused +multiply-accumulate (FMA) instructions. The library is implemented in +portable C99 and provides an interface that can be easily accessed from other +programming languages such as C++, Fortran, Python etc. Generally, libsharp's +performance is at least on par with that of its predecessor; however, +significant improvements were made to the algorithms for scalar SHTs, which +are roughly twice as fast when using the same CPU capabilities. + +Supporting paper is availalbe at https://arxiv.org/abs/1303.4945") + (license license:gpl2+))) + (define-public psfex (package (name "psfex") -- 2.46.0