Skip to content

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

Open
jmarshallnz wants to merge 2 commits intoandrefaa:masterfrom
jmarshallnz:no_parallel
Open

Change cores=1 so that it doesn't create parallel clusters#304
jmarshallnz wants to merge 2 commits intoandrefaa:masterfrom
jmarshallnz:no_parallel

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