[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: cran: Add r-rmpi.
From: |
Roel Janssen |
Subject: |
01/01: gnu: cran: Add r-rmpi. |
Date: |
Wed, 29 Nov 2017 06:16:32 -0500 (EST) |
roelj pushed a commit to branch master
in repository guix.
commit 94989d4baee8c7e02f7f39256be559e2d653ad4a
Author: Roel Janssen <address@hidden>
Date: Wed Nov 29 12:15:33 2017 +0100
gnu: cran: Add r-rmpi.
* gnu/packages/cran.scm (r-rmpi): New variable.
---
gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9eb54c0..4de3066 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2017 Roel Janssen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25,6 +26,7 @@
#:use-module (gnu packages gcc)
#:use-module (gnu packages machine-learning)
#:use-module (gnu packages maths)
+ #:use-module (gnu packages mpi)
#:use-module (gnu packages perl)
#:use-module (gnu packages statistics)
#:use-module (gnu packages web))
@@ -601,6 +603,29 @@ and other distributions related to the eigenvalues of
large Wishart
matrices.")
(license license:bsd-3)))
+(define-public r-rmpi
+ (package
+ (name "r-rmpi")
+ (version "0.6-6")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "Rmpi" version))
+ (sha256
+ (base32
+ "0fm6z049aaq2c9xagm8n64d9560hg9d8hyb0m359fii672nhkz6q"))))
+ (properties `((upstream-name . "Rmpi")))
+ (build-system r-build-system)
+ (arguments
+ `(#:configure-flags '("--configure-args=\"--with-Rmpi-type=OPENMPI\"")))
+ (inputs
+ `(("openmpi" ,openmpi)))
+ (home-page "http://www.stats.uwo.ca/faculty/yu/Rmpi")
+ (synopsis "R interface to message-passing interface (MPI)")
+ (description
+ "This package provides an interface (wrapper) to MPI APIs. It also
+provides an interactive R manager and worker environment.")
+ (license license:gpl2+)))
+
(define-public r-lmoments
(package
(name "r-lmoments")