Squash MPI warnings
Desired capability or behavior.
When running Aviary, a warning related to importing MPI usually prints to the terminal:
/usr/share/miniconda/envs/test/lib/python3.12/site-packages/pyoptsparse/pyOpt_MPI.py:68: UserWarning: mpi4py could not be imported. mpi4py is required to use the parallel gradient analysis and parallel objective analysis for non-gradient based optimizers. Continuing using a dummy MPI module from pyOptSparse. warnings.warn(warn)
This is minorly annoying for running Aviary, but is adding unnecessary and confusing clutter to embedded code cells in docs. These errors should always be suppressed in the docs, and a way to suppress it for ordinary Aviary runs should also be implemented, possibly tied to Verbosity and suppression of other common warnings and printouts
Is your feature request related to a problem? Please describe.
No response
Associated Bug Report
No response
I did see this warning before. I just tried to run aviary run_mission small_single_aisle_GwGm.csv and python test_bench_FwFm.py. I didn't see it. Can you give a case when you see this warning?
I still see it in the docs (https://openmdao.github.io/Aviary/user_guide/aviary_commands.html for example), but I don't get that message when I try aviary -h on my windows machine or on a linux cluster. Maybe this is because the workflow that builds the docs is not using the latest pyopsparse from conda?
Related issue: https://github.com/OpenMDAO/Aviary/issues/140