From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH] gnu: Add slurm-llnl. Date: Thu, 11 Feb 2016 20:36:50 +0200 Message-ID: <20160211203650.6651f9ea@debian-netbook> References: <56bb7530.v5bvas2QpzoMjKMl%pjotr.public12@thebird.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/d+t0zRM26wb4.ozo/TK+G.K"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTw6w-0001sh-4F for guix-devel@gnu.org; Thu, 11 Feb 2016 13:37:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTw6s-0002bJ-SU for guix-devel@gnu.org; Thu, 11 Feb 2016 13:37:02 -0500 Received: from flashner.co.il ([178.62.234.194]:44666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTw6s-0002bC-Hv for guix-devel@gnu.org; Thu, 11 Feb 2016 13:36:58 -0500 In-Reply-To: <56bb7530.v5bvas2QpzoMjKMl%pjotr.public12@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org --Sig_/d+t0zRM26wb4.ozo/TK+G.K Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 10 Feb 2016 18:36:48 +0100 Pjotr Prins wrote: > * gnu/packages/parallel.scm (slurm-llnl): New variable. > --- > gnu/packages/parallel.scm | 51 +++++++++++++++++++++++++++++++++++++++++= +++--- > 1 file changed, 48 insertions(+), 3 deletions(-) >=20 > diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm > index 8f63bda..03ee460 100644 > --- a/gnu/packages/parallel.scm > +++ b/gnu/packages/parallel.scm > @@ -2,7 +2,8 @@ > ;;; Copyright =C2=A9 2013,2014 Eric Bavier > ;;; Copyright =C2=A9 2015 Mark H Weaver > ;;; Copyright =C2=A9 2015 Efraim Flashner > -;;; > +;;; Copyright =C2=A9 2014, 2015 Pjotr Prins > + > ;;; This file is part of GNU Guix. > ;;; > ;;; GNU Guix is free software; you can redistribute it and/or modify it > @@ -20,11 +21,17 @@ > =20 > (define-module (gnu packages parallel) > #:use-module (guix packages) > - #:use-module (guix licenses) > #:use-module (guix download) > + #:use-module (guix licenses) > + #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix build-system gnu) > #:use-module (gnu packages) > - #:use-module (gnu packages perl)) > + #:use-module (gnu packages admin) > + #:use-module (gnu packages linux) > + #:use-module (gnu packages perl) > + #:use-module (gnu packages python) > + #:use-module (gnu packages tcl) > + #:use-module (gnu packages tls)) > =20 > (define-public parallel > (package > @@ -47,3 +54,41 @@ > or more computers. Jobs can consist of single commands or of scripts > and they are executed on lists of files, hosts, users or other items.") > (license gpl3+))) > + > +(define-public slurm-llnl > + (package > + (name "slurm-llnl") > + (version "15-08-6-1") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/SchedMD/slurm/archiv= e/slurm-" > + version ".tar.gz")) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1h8al21blmrhma9r7qxkba2g5i74m3hrjc9a640j7px54szvg18v")))) > + (inputs `(("openssl" ,openssl) > + ("munge" ,munge) > + ("perl" ,perl) > + ("expect" ,expect) > + ("python" ,python) > + ("linux-pam" , linux-pam))) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags '("--enable-pam") > + #:phases > + (modify-phases %standard-phases > + (add-before > + 'configure 'rewrite-usr-bin > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "./doc/html/shtml2html.py" > + (("#!/usr/bin/env python") > + (string-append "#!" (which "python3")))) > + (substitute* "src/common/env.c" > + (("/usr/bin/env") (which "env")))))))) > + (home-page "http://www.schedmd.com/") > + (synopsis "Tool for cluster computing") > + (description > + "Fault-tolerant, and highly scalable cluster management and job ^ this comma isn't really needed > +scheduling system for large and small clusters.") > + (license license:openssl))) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/d+t0zRM26wb4.ozo/TK+G.K Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWvNTDAAoJEPTB05F+rO6TcJMQAJHhJHJ5+YSuopAUvmMm1jLC w4AgYVTn6jr2mmVhkQaamZF1Wvp64Hf/wQQ7BTV/fFEi5BAzE7EsjNqEZjU4pvbA umTznrK7b9eyLcFVxnnH406nawIJ+qs6G3hEeac4JaXesqrCtVlR5Y1cVqdG7Fks 3om7cK4wHLJeNE0XnzdvflJSZCsqJeVh+2mAEwcILWIco/mq5uDWBVDY5xeFnPzy 2lnhlpC0Kce08G6QPmWAmn1R1we5KEHMfKTvaF/agebyxuAqFr8zl56HjqTpSN+K RI+GqxNS4ucPpS7yAD83KWDezROqMr3NPT7PAGC6gz34YNDSYXW1/DduCXZwuXBp IUo/YPyXrxQZ6K0F73LSRX2ihvWMrgnDjgrA3VfjTUMQWbb0qAX7NBbqyCxiQB0R VV3CUL3bK0ktjqQv03/9LgXDHS4wnkKzC0CvLPwzl6/TAxlGtuZkZ22VGzIUTanZ D4o0dbB6jzbNlx3MeaTBBYYyWS3oHdUpkJfniwsAWk0rgFHJan4a44E+nRI3Eio6 LV7ASrsgA91EnNzg4hjImuCVO1tBYs3yoYL4SX0wZTedk3HWTT9z42fOQtm9pk0i cFWMvMOP1poPJ1UXMciZmx60dblPO746N1wLIVNCBasm1VMoXbEaRZk2wHcXYLSb wkB4sfVX41h6x5u6Iwth =y8WB -----END PGP SIGNATURE----- --Sig_/d+t0zRM26wb4.ozo/TK+G.K--