## You are here

5 posts / 0 new
Offline
Joined: 03/08/2010 - 17:14

Hi All,
I am not sure that I should post this question here or on a more general R discussion board, but here goes.
I am trying to use the snowfall package with OpenMx to use the independent = TRUE function in the mxModel command.
I am able to load the snowfall package, but when I try sfInit(parallel=T, cpus=2) the computer is fed into an infinite loop.
The first time that this happened, Windows asked for special permission to go through the Firewall (which I allowed).
Has anyone else had this problem and, if so, how did you solve it.

Thanks,

Offline
Joined: 07/31/2009 - 15:24
Are you certain there is an

Are you certain there is an infinite loop? I'm asking because there are other behaviors that mimic an infinite loop, such as deadlock.

Offline
Joined: 03/08/2010 - 17:14
I am not certain that it is

I am not certain that it is an infinite loop.
I tried to run R as the administrator, and it didn't change anything.
I have found several posts on various blogs where the windows firewall settings won't let the snowfall package access multiple cores. So I turned off the firewall and still nothing.

This is all that I see:

> require (snowfall)

Attaching package: 'snow'

The following object(s) are masked from 'package:base':

enquote


> sfInit(parallel=T, cpus=2)
(And then is just stays there not doing anything until I stop it)

Offline
Joined: 07/31/2009 - 15:24
As a followup, snowfall is

As a followup, snowfall is working on the following configuration: 64-bit system running Windows 7 Enterprise using 32-bit R 2.13.0 where my account is a member of the Administrators group.

Offline
Joined: 07/31/2009 - 15:24
Are you using windows 7?

Are you using windows 7? Other people have been having problems with snowfall: http://tolstoy.newcastle.edu.au/R/e8/help/09/12/8523.html. You could try running R with administrative privileges.