You are here

Error crashed parallel run

5 posts / 0 new
Last post
Ryne's picture
Offline
Joined: 07/31/2009 - 15:12
Error crashed parallel run

32-bit Windows box running 4 cores; got the same error under R 2.11 and 2.12.1 and OpenMx 1.0.4, 1.0.5 and 1.0.6. Error does not replicate on Mac OS X 10.6.6.

Simulation study with 10 independent submodels, each submodel containing two dependent submodels. The error, in response to running model called 'Full':

Running Full
Error in do.call("fun", lapply(args, enquote)) : 
  could not find function "fun"
 
Similar simulations did not break, including those with 100s of submodels each containing a single dependent submodel. Thoughts?
mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
What is the output of

What is the output of traceback()?

Ryne's picture
Offline
Joined: 07/31/2009 - 15:12
> traceback() 7:

> traceback()
7: do.call("fun", lapply(args, enquote))
6: docall(c, clusterApply(cl, splitList(x, length(cl)), lapply,
fun, ...))
5: parLapply(sfGetCluster(), x, fun, ...)
4: sfLapply(x, fun, ...)
3: omxLapply(independents, mxRun, intervals = intervals, silent = silent,
suppressWarnings = suppressWarnings, unsafe = unsafe, checkpoint = checkpoint,
useSocket = useSocket, onlyFrontend = onlyFrontend)
2: runHelper(model, frontendStart, intervals, silent, suppressWarnings,
unsafe, checkpoint, useSocket, onlyFrontend)
1: mxRun(first, unsafe = TRUE)

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
Oh hey, I think I found the

Oh hey, I think I found the problem (link). If you have a variable named 'c' in your program, give it another name.

Ryne's picture
Offline
Joined: 07/31/2009 - 15:12
Should have googled it

Should have googled it myself. Genetics simulation on ACE model in which I used a, c and e to generate data values. I hereby dock myself 5 geek points.