[Rsiena-help] Setting parallel options

Bennet Fauber bennet at umich.edu
Mon May 13 16:59:47 CEST 2019


I am not finding where the options for clusters are set.

I am running a script provided by someone else that use RSiena.  It
originally came with nbrNodes=4 in the call to sienaBayes().

I am running this on a compute cluster, and it is generating processes
that look like this

/sw/arcts/centos7/R/3.5.0/lib64/R/bin/exec/R --slave --no-restore -e
parallel:::.slaveRSOCK() --args MASTER=localhost PORT=11805
OUT=cluster.out SETUPTIMEOUT=120 TIMEOUT=2592000 XDR=TRUE

So it is using ssh to get to the same machine, and the spawned cluster
processes all seem to be running at very low percentages of CPU
because they are getting assigned to an incorrect cgroup.

I think the processes will run at or very near 100% if I can change
the cluster startup type so that they fork instead of using ssh and a
socket.

Should that be done by adding a clusterString='FORK' to the the
sienaBayes() function call?

Thanks,   -- bennet


More information about the Rsiena-help mailing list