Repository navigation
Windows-Specific Cluster Failures When Estimating Behavior–Bipartite Interaction Effects in RSiena #133
Replies: 2 comments 4 replies
This suggests that the parallel worker terminated abruptly (aka crashed; died; ...). This can happen when you run out of memory, but also for other reasons. Each parallel workers ("node", "core") consumes memory, so the more parallel workers you use, the greater the risk is to run out of memory. Looking at the source code for In your example, you use |
|
I haven't verified that it works, but to get better error message, you might be able to use: library(future)
cl <- makeClusterFuture()
plan(multisession, workers = 2)
bipResults <- siena07(bipModel, data = bipData, effects = bipEffects, cl = cl, verbose = TRUE)That should give two parallel workers just like |
Uh oh!
There was an error while loading. Please reload this page.
When estimating behavior–network interaction effects—specifically avInAltDist2 and outdeg for the behavioral variable (cos_align_r) conditioned on the bipartite network (analys)—I consistently encounter failures on Windows when using the useCluster option. The estimation terminates with the error:
Notably, this problem does not arise when other objective functions are included, nor does it occur when useCluster = FALSE, although serial execution substantially increases runtime. In addition, the same specification runs successfully on macOS under otherwise comparable conditions.
Do you have any insight into why this combination of effects appears to trigger cluster failures specifically on Windows, or whether this might reflect platform-specific limitations in RSiena’s parallelization strategy for behavior–bipartite interaction terms? Thanks!
All reactions