- Code: Select all
`Traceback (most recent call last):`

File "/home/renat/miniconda2/envs/pde_env/lib/python2.7/site-packages/neuron/nonvint_block_supervisor.py", line 134, in nonvint_block

c[method](*args)

File "/home/renat/miniconda2/envs/pde_env/lib/python2.7/site-packages/neuron/rxd/rxd.py", line 586, in _w_fixed_step_solve

def _w_fixed_step_solve(raw_dt): return _fixed_step_solve(raw_dt)

File "/home/renat/miniconda2/envs/pde_env/lib/python2.7/site-packages/neuron/rxd/rxd.py", line 356, in _fixed_step_solve

b = _rxd_reaction(states) - _diffusion_matrix * states

File "/home/renat/miniconda2/envs/pde_env/lib/python2.7/site-packages/scipy/sparse/base.py", line 337, in __mul__

raise ValueError('dimension mismatch')

ValueError: dimension mismatch

RuntimeError Traceback (most recent call last)

<ipython-input-4-39d358bcedc7> in <module>()

37

38 for i in xrange(1, 5):

---> 39 h.continuerun(i * 25)

40 plot_it()

41

RuntimeError: hoc error

Interestingly the code can be run on my MAC OS, but somehow it stores values (at least it seems so) for the second and next runnings. This can be clearly seen on the artefacts in the image

My aim is to run kind of that solver but for different equation parameters, this is why I need more that one time run, but unfortunately I couldn't solve the problem by far. Can anyone help me with that?