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
When I run an Optuna batch optimization with the A1 model, mpiexec has trouble running the nrniv processes for the simulation. NetPyNe doesn't check the return calls from subprocess Popen and then waits indefinitely since the output is never produced. It seems that nrniv processes might get started but are put to sleep immediately.
This is using conda on Ubuntu with following relevant packages:
python
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
I expected the mpiexec process to start nrniv properly, but nrniv fails to start. Running the mpiexec command directly runs simulations properly, but once using batch.py/NetPyNe batch with Optuna, nrniv does not start properly.
System information
See above
Additional context
Check with samn or James C for more details on reproducing the bug
The text was updated successfully, but these errors were encountered:
in optuna_parallel.py the nrniv jobs seemed to be going to sleep/getting suspended
putting a quit in the right place seemed to allow the later mpiexec with nrniv processes start properly
Describe the bug
When I run an Optuna batch optimization with the A1 model, mpiexec has trouble running the nrniv processes for the simulation. NetPyNe doesn't check the return calls from subprocess Popen and then waits indefinitely since the output is never produced. It seems that nrniv processes might get started but are put to sleep immediately.
This is using conda on Ubuntu with following relevant packages:
python
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
Reproducing the bug
Steps to reproduce the behavior:
Go to the A1 repo/branch here:
https://github.com/NathanKlineInstitute/A1/tree/samn
Then run
python batch.py
Expected behavior
I expected the mpiexec process to start nrniv properly, but nrniv fails to start. Running the mpiexec command directly runs simulations properly, but once using batch.py/NetPyNe batch with Optuna, nrniv does not start properly.
System information
See above
Additional context
Check with samn or James C for more details on reproducing the bug
The text was updated successfully, but these errors were encountered: