From 1d6516ce7c227fc100670db6778b7bc52727e435 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Tue, 31 Jan 2012 13:14:19 +0000 Subject: - Add a new port: science/R-cran-snow The snow package provides support for simple parallel computing on a network of workstations using R. A master R process calls makeCluster to start a cluster of worker processes; the master process then uses functions such as clusterCall and clusterApply to execute R code on the worker processes and collect and return the results on the master. This framework supports many forms of "embarrassingly parallel" computations. Snow can use one of four communications mechanisms: sockets, PVM, MPI, or NetWorkSpaces (NWS). NWS support was provided by Steve Weston. PVM clusters use the rpvm package; MPI clusters use package Rmpi; NWS clusters use package nws. If pvm is used, then pvm must be started, either using a pvm console (e.g the pvm text console or the graphical xpvm console, both available with pvm) or from R using functions provided by rpvm. Similarly, LAM-MPI must be started, e.g. using lamboot, for MPI clusters that use Rmpi and LAM-MPI. If NWS is used, the NetWorkSpaces server must be running. SOCK clusters are the easiest approach for using snow on a single multi-core computer as they require no additional software. WWW: http://cran.r-project.org/web/packages/snow/ --- science/Makefile | 1 + science/R-cran-snow/Makefile | 19 +++++++++++++++++++ science/R-cran-snow/distinfo | 2 ++ science/R-cran-snow/pkg-descr | 21 +++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 science/R-cran-snow/Makefile create mode 100644 science/R-cran-snow/distinfo create mode 100644 science/R-cran-snow/pkg-descr (limited to 'science') diff --git a/science/Makefile b/science/Makefile index 3b620aa9c7f3..b854a324159c 100644 --- a/science/Makefile +++ b/science/Makefile @@ -12,6 +12,7 @@ SUBDIR += R-cran-bayesm SUBDIR += R-cran-eco SUBDIR += R-cran-epicalc + SUBDIR += R-cran-snow SUBDIR += abinit SUBDIR += afni SUBDIR += avogadro diff --git a/science/R-cran-snow/Makefile b/science/R-cran-snow/Makefile new file mode 100644 index 000000000000..74601cb15352 --- /dev/null +++ b/science/R-cran-snow/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: R-cran-snow +# Date created: 2011-08-16 +# Whom: TAKATSU Tomonari +# +# $FreeBSD$ +# + +PORTNAME= snow +DISTVERSION= 0.3-8 +CATEGORIES= science +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Support for simple parallel computing in R + +USE_R_MOD= yes +R_MOD_AUTOPLIST= yes + +.include diff --git a/science/R-cran-snow/distinfo b/science/R-cran-snow/distinfo new file mode 100644 index 000000000000..38de1cca315b --- /dev/null +++ b/science/R-cran-snow/distinfo @@ -0,0 +1,2 @@ +SHA256 (snow_0.3-8.tar.gz) = a41480f9d9692a24c6f1eea680fe431ae2df72f7d5b67e3eb912f245ce070bc9 +SIZE (snow_0.3-8.tar.gz) = 22893 diff --git a/science/R-cran-snow/pkg-descr b/science/R-cran-snow/pkg-descr new file mode 100644 index 000000000000..fb15a1437c5b --- /dev/null +++ b/science/R-cran-snow/pkg-descr @@ -0,0 +1,21 @@ +The snow package provides support for simple parallel computing on a +network of workstations using R. A master R process calls makeCluster +to start a cluster of worker processes; the master process then uses +functions such as clusterCall and clusterApply to execute R code on +the worker processes and collect and return the results on the master. +This framework supports many forms of "embarrassingly parallel" +computations. + +Snow can use one of four communications mechanisms: sockets, PVM, MPI, +or NetWorkSpaces (NWS). NWS support was provided by Steve Weston. +PVM clusters use the rpvm package; MPI clusters use package Rmpi; NWS +clusters use package nws. If pvm is used, then pvm must be started, +either using a pvm console (e.g the pvm text console or the graphical +xpvm console, both available with pvm) or from R using functions +provided by rpvm. Similarly, LAM-MPI must be started, e.g. using +lamboot, for MPI clusters that use Rmpi and LAM-MPI. If NWS is used, +the NetWorkSpaces server must be running. SOCK clusters are the +easiest approach for using snow on a single multi-core computer as +they require no additional software. + +WWW: http://cran.r-project.org/web/packages/snow/ -- cgit v1.2.3