aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-01-31 21:14:19 +0800
committertota <tota@FreeBSD.org>2012-01-31 21:14:19 +0800
commit98956b1dbad4cb83a0aa770a678b1055b4aee552 (patch)
tree83e892407a5133011fb1a964d87394f5ecac329a /science
parent14b746daa135181fbc48bfcab4b266ded1843e99 (diff)
downloadfreebsd-ports-gnome-98956b1dbad4cb83a0aa770a678b1055b4aee552.tar.gz
freebsd-ports-gnome-98956b1dbad4cb83a0aa770a678b1055b4aee552.tar.zst
freebsd-ports-gnome-98956b1dbad4cb83a0aa770a678b1055b4aee552.zip
- 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/
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/R-cran-snow/Makefile19
-rw-r--r--science/R-cran-snow/distinfo2
-rw-r--r--science/R-cran-snow/pkg-descr21
4 files changed, 43 insertions, 0 deletions
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 <tota@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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/