Error crashed parallel run

Posted on
Picture of user. Ryne Joined: 07/31/2009

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?

Replied on Tue, 03/22/2011 - 18:03
Picture of user. Ryne Joined: Jul 31, 2009

In reply to by mspiegel

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