Installing NEURON on XUBUNTU

Post Reply
mferran1
Posts: 5
Joined: Fri Jan 19, 2007 3:13 pm
Contact:

Installing NEURON on XUBUNTU

Post by mferran1 » Sun Dec 09, 2007 1:14 pm

Hi everybody,
I'm relativelly new to linux (I'm running Xubuntu). I'm trying to install NEURON on my quadcore machine. I got the RPM 64bit file and I converted it (with alien) to a debian version. Neuron was successfully installed but when I tried to run it from the terminal I got this message:

/usr/local/nrn/x86_64/bin/nrniv: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory


Any help?
Thanks in advace,
Michele

ted
Site Admin
Posts: 5598
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted » Mon Dec 10, 2007 9:48 am

Sometimes an "error message" is merely a "notification." That may be the case here (unless
you're planning to use Python with NEURON). To find out, open an xterm and type
neurondemo
then select the "Release" demo. Click on the "Init & Run" button. If it runs (graphs will show
a spike and time course of ionic currents and conductances), all the stuff that NEURON
uses every day is fine.

mferran1
Posts: 5
Joined: Fri Jan 19, 2007 3:13 pm
Contact:

problem persists

Post by mferran1 » Mon Dec 10, 2007 1:38 pm

Hi Ted, thanks for the reply. If I run neurondemo on the xterm I get the same message :( I've also tried to install the python libraries that are missing but nothing happened... any advice?

ted
Site Admin
Posts: 5598
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted » Mon Dec 10, 2007 2:39 pm

The point of the test isn't to discover whether you get the same msg or not. The question
is whether or not the demo works or not.

mferran1
Posts: 5
Joined: Fri Jan 19, 2007 3:13 pm
Contact:

Re: Installing NEURON on XUBUNTU

Post by mferran1 » Wed Apr 22, 2009 3:59 pm

Hi There again,
I run again in the same problem, when in the Xterm I type "neurondemo" neuron comes out but when I click on "init&run" nothing happens...
Regards,
Michele

ted
Site Admin
Posts: 5598
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Installing NEURON on XUBUNTU

Post by ted » Wed Apr 22, 2009 8:25 pm

There is a panel with a bunch of buttons labeled
Patch: HH
Stylized
Pyramidal
Release
etc.
You have to select a model by clicking on one of those buttons before Init & Run will do anything useful.

So: did you select a model first, and then click on Init & Run?

analkumar2
Posts: 2
Joined: Fri Mar 08, 2019 3:05 pm

Re: Installing NEURON on XUBUNTU

Post by analkumar2 » Fri May 03, 2019 4:45 am

Try these if anybody else encounters this problem:
1) If you are using bash, export LD_LIBRARY_PATH="/usr/local/nrn/x86_64/bin/nrniv"
If you are using tcsh, setenv LD_LIBRARY_PATH /usr/local/nrn/x86_64/bin/nrniv
basically add the libpython2.4.so.1.0 path to LD_LIBRARY_PATH. If it works, add the command to the bashrc file so that you don't have to do it everytime you open the terminal. Or, if it does not work,

2) Instead of nrniv, run sudo nrniv. Worked for me.

PS: am noob to linux, so if anyone has any better solution or knows what is going on, please reply.

Post Reply