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

Allow higher number of threads than 8 #27

Merged
merged 6 commits into from
Apr 25, 2019

Conversation

jmarrec
Copy link
Contributor

@jmarrec jmarrec commented Feb 8, 2019

Fix #33: use os.cpu_count() to set the high range of number of threads in main_window.py

Fix #32: Handle files that could have non-UTF-8 encoding (at least: AirflowNetwork_MultiAirLoops, AirflowNetwork_PressureControl)

@Myoldmopar

@jmarrec jmarrec changed the title Allow higher number of threads than 8 (up to max available on system) Allow higher number of threads than 8 and handle bad non-UTF-8 encoding Mar 8, 2019
@Myoldmopar Myoldmopar changed the title Allow higher number of threads than 8 and handle bad non-UTF-8 encoding Allow higher number of threads than 8 Apr 25, 2019
@Myoldmopar
Copy link
Member

I pulled out the utf change here since that was not being covered by unit tests and was the reason this branch was failing. I'll pull in the CPU count here if this passes now.

@Myoldmopar
Copy link
Member

Coveralls seems to be really confused. This should be covering the entire codebase. Looking at the source list it seems to indicate zero lines were missed. Yet it won't collect the results between both Py2 and Py3 builds to get to 100%. Not sure why. Anyway, merging this in.

@Myoldmopar Myoldmopar merged commit 6ded15d into NREL:master Apr 25, 2019
@jmarrec jmarrec deleted the Allow_higherNThreads branch April 26, 2019 13:10
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.

Allow more than 8 threads Run silently fails and hangs due to file encoding error
2 participants