Page 1 of 1

NEURON in Mac OsX 10.9.2

Posted: Sun Mar 09, 2014 8:43 pm
by luciana
Hi!

I have Mac Os X 10.9.2 and I installed this version of NEURON:
http://www.neuron.yale.edu/ftp/neuron/v ... y1.1.0.dmg
but when I tried to run it, appears this:

Code: Select all

-e 
dyld: Library not loaded: /Applications/NEURON-7.3/nrn/x86_64/lib/libnrnoc.0.dylib
  Referenced from: /Volumes/NEURON-7.3/NEURON-7.3/nrn/x86_64/bin/nrniv
  Reason: image not found
./nrngui.sh: line 25:  1311 Trace/BPT trap: 5       ${NRNGUI}
nrngui exit status was 133
Press return key to exit
What should I do?

Re: NEURON in Mac OsX 10.9.2

Posted: Mon Mar 10, 2014 10:57 am
by hines
Sadly, my attempts to make NEURON position independent have not been completely successful (there is a catch 22 with the @executable_path solution when launching python and importing neuron).
You need to drag the contents of the dmg file to /Applications so that you have
/Applications/NEURON-7.3/nrn

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Mar 11, 2014 2:29 pm
by luciana
hines wrote: You need to drag the contents of the dmg file to /Applications so that you have
/Applications/NEURON-7.3/nrn
But I did it when I installed it, I drag the NEURON Folder to Applications

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Mar 11, 2014 5:16 pm
by hines
Then the puzzle is why there is a mention of
/Volumes/NEURON-7.3/NEURON-7.3/nrn/x86_64/bin/nrniv
Can you tell me if the file
Library not loaded: /Applications/NEURON-7.3/nrn/x86_64/lib/libnrnoc.0.dylib
exists or not? Also does /Volumes/NEURON-7.3/NEURON-7.3/nrn/x86_64/bin/nrniv exist?
The former should exist and the latter should not.

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Mar 11, 2014 5:17 pm
by hines
Also , what is the url for the dmg file you used to install NEURON-7.3 . I need to verify that it installs correctly on my machine.

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Mar 11, 2014 6:48 pm
by luciana
I have removed the NEURON application and installed it again (the same one).
And appears something new!:

Code: Select all

-e 
dyld: Library not loaded: /opt/X11/lib/libX11.6.dylib
  Referenced from: /Applications/NEURON-7.3/nrn/x86_64/bin/nrniv
  Reason: image not found
./nrngui.sh: line 25:  1312 Trace/BPT trap: 5       ${NRNGUI}
nrngui exit status was 133
Press return key to exit
What is happening now?

The url for the dog file that I used was:
http://www.neuron.yale.edu/ftp/neuron/v ... y1.1.0.dmg

Re: NEURON in Mac OsX 10.9.2

Posted: Wed Mar 12, 2014 7:19 am
by hines
It appears that X11 (XQuartz-2.7.4.dmg) is not installed. In my experience, when one launches NEURON and X11 does not exist, the system asks if you would like to download and install it.
Yet another puzzle regarding your machine. I see that https://www.macupdate.com/app/mac/26593/xquartz/
has a 2.7.5 version now which is
Updated for OS X 10.9 Mavericks support

Re: NEURON in Mac OsX 10.9.2

Posted: Wed Mar 12, 2014 1:19 pm
by luciana
It works!!! installing XQuartz 2.7.5 the message desappears and NEURON run perfectly.
Thank you very much I'm so happy

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Apr 08, 2014 12:58 pm
by rkpowers
Recently 'upgraded' to Mavericks. I reinstalled the latest version of NEURON + Xcode + XQuartz 2.75. I am able to run nrngui and also compile new mod files, but when I attempt to open a file that uses these mod files they are not recognized and I get the following error message:

loading membrane mechanisms from /Applications/NEURON-7.3/Delta_F_sims/x86_64/.libs/libnrnmech.so
dlopen failed -
dlopen(/Applications/NEURON-7.3/Delta_F_sims/x86_64/.libs/libnrnmech.so, 2): Symbol not found: _getarg
Referenced from: /Applications/NEURON-7.3/Delta_F_sims/x86_64/.libs/libnrnmech.so
Expected in: flat namespace
in /Applications/NEURON-7.3/Delta_F_sims/x86_64/.libs/libnrnmech.so
Could not load /Applications/NEURON-7.3a/nrn/share/nrn/../../x86_64/lib/libnrnpython1013.dylib

Do I need to uninstall the old version of NEURON (7.3a)? And if so, how do I do it?
Thanks
Randy

Re: NEURON in Mac OsX 10.9.2

Posted: Tue Apr 08, 2014 2:34 pm
by hines
Please try http://www.neuron.yale.edu/ftp/neuron/v ... 10.7.5.dmg
and we can work through any problems from that point. (First drag your existing /Applications/NEURON-7.3 to the trash.)

Re: NEURON in Mac OsX 10.9.2

Posted: Wed Apr 09, 2014 10:57 am
by rkpowers
Great. That worked, eventually. I did have to set the path to NEURON as follows (you had given me this tip before):

export PATH=/Applications/NEURON-7.3/nrn/x86_64/bin:$PATH

Is there any way to set that permanently? As it is, I have to use this command each time I open a terminal window.
Thanks,
Randy

Re: NEURON in Mac OsX 10.9.2

Posted: Wed Apr 09, 2014 2:57 pm
by hines
Your $HOME folder should have a file called .bash_profile
You can modify your PATH there.