I have problems compiling a .mod. The error message are confusing and interestly, the behaviour changes when my computer returns from hibernation (a Dell Laptop with Ubuntu 12.04).
I'm compiling three .mod, two of them have worked OK in a different problem and the new one (GolfAC5GiSyn.mod) is the problematic one.
First compilation attempt:
Code: Select all
mine$ nrnivmodl GolfAC5GiSyn peaktrainglobal diptrainglobal
/mine
GolfAC5GiSyn peaktrainglobal diptrainglobal
GolfAC5GiSyn peaktrainglobal diptrainglobal
"/home/yo/NEURON/nrn-7.3/x86_64/bin/nocmodl" GolfAC5GiSyn
Translating GolfAC5GiSyn.mod into GolfAC5GiSyn.c
Notice: Use of EXTERNAL is not thread safe.
Notice: Use of EXTERNAL is not thread safe.
PDE10 can't be declared a parameter by default at line 315 in file GolfAC5GiSyn.mod
}
^
make: *** [GolfAC5GiSyn.c] Error 1
Then, I changed PDE1 to PDE1aa in the STATE block which ended at line 315 and tried to compile again.
Code: Select all
mine$ nrnivmodl GolfAC5GiSyn peaktrainglobal diptrainglobal
/mine
GolfAC5GiSyn peaktrainglobal diptrainglobal
GolfAC5GiSyn peaktrainglobal diptrainglobal
"/home/yo/NEURON/nrn-7.3/x86_64/bin/nocmodl" GolfAC5GiSyn
Translating GolfAC5GiSyn.mod into GolfAC5GiSyn.c
Notice: Use of EXTERNAL is not thread safe.
Notice: Use of EXTERNAL is not thread safe.
Line too long:GaiGTP' = - (kfAC5XGaiGTP*GaiGTP*AC5Ca - krAC5XGaiGTP*AC5CaGaiGTP) - (kGiGTPase*GaiGTP) + (kactGi*M4RAChGi) - (kfAC5XGaiGTP*GaiGTP*AC5 - krAC5XGaiGTP*AC5GaiGTP) - (kfAC5XNCGaiGTP*GaiGTP*AC5GaolfGTP - krAC5XNCGaiGTP*AC5GaolfGTPGaiGTP) - (kfAC5XNCGaiGTP*GaiGTP*AC5CaGaolfGTP - krAC5XNCGaiGTP*AC5CaGaolfGTPGaiGTP) - (kfAC5XGaiGTP*AC5xxATP*GaiGTP - krAC5XGaiGTP*AC5GaiGTPxxATP) - (kfAC5XNCGaiGTP*GaiGTP*AC5GaolfGTPxxATP - krAC5XNCGaiGTP*AC5GaolfGTPGaiGTPxxATP) - (kfAC5XGaiGTP*AC5CaxxATP*GaiGTP - krAC5XGaiGTP*AC5C at line 388 in file GolfAC5GiSyn.mod
GaiGTP' = - (kfAC5XGaiGTP*GaiGTP*AC5Ca - krAC5XGaiGTP*AC5CaGaiGTP) - (kGiGTPase*GaiGTP) + (kactGi*M4RAChGi) - (kfAC5XGaiGTP*GaiGTP*AC5 - krAC5XGaiGTP*AC5GaiGTP) - (kfAC5XNCGaiGTP*GaiGTP*AC5GaolfGTP - krAC5XNCGaiGTP*AC5GaolfGTPGaiGTP) - (kfAC5XNCGaiGTP*GaiGTP*AC5CaGaolfGTP - krAC5XNCGaiGTP*AC5CaGaolfGTPGaiGTP) - (kfAC5XGaiGTP*AC5xxATP*GaiGTP - krAC5XGaiGTP*AC5GaiGTPxxATP) - (kfAC5XNCGaiGTP*GaiGTP*AC5GaolfGTPxxATP - krAC5XNCGaiGTP*AC5GaolfGTPGaiGTPxxATP) - (kfAC5XGaiGTP*AC5CaxxATP*GaiGTP - krAC5XGaiGTP*AC5C
make: *** [GolfAC5GiSyn.c] Error 1
Code: Select all
mine$ nrnivmodl GolfAC5GiSyn peaktrainglobal diptrainglobal
...
Successfully created x86_64/special
Now, when I try to run the .hoc calling these mechanisms:
Code: Select all
mine$ nrniv peakdipsynergy.hoc -
NEURON -- VERSION 7.3 ansi (1119:b3f8ab0f8203) 2014-07-18
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2014
See http://www.neuron.yale.edu/neuron/credits
loading membrane mechanisms from x86_64/.libs/libnrnmech.so
dlopen failed -
x86_64/.libs/libnrnmech.so: undefined symbol: _GolfAC5GiSyn_reg
1
nrniv: syntax error
in peakdipsynergy.hoc near line 8
insert peaktrainglobal
^
oc>
Thanks in advance,
Omar