idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
219 stars 133 forks source link

test framework/Optimizers.multitrajlevelWithModelHolding shows prematurely exit #763

Closed alfoa closed 4 years ago

alfoa commented 6 years ago

Issue Description

What did you expect to see happen?

I expected the multilevel_with_multitraj_ensemble.xml test to reach the convergence

What did you see instead?

The multilevel_with_multitraj_ensemble.xml (heavy test) prematurely exits without reaching the optimal point:

(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "0": Process: "       following traj 1       ", Reason: "     removed as redundant     "
(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "1": Process: "  collecting new opt points   ", Reason: "    seeking new opt point     "
(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "2": Process: "  collecting new opt points   ", Reason: "    seeking new opt point     "
(    1.66 sec) SPSA                     : DEBUG           -> Checking readiness for traj "2" ...
(    1.66 sec) SPSA                     : DEBUG           ->     Traj "2": Waiting on collection of new optimization point.
(    1.66 sec) SPSA                     : DEBUG           -> Checking readiness for traj "1" ...
(    1.66 sec) SPSA                     : DEBUG           ->     Traj "1": Waiting on collection of new optimization point.
(    1.66 sec) SPSA                     : DEBUG           -> Not ready to provide a sample yet.
(    1.66 sec) SPSA                     : DEBUG           -> Reviewing status of trajectories:
(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "0": Process: "       following traj 1       ", Reason: "     removed as redundant     "
(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "1": Process: "  collecting new opt points   ", Reason: "    seeking new opt point     "
(    1.66 sec) SPSA                     : DEBUG           ->    Traj: "2": Process: "  collecting new opt points   ", Reason: "    seeking new opt point     "
(    1.66 sec) SPSA                     : DEBUG           -> Checking readiness for traj "2" ...
(    1.66 sec) SPSA                     : DEBUG           ->     Traj "2": Waiting on collection of new optimization point.
(    1.66 sec) SPSA                     : DEBUG           -> Checking readiness for traj "1" ...
(    1.66 sec) SPSA                     : DEBUG           ->     Traj "1": Waiting on collection of new optimization point.
(    1.66 sec) SPSA                     : DEBUG           -> Not ready to provide a sample yet.
(    1.66 sec) STEP MULTIRUN            : DEBUG           -> Finished with 78 runs submitted, 0 jobs running, and 0 completed jobs waiting to be processed.
(    1.66 sec) SPSA                     : DEBUG           -> ===============
(    1.66 sec) SPSA                     : DEBUG           -> | RUN SUMMARY |
(    1.66 sec) SPSA                     : DEBUG           -> ===============
Do you have a suggested fix for the development team?
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.

For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

PaulTalbot-INL commented 6 years ago

I'm not very familiar with the mechanics tested here; it looks like @alfoa was the developer and test writer.

I do see that no new samples are ready but it is clearly not converged when I run it, as well. I'm seeing this in other problems, as I mentioned last week; the implicit readiness checking makes this slightly painful to debug. Hopefully I can look at it soon.

alfoa commented 4 years ago

Closing since new optimizer is the process to be rewritten