Page 1 of 1

soma voltage becomes "nan" during simulation

Posted: Wed Jul 19, 2006 1:30 pm
by eacheon
Hello,

My vector recording membrane voltage gets "nan" values after some point process (synapses) is triggered. Other than the error that the recorded vector has values "nan" from a certain index on, there's no any other error or warning messages.

After nrniv finished its runs:

Code: Select all

oc> .... (no warning or error message)
oc> soma.v
         nan
I got a screenshot of the voltage window, but here I find no way to attach it in messages.

Still trying to debug into this. It was fine the day before. Just wondering any one have met such a case and would like to share some insight?

- e

Re: soma voltage becomes "nan" during simulation

Posted: Fri Jul 21, 2006 9:57 am
by ted
eacheon wrote:It was fine the day before.
So something changed between then and now. Unless somebody else has access to
your machine, you changed it. If you have been keeping track of revisions of your code,
it should be fairly easy to go back to the last good version of your program and fix the
problem.

Re: soma voltage becomes "nan" during simulation

Posted: Fri Jul 21, 2006 9:11 pm
by eacheon
ted wrote:
eacheon wrote:It was fine the day before.
So something changed between then and now. Unless somebody else has access to
your machine, you changed it. If you have been keeping track of revisions of your code,
it should be fairly easy to go back to the last good version of your program and fix the
problem.
exactly, exactly.

I made some mistake in the initialization of the model. It really helps to read thoroghly throught that part in reference again. Also as you said, an inspection of the backups indicated where the errors are introduced.