Assertion failed: file exp2synT.c, line 249

NMODL and the Channel Builder.
Post Reply
eacheon
Posts: 97
Joined: Wed Jan 18, 2006 2:20 pm

Assertion failed: file exp2synT.c, line 249

Post by eacheon »

Hello,

I am getting this error message:

Assertion failed: file exp2synT.c, line 249
/home/me/nrn59/nrn/i686/bin/nrniv: _tsav <= t
near line 0

during running of my model. The mechanism exp2synT.mod used has the following in its NET_RECEIVE block:

Code: Select all

NET_RECEIVE(weight (uS)) {
VERBATIM
    fprintf(stderr, "_tsav=%f, t=%f\n", _tsav, t);
ENDVERBATIM
    A = A + weight*factor
    B = B + weight*factor
    total = total+weight
}
But the fprintf is put after the assertion so I cannot obtain teh _tsav and t when the error happens.

Any help will be appreciated!
eacheon
Posts: 97
Joined: Wed Jan 18, 2006 2:20 pm

Re: Assertion failed: file exp2synT.c, line 249

Post by eacheon »

eacheon wrote:Hello,

I am getting this error message:

Assertion failed: file exp2synT.c, line 249
/home/me/nrn59/nrn/i686/bin/nrniv: _tsav <= t
near line 0

during running of my model. The mechanism exp2synT.mod used has the following in its NET_RECEIVE block:

Code: Select all

NET_RECEIVE(weight (uS)) {
VERBATIM
    fprintf(stderr, "_tsav=%f, t=%f\n", _tsav, t);
ENDVERBATIM
    A = A + weight*factor
    B = B + weight*factor
    total = total+weight
}
But the fprintf is put after the assertion so I cannot obtain teh _tsav and t when the error happens.

Any help will be appreciated!

It turns out related to my using of ssinit() from the NEURON book, and the fact I am using it in a positive time range instead of originally negative ones. Stick to the ssinit in the book eliminated this problem.
Post Reply