Skip to content

Commit

Permalink
update language
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmorgan committed Jul 6, 2020
1 parent f38e933 commit ad46db9
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: BiocParallel
Type: Package
Title: Bioconductor facilities for parallel evaluation
Version: 1.23.1
Version: 1.23.2
Authors@R: c(
person("Bioconductor Package Maintainer",
email="[email protected]", role="cre"),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export(
batchtoolsTemplate,
bpvalidate, bpok,
bprunMPIslave,
bprunMPIworker,

## ipcmutex
ipcid, ipcremove, ipclock, ipctrylock, ipcunlock, ipclocked,
Expand Down
5 changes: 5 additions & 0 deletions R/SnowParam-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
###

bprunMPIslave <- function() {
.Deprecated("bprunMPIworker")
bprunMPIworker()
}

bprunMPIworker <- function() {
comm <- 1
intercomm <- 2
Rmpi::mpi.comm.get.parent(intercomm)
Expand Down
2 changes: 1 addition & 1 deletion inst/RMPInode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ ${RPROG:-R} --vanilla <<EOF > ${OUT:-/dev/null} 2>&1
loadNamespace("Rmpi")
loadNamespace("snow")
BiocParallel::bprunMPIslave()
BiocParallel::bprunMPIworker()
EOF
2 changes: 1 addition & 1 deletion inst/snow/RMPInode.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ local({
loadNamespace("Rmpi")
loadNamespace("snow")

BiocParallel::bprunMPIslave()
BiocParallel::bprunMPIworker()
quit("no")
})
2 changes: 1 addition & 1 deletion inst/unitTests/test_script/test-sge-template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
## R settings
module load R/3.4.3

## Export value of DEBUGME environemnt var to slave
## Export value of DEBUGME environemnt var to worker
export DEBUGME=<%= Sys.getenv("DEBUGME") %>

Rscript -e 'batchtools::doJobCollection("<%= uri %>")'
Expand Down
1 change: 1 addition & 0 deletions man/bploop.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
\alias{bploop.iterate}

\alias{bprunMPIslave}
\alias{bprunMPIworker}

\title{Internal Functions for SNOW-style Parallel Evaluation}

Expand Down
2 changes: 1 addition & 1 deletion vignettes/BiocParallel_BatchtoolsParam.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ cluster. For example, one might use instead:

\begin{verbatim}
echo 'batchtools::doJobCollection("<%= uri %>")' |\
ArbitraryRcommand --no-save --slave
ArbitraryRcommand --no-save --no-echo
\end{verbatim}

If such customization is necessary, we suggest making a local copy of
Expand Down

0 comments on commit ad46db9

Please sign in to comment.