Open jasmainak opened 3 years ago
Seems a good idea to throw an exception. Also a UserWarning
if only 1 processor is given to MPIBackend (which will run simulation using joblibs
). I think this might catch an issue on CI where the cloud server only has 1 processor, so run_hnn_core_fixture
may actually not run MPIBackend
when the test inteded to.
I think HNN GUI could be adapted to catch the ImportError
and run the simulation with the joblibs
backend. Just need changes on that side too...
Is this issue currently open?
@simar5244 yes it is!
Not exactly sure if it's intended behavior. If you do:
and
mpi4py
is not installed, it should throw anImportError
rather than resorting tojoblibs
backend