From 524eee0298145c6ff79daa1569150bf812ecf054 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 12 May 2016 17:09:41 +0200 Subject: [PATCH] gnu: Add slurm-drmaa. * gnu/packages/parallel.scm (slurm-drmaa): New variable. --- gnu/packages/parallel.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 828bd26cf8..b0984a823e 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015 Efraim Flashner ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016 Andreas Enge +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ (define-module (gnu packages parallel) #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages freeipmi) #:use-module (gnu packages linux) #:use-module (gnu packages mpi) @@ -121,3 +123,30 @@ (define-public slurm job) on a set of allocated nodes, and arbitrates contention for resources by managing a queue of pending work.") (license license:gpl2+))) + +(define-public slurm-drmaa + (package + (name "slurm-drmaa") + (version "1.0.7") + (source (origin + (method url-fetch) + (uri "http://apps.man.poznan.pl/trac/slurm-drmaa/downloads/9") + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0grw55hmny2mc4nc0y1arnvxd2k0dcdfn476kzs180fibjxgfw14")))) + (build-system gnu-build-system) + (inputs + `(("slurm" ,slurm))) + (native-inputs + `(("which" ,which))) + (home-page "http://apps.man.poznan.pl/trac/slurm-drmaa") + (synopsis "Distributed resource management application API for SLURM") + (description + "PSNC DRMAA for Simple Linux Utility for Resource Management (SLURM) is +an implementation of Open Grid Forum DRMAA 1.0 (Distributed Resource +Management Application API) specification for submission and control of jobs +to SLURM. Using DRMAA, grid applications builders, portal developers and ISVs +can use the same high-level API to link their software with different +cluster/resource management systems.") + (license license:gpl3+)))