Problem with mknrndll/ opening modelDB files
Posted: Sun Feb 14, 2016 7:10 pm
Hello,
I am having trouble running files downloaded from ModelDB. I am using NEURON 7.4 for windows and am pretty new to this. If I click on the "autolaunch" button on the website, the programs run just fine. However, when I try to download them manually they do not. I am thinking it is an issue with the mknrndll because I get a strange message after compiling the files that looks like this, though it says the dll was built successfully:
"C:/nrn/mingw/bin/sh C:/nrn/lib/mknrndll.sh /C/nrn
ls: *.[mM][oO][dD]: No such file or directory
x86_64-w64-mingw32-gcc -DDLL_EXPORT -DPIC -I/C/nrn/src/scopmath -I/C/nrn/src/nrnoc -I/C/nrn/src/oc -I/C/nrn/lib -I/C/nrn/x86_64-w64-mingw32-gccinc -I/C/nrn/x86_64-w64-mingw32-gcc3inc -L/C/nrn/x86_64-w64-mingw32-gcclib -c mod_func.c
x86_64-w64-mingw32-gcc -I/C/nrn/lib -I/C/nrn/x86_64-w64-mingw32-gccinc -I/C/nrn/x86_64-w64-mingw32-gcc3inc -L/C/nrn/x86_64-w64-mingw32-gcclib -shared -o nrnmech.dll mod_func.o \
-L/C/nrn/bin -lnrniv -lpthread
#rebase -b 0x64000000 -v nrnmech.dll
nrnmech.dll was built successfully.
Press Return key to exit"
After doing this, I move the nrnmech.dll file to the folder of the original download and open the mosinit file. It opens but then will not run. This has happened with several different files I've tried, and I tried uninstalling and reinstalling NEURON as well, but that did not seem to help. I don't know if I'm saving the nrnmech.dll in the wrong directory since it says "no such file or directory" but I am saving them in the nrn folder and don't know where else I would put them.
I appreciate any advice!
Thanks!
I am having trouble running files downloaded from ModelDB. I am using NEURON 7.4 for windows and am pretty new to this. If I click on the "autolaunch" button on the website, the programs run just fine. However, when I try to download them manually they do not. I am thinking it is an issue with the mknrndll because I get a strange message after compiling the files that looks like this, though it says the dll was built successfully:
"C:/nrn/mingw/bin/sh C:/nrn/lib/mknrndll.sh /C/nrn
ls: *.[mM][oO][dD]: No such file or directory
x86_64-w64-mingw32-gcc -DDLL_EXPORT -DPIC -I/C/nrn/src/scopmath -I/C/nrn/src/nrnoc -I/C/nrn/src/oc -I/C/nrn/lib -I/C/nrn/x86_64-w64-mingw32-gccinc -I/C/nrn/x86_64-w64-mingw32-gcc3inc -L/C/nrn/x86_64-w64-mingw32-gcclib -c mod_func.c
x86_64-w64-mingw32-gcc -I/C/nrn/lib -I/C/nrn/x86_64-w64-mingw32-gccinc -I/C/nrn/x86_64-w64-mingw32-gcc3inc -L/C/nrn/x86_64-w64-mingw32-gcclib -shared -o nrnmech.dll mod_func.o \
-L/C/nrn/bin -lnrniv -lpthread
#rebase -b 0x64000000 -v nrnmech.dll
nrnmech.dll was built successfully.
Press Return key to exit"
After doing this, I move the nrnmech.dll file to the folder of the original download and open the mosinit file. It opens but then will not run. This has happened with several different files I've tried, and I tried uninstalling and reinstalling NEURON as well, but that did not seem to help. I don't know if I'm saving the nrnmech.dll in the wrong directory since it says "no such file or directory" but I am saving them in the nrn folder and don't know where else I would put them.
I appreciate any advice!
Thanks!