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

Plotter errors out on Mac when running multiple scenarios, due to multithreading #18

Open
MartySchwarz opened this issue Nov 18, 2021 · 3 comments
Labels
bug 🐛 Something isn't working Figure Creation 🎨 Add to any issues involving Figures

Comments

@MartySchwarz
Copy link
Collaborator

with concurrent.futures.ThreadPoolExecutor(max_workers=16) as executor:

Errors are either Segmentation Fault: 11 or Abort Trap: 6

@daniellevie
Copy link
Collaborator

daniellevie commented Nov 18, 2021

@bsergi and @bradystoll since you both also have Macs could you see if you get the same error whenever you have some spare time? You'll just need to process and attempt to make some plots for the example data now located on main https://github.com/NREL/Marmot/tree/main/example-data/hourly

The data processes in less than 1 minute per scenario so shouldn't take too long. The user_input_file can be quickly setup by using the values described in the Tutorials https://nrel.github.io/Marmot/get-started/index.html

@daniellevie daniellevie added bug 🐛 Something isn't working Figure Creation 🎨 Add to any issues involving Figures labels Nov 18, 2021
@daniellevie
Copy link
Collaborator

Solved on mac by reducing number of multithread workers in yaml

@MartySchwarz
Copy link
Collaborator Author

Edit method to bypass multithreading code if max workers = 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working Figure Creation 🎨 Add to any issues involving Figures
Projects
None yet
Development

No branches or pull requests

2 participants