Need to run single-threaded on a Linux cluster

Posted on
Picture of user. smedland Joined: 08/04/2009
Hi
I need to find out how to run openMx singlethreaded on a Linux system running R 2.15.1
It seems to be running multi-threaded by default and spawning a couple of hundred threads which is causing issues on our cluster which runs a condor queueing system.
thanks
Sarah
Replied on Mon, 10/29/2012 - 21:18
Picture of user. mspiegel Joined: 07/31/2009

In reply to by smedland

That will work. Or rather mxOption(NULL, "Number of Threads", 1) if you want one thread per process. Another way is to install the package this way:

repos <- c('http://openmx.psyc.virginia.edu/packages/')
install.packages(pkgs=c('OpenMx'), repos=repos, configure.args=c('--disable-openmp'))