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

Enable parallelisation for Windows #69

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Enable parallelisation for Windows #69

merged 4 commits into from
Feb 19, 2024

Conversation

stitam
Copy link
Owner

@stitam stitam commented Feb 18, 2024

Related to issue #68.

Previously the packages used parallel::mclapply() for parallelisation but apparently this is does not work on Windows. As an immediate workaround parallelisation was disabled for Windows but this is a poor outcome.

This PR updates parallelisation such that it keeps the "fork" approach for non-Windows systems and implements the "socket" approach for Windows. Reference: https://dept.stat.lsa.umich.edu/~jerrick/courses/stat701/notes/parallel.html

The PR also includes a small but important change to the Dockerfile which ensures thatwebseq() is updated each time the container is built.

@stitam stitam merged commit 9288d03 into master Feb 19, 2024
6 checks passed
@stitam stitam deleted the parallel branch February 19, 2024 12:17
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