Building NEURON
Non-graphical interface part
Execute the shell script:
InstallNRNOC
This builds the non-graphical interface portion of NEURON. All the messages
during the build process are saved in nrnocworld. If everything worked
there will be an executable created in bin/$CPU called nrnoc.
You can test it with:
bin/$CPU/nrnoc examples/nrnoc/hhmemb.hoc -
which will generate an action potential. Exit the program with (control)D.
Graphical interface part
Execute the shell script:
InstallNRNIV
If successful you will end up with an executable called nrniv.
If the NEURONHOME environment variable is set, it can be tested with
cd $NEURONHOME/demo
$NEURONHOME/bin/$CPU/nrniv demo.hoc
but you won't be able to run the release demo since the necessary
membrane mechanisms have not yet been installed.