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

Accept negative n_jobs parameter for joblib #102

Merged

Conversation

timcallow
Copy link
Contributor

As detailed here, the joblib library can accept a negative value for the n_jobs parameter and determine how many cores to run on from the maximum number available. This PR updates the code so that if config.numcores is negative, the parallel solving routine (rather than the serial one as was done previously) is used.

The docstring for the KS_matsolve_parallel function is also made more detailed.

@DanielKotik DanielKotik merged commit ac11fc8 into atomec-project:develop Dec 9, 2021
@timcallow timcallow deleted the joblib_negative_n_jobs branch December 13, 2021 14:30
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.

None yet

2 participants