Page 1 of 1
Windows 7.2 NEURON on Linux?
Posted: Fri Mar 21, 2025 1:44 pm
by ShainaShort
I have tried several things to run an old simulation written with NEURON 7.2 Windows on Linux (running version 8.2.3), but I have yet to get it to work. Do you have any suggestions on how best to transfer this? Currently, the code runs fine using the older NEURON 7.2 on Windows. Is there a different version of the Linux NEURON software that is compatible with Windows NEURON 7.2? Or perhaps I need to modify something in the .hoc or .mod files? Thanks for any guidance here.
Re: Windows 7.2 NEURON on Linux?
Posted: Tue Mar 25, 2025 7:30 pm
by ted
Hi, Shaina. Sorry about the delay, but I've been traveling a bit after the course we did at ASU week before last.
Open a terminal and cd into the the folder that holds your code. If there is a file called nrnmech.dll, delete it. Or if you see a folder called x86_64, delete that and all its contents.
After you've done that, see if there are any files whose names end with .mod. If there are some, at the system prompt run this command
nrnivmodl
This should compile your mod files and things should just work.
Sometimes people put their mod files in a folder called something like mod, nmodl., or mechanisms. If that's what you see, then when you're in the folder that contains your hoc or py files you'll need to run
nrnivmodl name_of_folder_that_has_the_mod_files
Re: Windows 7.2 NEURON on Linux?
Posted: Sat Apr 26, 2025 11:33 pm
by ShainaShort
Thank you so much! Everything is running now. I only need to delete the nrnmech.dll file. Much appreciated!
Re: Windows 7.2 NEURON on Linux?
Posted: Sun Apr 27, 2025 3:01 pm
by ted
You're quite welcome, Shaina. Glad to help!