Page 1 of 1

Vector play error

Posted: Mon Aug 17, 2009 12:38 am
by wvangeit
Hi,
Does anybody have any idea why the following code is not working anymore in Neuron 7 (Revision 2227) ?

Code: Select all

create soma

objref vclamp1, v1

v1 = new Vector(1000000)

soma {
    vclamp1 = new SEClamp(.5)
    v1.play(&vclamp1.amp1,0.02)
}

tstop = 1000

run()
I get the error:

Code: Select all

NEURON -- VERSION 7.0.0 (2227) 2008-09-22 (2227M)
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008
See http://www.neuron.yale.edu/credits.html

nrniv: ../nrncvode/netcvode.cpp:3208: virtual void PlayRecordEvent::deliver(double, NetCvode*, NrnThread*): Assertion `nt == plr_->cvode_->nth_' failed.
Aborted
It works perferctly in older versions of Neuron (prior to 7.0) that I've tried.

Thx,

Werner Van Geit

Re: Vector play error

Posted: Mon Aug 17, 2009 12:55 am
by wvangeit
Small addition, it seems to work in Neuron 7 that is compiled from the tarball on the website, but I'm using the latest repository release, downloaded with subversion.

Werner

Re: Vector play error

Posted: Mon Aug 17, 2009 2:37 am
by wvangeit
Okay, have discovered the problem, apparently the subversion archive doesn't contain the latest release, have used the Mercurial repository now. This solves the problem.

Werner

Re: Vector play error

Posted: Mon Aug 17, 2009 1:22 pm
by ted
Was there a page on the WWW site that directed you to the subversion repository? If so, let me know and I'll change it to point people to the mercurial repository.

Re: Vector play error

Posted: Mon Aug 17, 2009 7:53 pm
by wvangeit
Hi,
No, not at the moment I think, but when I started using that subversion archive more than a year ago, I think there was. I was just doing 'svn update' to get the new release, didn't realize that you stopped using that archive.

Werner

Re: Vector play error

Posted: Mon Aug 17, 2009 8:10 pm
by ted
That's an easy mistake to make. We should probably take that repository off a public server.