Mavericks (OSX 10.9): cannot start Neuron

Post Reply
PeterR
Posts: 2
Joined: Wed Nov 20, 2013 10:21 pm

Mavericks (OSX 10.9): cannot start Neuron

Post by PeterR »

I recently updated my Mac Powerbook to Mavericks (OS X 10.9),
then downloaded and installed the latest NEURON.

When I try to run any of the NEURON Apps I get the following FAILURE, e.g.:

*****
"neurondemo.app" cannot be opened because it is from an unidentified
developer."
*****

How can I get around this?
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by ted »

I guess NEURON for OS X doesn't come with a recognized "Apple Developer ID." Costs $99/year to get one; not likely we'll bother with that. Your choices, if you want to use NEURON:
--switch to some other OS (Linux is nice)
--check out Apple's own documentation to find out how to circumvent this "feature" of 10.9. If you find something that works, it would be a terrific favor to other 10.9 users to post what you discover here (or at least a URL to the solution). Googling
mavericks unidentified developer
turns up some plausible hits.
JMGomes

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by JMGomes »

Dear PeteR,
There is a short way to disable this annoying Mavericks feature. In the Preference Pane, go to « Security and Privacy », unlock the pane (will require root password), enable « Authorize applications downloaded from: » > « Anywhere » .

This may allow you to start NEURON, but so far it seems that you'll need to do use some more trickery, e.g. for compiling NMODL files (see http://www.neuron.yale.edu/phpBB/viewto ... b64ed4f828 ).

Good luck!
PeterR
Posts: 2
Joined: Wed Nov 20, 2013 10:21 pm

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by PeterR »

I found the offical Apple way of circumventing the Unidentified Developer problem, which applies to just one App not all of them.
====
You can choose to override your security settings and open the app anyway.

In the Finder, locate the app you want to open. Most apps can be found in the Applications folder.
Press the Control-key, then click the app icon.
Choose Open from the shortcut menu.
Click Open.

The app is saved as an exception to your security settings, and you will be able to open it in the future by double-clicking it, just like any authorized app.
stephanmg
Posts: 68
Joined: Tue Jul 03, 2012 4:40 am

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by stephanmg »

Dear all,

after downloading and installing NEURON from the dmg for Mavericks I'm unable to execute NEURON, i. e. it just appears a terminal, no GUI etc.
Previosuly, Mountain Lion, worked flawless... I'm curious how to resolve this issue.

That's not the unauthorized App problem, which I figured out previously also for other apps with Mavericks.

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

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by ted »

The web site has several URLs for dmgs--which one did you use?
stephanmg
Posts: 68
Joined: Tue Jul 03, 2012 4:40 am

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by stephanmg »

Hey Ted,

i used OS X 10.7 and later (64 bit) - and i've installed XQuartz latest.

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

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by ted »

Suppose you start NEURON and you get its xterm with the oc> prompt.
What is the first line that NEURON prints in this terminal?
What happens if you execute the command
load_file("nrngui.hoc")
?
stephanmg
Posts: 68
Joined: Tue Jul 03, 2012 4:40 am

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by stephanmg »

Hey,

I just get a plain "xterm" or "MacTerm" - no OC> Prompt or NEURON specific stuff at all.

Best,
Stephan
hines
Site Admin
Posts: 1682
Joined: Wed May 18, 2005 3:32 pm

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by hines »

What happens if you open Terminal from /Applications/Utiliites and in that terminal type
/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv
Do you get an oc> prompt?

if so, try
load_file("nrngui.hoc")

if not, try
/Applications/NEURON-7.3/nrn/x86_64/bin/nrniv -nopython
Do you get an oc> prompt?
stephanmg
Posts: 68
Joined: Tue Jul 03, 2012 4:40 am

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by stephanmg »

Dear Ted,

Code: Select all

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
Trace/BPT trap: 5
Best,
Stephan
stephanmg
Posts: 68
Joined: Tue Jul 03, 2012 4:40 am

Re: Mavericks (OSX 10.9): cannot start Neuron

Post by stephanmg »

Dear Ted&Hines,

i found the solution to my problem.
I just needed to start my application from within the applications folder, somehow this fixes it when i run it via a terminal/shell.

I think this could be somehow related to the LD_LIBRARY_PATH or DYLD_LIBRARY_PATH on MacOSX?

Best,
Stephan
Post Reply