optimas-org / optimas

Optimization at scale, powered by libEnsemble
https://optimas.readthedocs.io
Other
22 stars 13 forks source link

Optimas do not seem to run asynchronously #213

Open delaossa opened 3 months ago

delaossa commented 3 months ago

Some tests such as this: https://github.com/optimas-org/optimas/blob/main/tests/test_ax_model_manager.py do not seem to run asynchronously when run_async=True is passed to the Exploration object.

AngelFP commented 3 months ago

Thanks for reporting @delaossa , we'll investigate this.

delaossa commented 2 months ago

I have been running optimas asynchronously with (fbpic) simulations that run on the GPU with no problems. I wonder if the issue mentioned above is something particular of the FunctionEvaluator, which does not run with mpi.

AngelFP commented 2 months ago

Ha, good catch. I suspected that that could be the case. I don't know right now why the FunctionEvaluator is behaving differently, but it is indeed probably the reason.