Page 1 of 1

Running mknrndll from a Cygwin terminal in Windows 7

Posted: Tue May 20, 2014 6:57 pm
by neuromau
Hello, on Windows 8 I can run mknrndll from my Cygwin window (as opposed to rxvt or mintty bash) if I first enter:

Code: Select all

export N=/cygdrive/c/nrn73
My student who is running Windows 7 cannot run mknrndll from Cygwin. She always gets this error:
make: *** No targets specified and no makefile found. Stop.
She has tried both of these (together, separate):

Code: Select all

export N=/cygdrive/c/nrn73
export NEURONHOME=/cygdrive/c/nrn73
And has also tried putting them in a script and then calling the script instead of mknrndll directly:

Code: Select all

export N=/cygdrive/c/nrn73
export NEURONHOME=/cygdrive/c/nrn73
mknrndll
(This is all being called from within the model code folder where the mod files are). I'm not sure what else she would need to add to the script to be able to run mknrndll from cygwin? She can run it just fine from rxvt. Here is her NEURON info:
bash-4.1$ nrniv
NEURON -- Release 7.3 (849:5be3d097b917) 2013-04-11
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2013
See http://www.neuron.yale.edu/neuron/credits

oc>nrnversion(0)
7.3
oc>nrnversion(1)
NEURON -- Release 7.3 (849:5be3d097b917) 2013-04-11
oc>nrnversion(2)
Release 7.3 (849:5be3d097b917)
oc>nrnversion(3)
5be3d097b917
oc>
Thanks!

Re: Running mknrndll from a Cygwin terminal in Windows 7

Posted: Wed May 21, 2014 6:48 am
by hines
Maybe she needs
export PATH=/cygdrive/c/nrn73/bin:$PATH