optimas-org / optimas

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

optimas fails on local computer when using `openmpi` #74

Closed RemiLehe closed 1 year ago

RemiLehe commented 1 year ago

When following the usual installation instructions (https://github.com/optimas-org/optimas/pull/73/files#diff-20992829268e55996a538b63e63a11da6547bbc07dac31a3e1ed5c140d5b2984), but using:

conda install -c conda-forge mpi4py mpi openmpi

instead of

conda install -c conda-forge mpi4py mpi mpich

then the tests fail. In particular, running python test_template_evaluator.py results in failures. It seems that we cannot call mpirun from openmpi from within libensemble.