From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MDS0CvnLx2YmJQAAe85BDQ:P1 (envelope-from ) for ; Thu, 22 Aug 2024 23:38:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MDS0CvnLx2YmJQAAe85BDQ (envelope-from ) for ; Fri, 23 Aug 2024 01:38:33 +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=Owi7ySy1; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=CtNvJJpb; 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=systemreboot.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724369912; 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=VN3YNf3Wlp8ql3HFGzM4oPBIzIPYsRpAuF5HIT5QSS8=; b=lJ+OWGfBprgT3fOHoN20LN/ATCoTXzuAKDEVLdbST85CLSOj3DYtS1x93AlbyQHKYn/Q+o YM7kAf6yxlahIFec6LhtW1Ase6FZvoLD9UNoMkvh0mB/MQMrOmxGp3elvbraQ6TOKc4hBd 4dZnHItjzPn3mrL2fQngbHNVV/oBQw61QRK2GeRC1sUXuCS6E/nyOXXwRCGP29bu3T2m6j 8stSlmSTItOLWFl6m/WDgmmWjpPlFSw+CI1hJPLsYBRLrRd0gJeEicof5jqdQFof/bLvQr JMSUh1T34inSC36VlOMohUVWbGNE8yhGNBbHYDvCadhkJb8CC1OvotHbtOINZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Owi7ySy1; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=CtNvJJpb; 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=systemreboot.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724369912; a=rsa-sha256; cv=none; b=I5UklbvuNbEuKX2ytlGspAXQ9ZZmZn3/mu9I2Vo1LsHeCFxL5JStDRfgt7sY4Yl3w3vwni th/lQ+c60kDVNwfocMrkcCOQbK7wTCZ2KJGIPBg5LH6pvg93T3xm8O4cKaKkjj7HPzhDyp UhjzW+y+DdTpOM2zYNqLMs34IP3XshhufhWGR0bueNs/+wY19wrNdbiPiyUne4pjfykM4g Yt9oBBoWGGKpN//mjlzLuAK6rHiACG/9U2T/Zq3B8gTZUB+EiDxCtZVZs15BmZTyHZu9nV ocZqgpjxkIEp2LPBIMgrsm4QlDQbX2zHyOvaCLOmozszx8A0Y2UJfIoJRd1V2w== 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 C0E0270871 for ; Fri, 23 Aug 2024 01:38:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shHNj-00069W-GZ; Thu, 22 Aug 2024 19:38:19 -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 1shHNg-000689-17 for guix-patches@gnu.org; Thu, 22 Aug 2024 19:38:16 -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 1shHNf-0006xi-NO for guix-patches@gnu.org; Thu, 22 Aug 2024 19:38:15 -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=VN3YNf3Wlp8ql3HFGzM4oPBIzIPYsRpAuF5HIT5QSS8=; b=Owi7ySy1wLMpkik3eD9oL50IW5m1rKdox2LYmvtBThZf5FrSlbb12civ3DzdWuW8F0l9jOIujG+tx88PceZD0RAQuLKYtRWMtde6J18Lj3QxNrxXZECnebkuAAThP9Y5lK2eSiD6VlBPzZ8HHmjUnq5VlDKbFsqpqPmfJq6p7UnBi8Rf1cKkzuS+yigbU3gaFBz2tM5piDkLU7aWQ9tZ1HMgwxGHuINb0aX8Q83gCqIIWqoiPXWA0z289zgpSQyUp8TwodCe23Tv0fsnQO/aoFuZkpxAldB0vIQ9cpzhSKtSDu2wHpa36UlsfyXR1opfw7+pptT8j9df/nogbML2PA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shHOQ-0002dK-1z for guix-patches@gnu.org; Thu, 22 Aug 2024 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72766] [PATCH 2/2] gnu: slurm: Enable REST API. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Aug 2024 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72766@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 72766-submit@debbugs.gnu.org id=B72766.172436989410055 (code B ref 72766); Thu, 22 Aug 2024 23:39:02 +0000 Received: (at 72766) by debbugs.gnu.org; 22 Aug 2024 23:38:14 +0000 Received: from localhost ([127.0.0.1]:38577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shHNe-0002c6-6k for submit@debbugs.gnu.org; Thu, 22 Aug 2024 19:38:14 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:39186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shHNZ-0002bh-4V for 72766@debbugs.gnu.org; Thu, 22 Aug 2024 19:38:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VN3YNf3Wlp8ql3HFGzM4oPBIzIPYsRpAuF5HIT5QSS8=; b=CtNvJJpbgtaDMh0cbt7jBnCpYW DUg63WOmjIw3+ZIuBQdL4LRtCHLPLMwxpUAckni54FrKjaq6qKstjRHrks/CyFbiZ463l6PQ48V6f ITKRNb5DNAoIsimiYTWzUxHKhfWGbdIT2oWP48rcq7XS+qrNcESegtSMwooSnO+zfAp5P5+bpYLSv tyToNgnJXIKRlWpwzuui9dn8uh5AZmojfBNjjuvuv4JdbK0rP/fK3PW69cUxPopddk2tJpjuCBw32 1h7C6Jqt42GkWLx6QeurMMgBeaqZuXZA/ZrPynrvw69NYIm0KnbYQK/gT8fW0P3ytUGUh8eJgEwmv eK0KL4iw==; Received: from [192.168.2.1] (port=58412 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1shHHp-000000007H1-3PCC; Fri, 23 Aug 2024 00:32:14 +0100 From: Arun Isaac Date: Fri, 23 Aug 2024 00:36:31 +0100 Message-ID: <3f45eba5ce4b94bcf046b1f9368336ad236a74e3.1724369334.git.arunisaac@systemreboot.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.52 X-Migadu-Queue-Id: C0E0270871 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.52 X-TUID: 6qFaKlS6AgzX * gnu/packages/parallel.scm (slurm)[inputs]: Add dbus, http-parser, libjwt, librdkafka, libtaml, linux-libre-headers and (mariadb "dev"). [arguments]: Add --enable-slurmrestd, --with-bpf, --with-http-parser and --with-rdkafka to configure flags. Change-Id: Icddaa8f883754129d975e82fccd732a47a467517 --- gnu/packages/parallel.scm | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index e75e902a68..21c945382f 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 David Elsing ;;; Copyright © 2024 Romain Garbage +;;; Copyright © 2024 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,13 +50,16 @@ (define-module (gnu packages parallel) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages check) + #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages freeipmi) + #:use-module (gnu packages glib) #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) + #:use-module (gnu packages networking) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -63,6 +67,7 @@ (define-module (gnu packages parallel) #:use-module (gnu packages python-science) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages serialization) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) #:use-module (gnu packages web)) @@ -223,12 +228,18 @@ (define-public slurm (mkdir "contribs") (rename-file "tmp-pmi" "contribs/pmi") (rename-file "tmp-pmi2" "contribs/pmi2"))))) - ;; FIXME: More optional inputs could be added, - ;; in particular mysql and gtk+. - (inputs (list freeipmi + ;; FIXME: More optional inputs (for example, gtk+) could be added. + (inputs (list dbus + freeipmi + http-parser `(,hwloc-2 "lib") json-c + libjwt + librdkafka + libyaml + linux-libre-headers linux-pam + `(,mariadb "dev") openpmix munge numactl @@ -238,13 +249,20 @@ (define-public slurm (build-system gnu-build-system) (arguments (list #:configure-flags - #~(list "--enable-pam" "--sysconfdir=/etc/slurm" + #~(list "--enable-pam" + "--enable-slurmrestd" + "--sysconfdir=/etc/slurm" "--disable-static" + (string-append "--with-bpf=" + #$(this-package-input "linux-libre-headers")) (string-append "--with-freeipmi=" #$(this-package-input "freeipmi")) + (string-append "--with-http-parser=" + #$(this-package-input "http-parser")) (string-append "--with-hwloc=" (ungexp (this-package-input "hwloc") "lib")) (string-append "--with-json=" #$(this-package-input "json-c")) (string-append "--with-munge=" #$(this-package-input "munge")) + (string-append "--with-rdkafka=" #$(this-package-input "librdkafka")) ;; Use PMIx bundled with Open MPI (this is required for Open MPI 5.x). ;; Note: Older versions that inherit from this package lack the -- 2.45.2