Hello!
I am a Linux user who has just transferred to Mac OS X 10.5 I would like to be able to use NEURON as in Linux, i.e. open a terminal and just type in nrngui code.hoc to run something
This would be much more convenient for me than having to drag things into icons and such. Is there anyway to do so?
Thank you in advance!
Running NEURON from terminal in OS X 10.5
Re: Running NEURON from terminal in OS X 10.5
If you installed from a DMG, start a terminal window, make sure your PATH
has /Applications/NEURON-7.0/nrn/umac/bin and launch with
nrngui ...
has /Applications/NEURON-7.0/nrn/umac/bin and launch with
nrngui ...
Re: Running NEURON from terminal in OS X 10.5
I'm wondering the same question.
I tried to write a bash file like
and execute it before doing anything with neuron, but now the terminal doesn't recognize any standard command (like "ls", "mkdir" and so on).
Is there an easier way?
I tried to write a bash file like
Code: Select all
PATH=/Applications/Neuron-7.1/nrn/umac/bin
Is there an easier way?
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Running NEURON from terminal in OS X 10.5
Ordinarily PATH contains a bunch of paths, including /bin which is where handy stuff like ls is located.japasto wrote:I tried to write a bash file likeCode: Select all
PATH=/Applications/Neuron-7.1/nrn/umac/bin
PATH=/Applications/Neuron-7.1/nrn/umac/bin
replaces all of that with just one path. What you meant to do is
PATH=$PATH:/Applications/Neuron-7.1/nrn/umac/bin
which _appends_ /Applications/Neuron-7.1/nrn/umac/bin to whatever was in PATH in the first place.