-
Notifications
You must be signed in to change notification settings - Fork 23
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
PSD-NOMAD crash due to "std::out_of_range" #145
Comments
Forgot to mention that PSD-MADS is called from python:
|
I see that std::map is the reason the out_of_range exception was triggered. |
On my side I will take some time to reproduce the problem with the files you shared. Thanks |
OK, I will try it. |
In fact, quad models are disabled only for the search step of Mads. Other use of models are not disabled. I am really not sure this is the cause of the exception you have. I will dig into your example. |
I did some tests on your example (ran ~ 10 times) on OSX and Linux (both gcc) but I did not get the out_of_range exception. You can increase the display degree to have more information prior to the crash, maybe this can help to figure out what is going on. |
I tried adding the parameters you mentioned but it still crashed after repeating the experiment 29 times. I will increase display degree to see what NOMAD outputs. |
I was repeating an optimization experiment using PSD-NOMAD. It repeated for a few times without any problem and then crashed with "std::out_of_range" error. Is there a way to solve it?
This problem need to repeat execution several times to trigger.
File Content
nomad4_param.txt
nomad4.cache (externally generated)
Code
obj_func.py
test_func.py
Terminal Output
Environment
Python version: 3.10.6
OS: Ubuntu 22.04
The text was updated successfully, but these errors were encountered: