1. I am trying to compile NEURON 7.6.2 source code on Ubuntu 18.04.1. I have got these files from
https://neuron.yale.edu/ftp/neuron/versions/alpha/ :
[ ] iv-19.tar.gz 2018-08-01 16:42 1.2M
[ ] nrn-7.6.2.tar.gz 2018-08-15 13:27 7.8M
(The source code at https://www.neuron.yale.edu/neuron/download/getstd gives the files for v7.5)
Are these files for the v7.6.2 release or do they refer to current alpha version?
I went ahead and tried compiling these files. 'iv' was compiled successfully. On executing the make statement in nrn folder I got this error:
Code: Select all
nrnversion.c: In function ‘nrn_version’:
nrnversion.c:137:14: error: ‘SVN_BRANCH’ undeclared (first use in this function)
if (strncmp(SVN_BRANCH, "Release", 7) == 0) {
^~~~~~~~~~
nrnversion.c:137:14: note: each undeclared identifier is reported only once for each function it appears in
nrnversion.c:144:23: error: ‘SVN_CHANGESET’ undeclared (first use in this function)
sprintf(tail, " %s", SVN_CHANGESET);
^~~~~~~~~~~~~
nrnversion.c:161:30: error: ‘SVN_TREE_CHANGE’ undeclared (first use in this function)
sprintf(buf, "%s.%s", head,SVN_TREE_CHANGE);
^~~~~~~~~~~~~~~
nrnversion.c:163:22: error: ‘SVN_BASE_CHANGESET’ undeclared (first use in this function); did you mean ‘SVN_CHANGESET’?
sprintf(buf, "%s", SVN_BASE_CHANGESET);
^~~~~~~~~~~~~~~~~~
SVN_CHANGESET
nrnversion.c:165:22: error: ‘SVN_DATE’ undeclared (first use in this function); did you mean ‘SVN_BRANCH’?
sprintf(buf, "%s", SVN_DATE);
^~~~~~~~
SVN_BRANCH
Makefile:729: recipe for target 'nrnversion.lo' failed
make[4]: *** [nrnversion.lo] Error 1
make[4]: Leaving directory '/home/mpiuser/neuron/nrn/src/nrnoc'
Makefile:523: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/mpiuser/neuron/nrn/src/nrnoc'
Makefile:518: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/mpiuser/neuron/nrn/src'
Makefile:655: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mpiuser/neuron/nrn'
Makefile:513: recipe for target 'all' failed
make: *** [all] Error 2
make
2. Which python version is advisable to use for NEURON ? Will the new release work with both python 2.7 and 3.6?
Thanks,
Darshan