-
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
Evaluation fails for X0 #168
Comments
Hi, I've met the same problem with PyNomad, which provided the following message
How can I check to make sure PyNomad is working? |
You can check that PyNomad is working with the provided simple examples in https://github.com/bbopt/nomad/tree/master/examples/advanced/library/PyNomad. It should work as the output you provided shows that PyNomad is a valid binary. The python blackbox must follow the same type of structure as in ``
`` The |
Got it, thanks for your help |
When Nomad fails to evaluate the provided X0 it will stops immediately with a message that will look like that
This can happen when using the batch mode with a standalone blackbox code. In that case, it is recommended to first check the outputs given by the blackbox outside of a Nomad run (put X0 coordinates in a text file and run the blackbox as ./bb.exe X0.txt).
The number of outputs must match the outputs as described in the
BB_OUTPUT_TYPE
parameter.If the number of outputs produced by the blackbox matches the
BB_OUTPUT_TYPE
size it is possible that the outputs totallength exceeds the evaluator's buffer. This will not happen in most case with a few blackbox outputs considered.
A patch is available in the develop branch (not master). With the patched code, during execution a more explicit message will be provided if X0 fails to evaluate. The message also suggest to change the buffer maximum size in the
$NOMAD_HOME/src/Util/defines.hpp
if necessary.The text was updated successfully, but these errors were encountered: