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

distributed Henry calc'ns #212

Open
eahenle opened this issue Dec 19, 2021 · 0 comments
Open

distributed Henry calc'ns #212

eahenle opened this issue Dec 19, 2021 · 0 comments

Comments

@eahenle
Copy link
Collaborator

eahenle commented Dec 19, 2021

Calculating Henry coefficients for multiple crystals and/or gases in a @distributed for loop, using julia -p X with X > 4 does not work. The result is an error: Use 5 cores or less for Henry coefficient calculations to match the number of blocks

So, it seems that for a single crystal you can only use 4 processes (inconsistent with the error message) and for a single script execution you can also only use 4 processes (as opposed to 4 procs per crystal). This can be worked around by using a shell script to drive the loop and fire off julia -p 4 jobs for each crystal, but should be looked into for better usability and efficiency.

@eahenle eahenle transferred this issue from SimonEnsemble/Xtals.jl Feb 20, 2022
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