-
Notifications
You must be signed in to change notification settings - Fork 11
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
request to add parallel run in structureRun #58
Comments
STRUCTURE doesn't make use of multiple cores internally, so I can't take advantage of that capability in the structureRun() wrapper. The most I could do is convert it to optionally run each value of K on a separate core. Since files are currently being written to the working directory, I need to make sure there won't be conflicts with filenames among the cores (I think the seed file doesn't currently get a special name with the user-specified label at the moment). It'll give me the opportunity to also add the option of writing to (and reading from) a temporary folder as a default which I've wanted to put in place for a while. However, you should be able to create this functionality yourself with something like (untested) :
|
Hi Eric,
Thanks for the great package. I've been using strataG for some time now, and I recently had to run a STRUCTURE analysis with a large sample size which was very slow.
I was wondering if would be possible to add parallel processing in the function structureRun to speed up? In that way the user could provide to an argument how many cores to use.
Thank you.
The text was updated successfully, but these errors were encountered: