-
Notifications
You must be signed in to change notification settings - Fork 11
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
Segmentation fault in generating the stoichiom file #64
Comments
Thanks for writing @cshsgy. Are you building KPP on a Mac? I've noticed this issue on MacOS as well. I think it may have to do with the much lower amount of stack memory on MacOS than on Linux-based systems. export OMP_STACKSIZE=500m which should set the stack memory to the maximum value on the system, and then rebuild again. Also, if you don't need the stoichometric numbers, you can also disable that option with
Also tagging @RolfSander @jimmielin |
Re: stack memory on MacOSX, we have this documentation: https://kpp.readthedocs.io/en/stable/getting_started/01_installation.html#request-maximum-stack-memory |
Hi. I am using the latest KPP on a Windows Linux Subsystem (Ubuntu) and I also encountered the exact problem as well. I managed to set the stack limit to unlimit and recompiled the source code of KPP. But the problem persists. When I check the
|
Hi @yantosca thanks for your reply! Yes I am using KPP in a UNIX-based system, but a x86-64 Ubuntu system. I tried your suggestion of changing the OMP stack size but also tried to set the ulimit, neither of them work and the error persists. |
hello @cshsgy ! i was wondering if you solved the problem already ! I am facing the similar issue on my PC. I tried much to solve this but i failed to do so. can you help me ? |
@prithvi09, there's a 2 line change in this pull request: #67, which fixes the stack overflow and allows the STOICMAT option to run for me. I'm not sure if this has been validated or will get pulled into KPP at some point, but it has worked for my purposes |
Hi! For me eventually ulimit -s unlimited solved the problem. I have to say the tutorial was poorly organized and we have to go to the very bottom of the page to find out the solution to this problem. |
This should be now solved by PR #67, which has been merged into KPP 3.0.1. |
Hi, I was trying out the examples of KPP. However, an error comes up when I came to the compiling stage:
I used the files in the example folder, and they all fail at the same place. Is there a way to trace where the problem happens or does anyone have any ideas on how I can fix this?
The text was updated successfully, but these errors were encountered: