CCSI-Toolset / FOQUS

FOQUS: Framework for Optimization and Quantification of Uncertainty and Surrogates
https://foqus.readthedocs.io
Other
46 stars 54 forks source link

OUU: Problem with "Stop" Button #101

Closed fsoepyan closed 6 years ago

fsoepyan commented 6 years ago

In the OUU tab, whenever the "Stop" button is pushed, the button does not change back to "Run OUU", and I need to close FOQUS and reopen it in order to rerun OUU.

ngbrenda commented 6 years ago

Please provide more details on what you were trying to do, so we can replicate the problem. Thanks.

fsoepyan commented 6 years ago

Please refer to Issue #126.

fsoepyan commented 6 years ago

As mentioned in my comment for Issue #110, I downloaded psuade 1.7.10.

However, the issue with the "Stop" button is still there.

sotorrio1 commented 6 years ago

Sometimes if you wait a little bit, OUU actually stops and FOQUS doesn't freeze. I assume that it could be psuade hasn’t stopped yet and FOQUS is waiting for it to stop. The stop button should write out a file called “psuade_ouu_stop” in the working directory. This is supposed to be the signal to tell psuade to stop. Sometimes, though, psuade needs to finish something before it can do the check to see if the file exists.

fsoepyan commented 6 years ago
ou3llnl commented 6 years ago

The problem was an error in FOQUS that caused PSUADE to hang waiting for it. Should be fixed now. Try it @fsoepyan and close if fixed.

fsoepyan commented 6 years ago
fsoepyan commented 6 years ago
fsoepyan commented 6 years ago
ou3llnl commented 6 years ago

@fsoepyan : Could you try using the Rosenbrock_no_vectors example in examples/UQ? Example 3 runs calling a native psuade function and doesn't run the flowsheet so I'm not surprised it works for you. Let me know if you still get freezing with the Rosenbrock, and if yes, send me reproduction steps. I do not have ACM, so your session wouldn't work for me if I tried it.

ou3llnl commented 6 years ago

I just found another error that could be causing the hanging. Working on it.

fsoepyan commented 6 years ago
ksbeattie commented 6 years ago

@fsoepyan will test with new version of psuade

fsoepyan commented 6 years ago
fsoepyan commented 6 years ago

I tested the "Stop" button, and it now works.

fsoepyan commented 6 years ago

I am reopening this issue: please see Issue #110 for the reason

sotorrio1 commented 6 years ago

The stop button should work unless there is another error, then the communication with psuade breaks and that's why the stop button "doesn't work".

fsoepyan commented 6 years ago

Given Pedro's explanation, we can close this issue.