Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMINC breaks parallel::parSapply() when using parallel::makeForkCluster() in R 4.1.3 #310

Open
dnmacdon opened this issue Jun 3, 2022 · 0 comments

Comments

@dnmacdon
Copy link

dnmacdon commented Jun 3, 2022

In R 4.1.3, I've noticed the following issue. It does not occur when using 3.5.1. Note that no RMINC functions are used - merely loading RMINC causes this to break.

This works:

library(parallel)
cl <- makeForkCluster( 2 )
result <- parSapply (cl, X=1:1000, FUN=function(x) x)
stopCluster(cl)

This does not:

library(parallel)
library(RMINC)
cl <- makeForkCluster( 2 )
result <- parSapply (cl, X=1:1000, FUN=function(x) x)
stopCluster(cl)

Fails with: Error in serialize(data, node$con, xdr = FALSE) : ignoring SIGPIPE signal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant