Dear Ted,
Thank you for your advice, I tried to follow your instruction but unfortunately, the first time I uninstalled D:\nrn I put it in the recycle bin then deleted it without using the uninstall.exe, so I couldn't erase the traces of D:\nrn, so I uninstall C:\nrn instead. Then when I double-clicked mknrndll, this time it worked. And the EAPS files downloaded form the ModelDB were installed in C:\.
I came across a problem when I was following the instructions.
The instructions given in the ModelDB are given as:
2.Run the Command Prompt application (under Accessories, on the start menu)
3.Change the directory to eaps. If you put the EAPS package in c:\ (the root directory) then you would use the command:
cd c:\eaps
4. Enter the following command and parameters (copy & paste):
c:\nrn59\bin\neuron.exe -dll mod\nrnmech.dll hoc/src/refs.hoc cells/d151.hoc hoc/src/file_util.hoc hoc/src/main.hoc
Since I put nrn in D:\, I changed Step 4 into :
d:\nrn\bin\neuron.exe -dll mod\nrnmech.dll hoc/src/refs.hoc cells/d151.hoc hoc/src/file_util.hoc hoc/src/main.hoc
and the result was:
Microsoft Windows [版本 10.0.17763.678]
(c) 2018 Microsoft Corporation。保留所有权利。
C:\Users\sunxi>cd c:\eaps
c:\eaps>d:\nrn\bin\neuron.exe -dll mod\nrnmech.dll hoc/src/refs.hoc cells/d151.hoc hoc/src/file_util.hoc hoc/src/main.hoc
c:\eaps>NEURON -- VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2018
See
http://neuron.yale.edu/neuron/credits
loading membrane mechanisms from mod/nrnmech.dll
Additional mechanisms from files
cadif.mod cal.mod can.mod car.mod cat.mod hdend.mod hsoma.mod kadist.mod kahp.mod kaprox.mod kc.mod kd.mod kk.mod km.mod naf.mod nax.mod
LOADING GEOMETRY FOR d151
-> Setting file roots...
SETTING WINDOWS FILE PATHS!
-> Updating trial number...
.\cells\d151_trial_num.txt
trial number 4
-> Making output directory...
COMMAND = mkdir output/d151_0004
The syntax of the command is incorrect.
RESULT = 1
COMMAND = mkdir output/d151_0004/nrn
The syntax of the command is incorrect.
RESULT = 1
-> Opening param & geometry files...
-> Loading param files...
LOADING CELL SPECIFIC MEMBRANE CONDUCTANCE DENSITIES...
param_dir = hoc/params
params file = hoc/params//d151_params.hoc
LOADING Cell Sepcific Params D151(A)!
D:\nrn\bin\nrniv.exe: output\d151_0004\nrn\d151_0004_param_names.txt :file is not open
in d151_params.hoc near line 34
gkk = 0.02
^
File[1].printf("%s
", "gkk")
write_param("gkk", "0.02")
define_param("gkk", "0.02")
xopen("d151_params.hoc")
and others
LOADING STANDARD MEMBRANE PARAMS FOR CELL TYPE:ca1pyr
LOADING STANDARD PARAMS for CA1 pyramidal cells...
D:\nrn\bin\nrniv.exe: output\d151_0004\nrn\d151_0004_param_names.txt :file is not open
in ca1pyr_standard_params.hoc near line 51
tstop = 25
^
File[1].printf("%s
", "tstop")
write_param("tstop", "25")
define_param("tstop", "25")
xopen("ca1pyr_sta...")
and others
-> Loading code files...
open cell util: hoc/src/cell_util.hoc
open current util: hoc/src/current_util.hoc
open template for mechanism description: hoc/src/mechdesc.hoc
D:\nrn\bin\nrniv.exe: String : a template cannot be redefined
in mechdesc.hoc near line 47
begintemplate String
^
xopen("mechdesc.hoc")
execute1("{xopen("me...")
load_file("hoc/src/me...")
load_code_files()
open membrane init file: hoc/src/membrane_init.hoc
D:\nrn\bin\nrniv.exe: MechDesc is not a template
in membrane_init.hoc near line 1182
tmp_ref = new MechDesc("naf", "na", "gbar")
^
xopen("membrane_i...")
execute1("{xopen("me...")
load_file("hoc/src/me...")
load_code_files()
-> Making section lists...
Making make_apical_lists...
D:\nrn\bin\nrniv.exe: undefined variable trunk_min_diam
in membrane_init.hoc near line 148
make_lists()
^
make_apical_lists()
make_lists()
oc>
Is there any way that I could fix these problems? Thank you for your advice!