Thank you very much, that was helpful! After adding your lines, my program now outputs all the text about analyzing, saving output files, plotting, etc, without me having to kill the process. However, it does still hang after this point.
import HHTut
from netpyne import sim
sim.createSimulateAnalyze(netParams = HHTut.netParams, simConfig = HHTut.simConfig)
With your recommended additions, it is now:
import HHTut
from netpyne import sim
from neuron import h
sim.createSimulateAnalyze(netParams = HHTut.netParams, simConfig = HHTut.simConfig)
sim.pc.barrier() # wait until all nodes in here
if sim.pc.id() == 0: # if master node,
sim.pc.done() # quit other nodes
h.quit() # quit all process
I am following the tutorial and running the code with the command mpiexec -n 4 nrniv -python -mpi tut1.py . When I do so, all the expected data files are generated, and the command window outputs a bunch of text, but the cursor still just sits there blinking without the program every properly quitting.
Thank you for the help!