diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-01-18 12:53:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 12:53:09 -0600 |
commit | 42748f389fcaf02f43957659c0564e62dce8f11f (patch) | |
tree | 1f56948d3d452f9e9a20e25f88eeb8ed50a9eaca /var | |
parent | b9c5a73a48730a9f1dd1fb0b57caa43ec831b4dd (diff) | |
download | spack-42748f389fcaf02f43957659c0564e62dce8f11f.tar.gz spack-42748f389fcaf02f43957659c0564e62dce8f11f.tar.bz2 spack-42748f389fcaf02f43957659c0564e62dce8f11f.tar.xz spack-42748f389fcaf02f43957659c0564e62dce8f11f.zip |
new package: r-parallelly (#21122)
Utility functions that enhance the 'parallel' package and support the
built-in parallel backends of the 'future' package. For example,
availableCores() gives the number of CPU cores available to your R
process as given by the operating system, 'cgroups' and Linux
containers, R options, and environment variables, including those set by
job schedulers on high-performance compute clusters. If none is set, it
will fall back to parallel::detectCores(). Another example is
makeClusterPSOCK(), which is backward compatible with
parallel::makePSOCKcluster() while doing a better job in setting up
remote cluster workers without the need for configuring the firewall to
do port-forwarding to your local computer.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-parallelly/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-parallelly/package.py b/var/spack/repos/builtin/packages/r-parallelly/package.py new file mode 100644 index 0000000000..e46b79b6d4 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-parallelly/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RParallelly(RPackage): + """Enhancing the 'parallel' Package + + Utility functions that enhance the 'parallel' package and support the + built-in parallel backends of the 'future' package. For example, + availableCores() gives the number of CPU cores available to your R process + as given by the operating system, 'cgroups' and Linux containers, R + options, and environment variables, including those set by job schedulers + on high-performance compute clusters. If none is set, it will fall back to + parallel::detectCores(). Another example is makeClusterPSOCK(), which is + backward compatible with parallel::makePSOCKcluster() while doing a better + job in setting up remote cluster workers without the need for configuring + the firewall to do port-forwarding to your local computer.""" + + homepage = "https://github.com/HenrikBengtsson/parallelly" + url = "https://cloud.r-project.org/src/contrib/parallelly_1.23.0.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/parallelly" + + version('1.23.0', sha256='376ce2381587380a4da60f9563710d63084a605f93aa364e9349f2523e83bc08') |