@@ -40,8 +40,7 @@ the bundled library:
4040# If your system has `libzmq` installed but you want to enable the worker
4141# crash monitor, set the environment variable below to use the bundled
4242# `libzmq` library with the required feature (`-DZMQ_BUILD_DRAFT_API=1`):
43-
44- # Sys.setenv(CLUSTERMQ_USE_SYSTEM_LIBZMQ=0)
43+ Sys.setenv(CLUSTERMQ_USE_SYSTEM_LIBZMQ=0)
4544install.packages("clustermq")
4645```
4746
@@ -50,8 +49,9 @@ Github. Note that this version needs `autoconf`/`automake` and `CMake` for
5049compilation:
5150
5251``` {r eval=FALSE}
53- # Sys.setenv(CLUSTERMQ_USE_SYSTEM_LIBZMQ=0)
54- # install.packages('remotes')
52+ if (!requireNamespace("remotes", quietly=TRUE))
53+ install.packages("remotes")
54+ Sys.setenv(CLUSTERMQ_USE_SYSTEM_LIBZMQ=0)
5555remotes::install_github("mschubert/clustermq")
5656# remotes::install_github("mschubert/clustermq@develop") # dev version
5757```
@@ -82,8 +82,7 @@ To set up a scheduler explicitly, see the following links:
8282* [ SLURM] ( #slurm ) - * should work without setup*
8383* [ LSF] ( #lsf ) - * should work without setup*
8484* [ SGE] ( #sge ) - * may require configuration*
85- * [ GCS] ( #gcs ) - * needs* ` options(clustermq.scheduler="GCS") `
86- * [ OCS] ( #ocs ) - * needs* ` options(clustermq.scheduler="OCS") `
85+ * [ GCS] ( #gcs ) /[ OCS] ( #ocs ) - * needs* ` options(clustermq.scheduler="GCS"/"OCS") `
8786* [ PBS] ( #pbs ) /[ Torque] ( #torque ) - * needs* ` options(clustermq.scheduler="PBS"/"Torque") `
8887* you can suggest another scheduler by [ opening an
8988 issue] ( https://github.com/mschubert/clustermq/issues )
@@ -285,10 +284,10 @@ be available in your active session, while the latter will be available any
285284time after you restart R.
286285
287286* ` clustermq.scheduler ` - One of the supported
288- [ ` clustermq ` schedulers] ( #configuration ) ; options are ` "LOCAL " ` ,
289- ` "multiprocess" ` , ` "multicore" ` , ` "lsf" ` , ` "sge" ` , ` "gcs" ` , ` "ocs" ` , ` "slurm" ` , ` "pbs" ` ,
290- ` "Torque " ` , or ` "ssh" ` (default is the HPC scheduler found in ` $PATH ` ,
291- otherwise ` "LOCAL " ` )
287+ [ ` clustermq ` schedulers] ( #configuration ) ; options are ` "local " ` ,
288+ ` "multiprocess" ` , ` "multicore" ` , ` "lsf" ` , ` "sge" ` , ` "gcs" ` , ` "ocs" ` ,
289+ ` "slurm " ` , ` "pbs" ` , ` "torque" ` , or ` "ssh" ` (default is the HPC scheduler
290+ found in ` $PATH ` , otherwise ` "local " ` )
292291* ` clustermq.host ` - The name of the node or device for constructing the
293292 ` ZeroMQ ` host address (default is ` Sys.info()["nodename"] ` )
294293* ` clustermq.ports ` - A port range used by ` clustermq ` to initiate connections.
0 commit comments