I want to access to the vars declared in a file.mod.
My file.mod is:
Code: Select all
NEURON {
SUFFIX STDPE2
POINT_PROCESS STDPE2
RANGE tau1, tau2, e, i, d, p, dtau, ptau, thresh, wmax, wmin
RANGE g, gbdel, gblen, gbint, gscale
NONSPECIFIC_CURRENT i
}
..................
So, I have in file.hoc print wmax_STDPE2.
But this produces an error: 2 nrniv: undefined variable wmax_STDPE2.
I would also like to know how to handle the printing of variables directly from the file file.mod, when I run my program in parallel version.
In hoc I manage the printing with
Code: Select all
for rank=0, pc.nhost-1 {
if (pc.id==rank) print var
...
Thanks.