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

Pass variables to cluster while using use_cluster #313

Open
aatishk opened this issue Jul 29, 2017 · 0 comments
Open

Pass variables to cluster while using use_cluster #313

aatishk opened this issue Jul 29, 2017 · 0 comments

Comments

@aatishk
Copy link

aatishk commented Jul 29, 2017

I am using look_up function to allocate values to a model parameter. The look_up function peeks into a data frame. This data frame is not passed to all the cores in the cluster when using the use_cluster, which causes use_cluster to fail.

parallel package (which is being used by heemod to parallelize) has the option to pass on variables using the clusterExport function. It'll be nice to have the option in heemod to pass variables/data-frames to all the nodes in the cluster while creating a cluster.

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