You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should only happen when falling back to JoblibBackend with 1 core because mpi4py can't be loaded. While it would be a useful feature to be able to run HNN GUI without MPI, I think this involves an enhancement, not a bug.
If you'd like to support this, two options are:
Run Joblib backend in a separate process, like mpi_child.py
Modify _simulate_single_trial to support a cell_parallel option. The _PC.psolve() function must be avoided because it will take over all threads in the python process (slows down GUI threads too). Note that other ParallelContext functions are not problematic, just psolve.
if cell_parallel:
_PC.psolve(h.tstop)
else:
# this needs more to work correctly, check out NEURON docs
_CVODE.solve(h.tstop)
When I run the simulation, I see the following:
The text was updated successfully, but these errors were encountered: