install neuron on windows - neuron | for … neuron on windows the example here is for windows 10...

30
Install NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it. ...If you do not already have Python 2.7 Install Python 2.7 distribution Test NEURON + Python Install NEURON Test by launching neurondemo Test MPI parallel from terminal but anything >= Windows XP is fine. (not shown in this example)

Upload: dotuyen

Post on 06-Jul-2019

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Install NEURON on WindowsThe example here is for Windows 10

Web search for "git for windows" and install it.

...If you do not already have Python 2.7Install Python 2.7 distribution

Test NEURON + Python

Install NEURONTest by launching neurondemoTest MPI parallel from terminal

but anything >= Windows XP is fine.

(not shown in this example)

Page 2: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Installing ...

Page 3: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Installing on 64bit Windows 10 ...

Page 4: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Run the downloaded file

Page 5: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Install into selected destination folder

Page 6: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Useful if expect to launch IPython.

Page 7: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Install NEURON

Page 8: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

NEURON installed

Page 9: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Test by double clicking ’NEURON Demo’

Page 10: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Selecting the ’Release’ button starts a demo.

Page 11: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

’Init&Run’ button runs the simulation

Page 12: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Exit by pressing ’NEURONMainMenu/File/Quit’

Page 13: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Test MPI by starting the bash terminal

Page 14: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

MPI works? mpiexec −n 2 nrniv −mpi /c/nrn/test0.hoc

Page 15: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

... but Python not yet installed.

Page 16: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Anaconda is an excellent distribution. another is Enthought Canopy

Page 17: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

NEURON assumes Python 2.7

Page 18: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

It is a large distribution

Page 19: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Run.. No need to View

Page 20: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Looks good. Select ’Next’

Page 21: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

’Just me’ is fine

Page 22: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

I accepted the defaults.

Page 23: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Takes a fair amount of time to install...

Page 24: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Anaconda installed

Page 25: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

NEURON works with Python and MPI mpiexec −n 3 nrniv −mpi −python /c/nrn/test0.py

Page 26: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

IPython can import neuron ...but...

Page 27: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

you might first need to copy all the dlls. cp c:/nrn/bin/*.dll c:/nrn/lib/python/neuron

Page 28: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Conda can install many other packages. E.g. conda install mayavi

Page 29: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

Mayavi is useful for 3−D graphics.

Page 30: Install NEURON on Windows - NEURON | for … NEURON on Windows The example here is for Windows 10 Web search for "git for windows" and install it....If you do not already have Python

from mayavi ... ; barchart(density)