Usage
xgrid.run.jags(model, max.threads=Inf, JAGSversion=">=2.0.0",
email=NA, profiling=TRUE, cpuarch=NA, minosversion=NA,
queueforserver=FALSE, hostnode=NA, forcehost=FALSE,
ramrequired=10, jobname=NA, cleanup=TRUE,
showprofiles=FALSE, jagspath='/usr/local/bin/jags',
mgridpath=system.file("xgrid","mgrid.sh", package="runjags"),
hostname=Sys.getenv("XGRID_CONTROLLER_HOSTNAME"),
password=Sys.getenv("XGRID_CONTROLLER_PASSWORD"), ...)xgrid.autorun.jags(model, max.threads=Inf, JAGSversion=">=2.0.0",
email=NA, profiling=TRUE, cpuarch=NA, minosversion=NA,
queueforserver=FALSE, hostnode=NA, forcehost=FALSE,
ramrequired=10, jobname=NA, cleanup=TRUE,
showprofiles=FALSE, jagspath='/usr/local/bin/jags',
mgridpath=system.file("xgrid","mgrid.sh", package="runjags"),
hostname=Sys.getenv("XGRID_CONTROLLER_HOSTNAME"),
password=Sys.getenv("XGRID_CONTROLLER_PASSWORD"), ...)
xgrid.extend.jags(runjags.object, max.threads=Inf, JAGSversion=">=2.0.0",
email=NA, profiling=TRUE, cpuarch=NA, minosversion=NA,
queueforserver=FALSE, hostnode=NA, forcehost=FALSE,
ramrequired=10, jobname=NA, cleanup=TRUE,
showprofiles=FALSE, jagspath='/usr/local/bin/jags',
mgridpath=system.file("xgrid","mgrid.sh", package="runjags"),
hostname=Sys.getenv("XGRID_CONTROLLER_HOSTNAME"),
password=Sys.getenv("XGRID_CONTROLLER_PASSWORD"), ...)
xgrid.autoextend.jags(runjags.object, max.threads=Inf, JAGSversion=">=2.0.0",
email=NA, profiling=TRUE, cpuarch=NA, minosversion=NA,
queueforserver=FALSE, hostnode=NA, forcehost=FALSE,
ramrequired=10, jobname=NA, cleanup=TRUE,
showprofiles=FALSE, jagspath='/usr/local/bin/jags',
mgridpath=system.file("xgrid","mgrid.sh", package="runjags"),
hostname=Sys.getenv("XGRID_CONTROLLER_HOSTNAME"),
password=Sys.getenv("XGRID_CONTROLLER_PASSWORD"), ...)
xgrid.submit.jags(model, max.threads=Inf, JAGSversion=">=2.0.0",
email=NA, profiling=TRUE, cpuarch=NA, minosversion=NA,
queueforserver=FALSE, hostnode=NA, forcehost=FALSE,
ramrequired=10, jobname=NA, jagspath='/usr/local/bin/jags',
mgridpath=system.file("xgrid", "mgrid.sh", package="runjags"),
hostname=Sys.getenv("XGRID_CONTROLLER_HOSTNAME"),
password=Sys.getenv("XGRID_CONTROLLER_PASSWORD"), ...)
xgrid.results.jags(background.runjags.object, wait=TRUE, cleanup=TRUE)
Arguments
model
a JAGS model, as would be provided to the
run.jags
function. runjags.object
an object of class runjags, as would be provided
to the extend.jags
function. background.runjags.object
an object of class runjags-bginfo,
returned from the xgrid.submit.jags function.
max.threads
the maximum number of tasks to split the job into.
JAGSversion
the required JAGS version for worker nodes to be
given tasks - may include '=' or '>=' to signify exact or minimum
version requirements.
email
an email address to be used to notify of job status.
profiling
option to use ART ranking to select the most suitable
host nodes preferentially.
cpuarch
option to restrict the job to 'ppc' or 'intel' nodes.
minosversion
option to restrict the job to nodes running a
minimum Mac OS version.
queueforserver
option to restrict the job to nodes considered to
be Server machines.
hostnode
option to prefer (or restrict to if forcehost==TRUE)
running the job on the specified nodes - must be provided as a single
character string with the colon character (:) separating node names.
forcehost
option to restrict the job to only nodes specified by
'hostnode'.
ramrequired
the minimum amount of free RAM (obtained using an
approximation) for each node to be assigned a task.
jobname
the name to give the job on Xgrid (optional).
cleanup
option to remove the job from Xgrid after completion.
showprofiles
option to show the node scores based on the ART
ranking used.
jagspath
the path to JAGS on the host nodes.
mgridpath
the path to the local mgrid script - default uses the
version installed with the runjags package.
hostname
the hostname of the Xgrid server to connect to.
password
the password for the Xgrid server given by hostname.
wait
option to wait for the Xgrid job to finish if it has not
already done so.
...
other options to be passed to the underlying
run.jags
family functions as if the model were being run
locally.