From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WAohNu45KWUPjQAA9RJhRA:P1 (envelope-from ) for ; Fri, 13 Oct 2023 14:37:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WAohNu45KWUPjQAA9RJhRA (envelope-from ) for ; Fri, 13 Oct 2023 14:37:02 +0200 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 C9C026FE29 for ; Fri, 13 Oct 2023 14:37:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=Gn31R1o9; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697200622; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lySA3Cwu3W3bQXgmeRudMme+iZtNhx9mPKrD8yuN9OY=; b=aDNb5nL0AlPcRNAwVsCjVCjPG3w3hucL/V7m0sNKZXzeRPLs94M3I5tjGUNNkInFEmQprr LfiIC8uh/zFmjI18rVbEuJ23pGqmHYlm2YBBIxDSWlW/eq9cyCMsMoL9e7aJtT3rl1oQl+ wY+YcxqYyPVoEVJV+GhocdYbmYuyer0DznhudDtgHViGyD+iK4ok4LMI//wllPZDgy8CIM 0nvGso66wqlv2IQ6Jw8KYhAsRVxaBKJd5I+cNUt74qiHACq3EZzXpqguCZXSENiwVMl8QV mUJfio8Pz55ZzQBVFwcAmYMkHhSKocb2G9f7So/KiZ7XsBtobOK0sBDnAgjx9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697200622; a=rsa-sha256; cv=none; b=EncpU48TNSmm4LTbnIQFFjleH514KWC/FaSO1i0Gb6WJvn0ZYAtVxXbZOWuN4zy7X5HvI4 uf3lhF2AbAE+rxsYT6ANwLfc3J7sVYOh5LUL/MCWnNlBDu352ShjHmP/h53HM/kbFw20aM KrZMgxeuJAiiGloLrtl7pwwqb3R94iRMUSgaFf35Tq8FVLXdy5d38of0j3xHhnIjIEJQjv sPlXPsfKjFAziyQb/fwVz2jGieAN/EqaGM+4hFZSqibX0e/1lkjas7zbtKK9X/4GcF2TdY ee9GN0bGqJdnLof/Rn+eYpeO7qZX4wXkI6ntK78rj3Pl0U+Xnz3KaNL7rVDWfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=Gn31R1o9; 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=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrHPH-000561-LG; Fri, 13 Oct 2023 08:36:43 -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 1qrHPE-00054J-GZ for guix-patches@gnu.org; Fri, 13 Oct 2023 08:36:40 -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 1qrHPE-0006Jh-7t for guix-patches@gnu.org; Fri, 13 Oct 2023 08:36:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrHPb-0003Yh-5u for guix-patches@gnu.org; Fri, 13 Oct 2023 08:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66516] [PATCH 1/2] gnu: Add kokkos. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Oct 2023 12:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66516@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 66516-submit@debbugs.gnu.org id=B66516.169720057113585 (code B ref 66516); Fri, 13 Oct 2023 12:37:03 +0000 Received: (at 66516) by debbugs.gnu.org; 13 Oct 2023 12:36:11 +0000 Received: from localhost ([127.0.0.1]:45428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrHOl-0003X2-6V for submit@debbugs.gnu.org; Fri, 13 Oct 2023 08:36:11 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:40649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrHOj-0003Wj-JA for 66516@debbugs.gnu.org; Fri, 13 Oct 2023 08:36:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1697200540; x=1697459740; bh=lySA3Cwu3W3bQXgmeRudMme+iZtNhx9mPKrD8yuN9OY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Gn31R1o9hQwOlz0aXgNd+DCeL8ln4NPvPPwwOODA4VjHIx/foy2Ynfqnee82SHqzH vfNxymk/ZLpsN2gZeeDvtQwTSofA6NltV7mGOU6YFSGL06M4XAk2f0DH3WXfNXMECp 9C/d7vboJ8Zqm+nKtM+RkHgEwaCxZh7EbHrGhaEIbOspeCVv8ITEtIagiSgSbh2lX6 fV5vgjLcfqOUpAUg/YiQe32LZLWBVhwZA8VTizPVG6lLMiOtG0P9VxO9AInR2B26p6 sJKoZ9lPyxMGe0w/UIciRnn0U9FNWNB+0uiwmU+qNFbZeVztajiqJruPPiYoEsG6tg qQLcqMad29i2g== Date: Fri, 13 Oct 2023 12:35:37 +0000 From: "Paul A. Patience" Message-ID: In-Reply-To: References: Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -1.18 X-Migadu-Queue-Id: C9C026FE29 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -1.18 X-TUID: KH6qZsJNHhJm * gnu/packages/maths.scm (kokkos): New variable. --- gnu/packages/maths.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 7a87fcb54e..2762e13a4f 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -116,6 +116,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages datamash) #:use-module (gnu packages dbm) + #:use-module (gnu packages disk) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages emacs) @@ -6403,6 +6404,56 @@ (define-public lpsolve revised simplex and the branch-and-bound methods.") (license license:lgpl2.1+))) =20 +(define-public kokkos + (package + (name "kokkos") + (version "4.1.00") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kokkos/kokkos") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15kjpa54ssrrbid9h2nr94nh85qna5c4vq2152i4iy7gaagigy3c")) + (modules '((guix build utils))) + (snippet + ;; Remove bundled googletest. + #~(delete-file-recursively "tpls/gtest")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + ;; deal.II uses only the serial backend, so do not enable the + ;; others yet. + #~(list "-DBUILD_SHARED_LIBS=3DON" + "-DKokkos_ENABLE_SERIAL=3DON" + "-DKokkos_ENABLE_TESTS=3DON" + "-DKokkos_ENABLE_EXAMPLES=3DON" + "-DKokkos_ENABLE_HWLOC=3DON" + "-DKokkos_ENABLE_MEMKIND=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'install-license-files 'remove-cruft + (lambda _ + (delete-file + (string-append #$output "/share/doc/" + #$name "-" #$version + "/LICENSE_FILE_HEADER"))))))) + (native-inputs + (list googletest python)) + (inputs + (list `(,hwloc "lib") memkind)) + (home-page "https://github.com/kokkos/kokkos") + (synopsis "C++ abstractions for parallel execution and data management= ") + (description + "Kokkos Core implements a programming model in C++ for writing perfor= mance +portable applications targeting all major HPC platforms. For that purpose= it +provides abstractions for both parallel execution of code and data managem= ent. +Kokkos is designed to target complex node architectures with N-level memor= y +hierarchies and multiple types of execution resources.") + (license license:asl2.0))) ; With LLVM exception + ;; Private Trilinos package for dealii-openmpi (similar to ;; trilinos-serial-xyce and trilinos-parallel-xyce). ;; This version is the latest known to be compatible with deal.II [1]. --=20 2.41.0