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

Change cores=1 so that it doesn't create parallel clusters #304

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmarshallnz
Copy link

This makes it easier to debug problems. If you set cores=1 with current master, you still have everything run on a cluster (with 1 core) which means error messages are often obfuscated to the effect of "no connection" type errors.

This just turns off the creation (and destruction) of the cluster, allowing everything to run as per usual. Errors then get reported directly.

NOTE: There is an additional parallel::makeCluster() command in Ensemble_TMLA.R that appears to be incorrect. I have no idea what it is supposed to be doing, so have not changed this one. If you can direct me as to it's use, I'm happy to incorporate into this framework :)

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

Successfully merging this pull request may close these issues.

1 participant