### Running pde solver more than once

Posted:

**Mon Jun 19, 2017 4:56 am**Hello everyone! I am new to Neuron and RxD. Recently , I went through examples and stumbled upon scalar bi stable wave. Im using jupyter for running the code and with the first run it seems totally ok, I got all the plots as in example, but the second run already gives this error message. I am using Ubuntu.

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?

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
```

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?