You are here

Need to run single-threaded on a Linux cluster

3 posts / 0 new
Last post
smedland's picture
Offline
Joined: 08/04/2009 - 16:08
Need to run single-threaded on a Linux cluster

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

smedland's picture
Offline
Joined: 08/04/2009 - 16:08
the solution....

from Mike Neale via email
mxOption(NULL, "Number of Threads", 2)
-Sarah

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
That will work. Or rather

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'))