Changes for page 02. Installing PyNN - Linux
Last modified by adavison on 2022/10/04 13:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,7 @@ 6 6 7 7 == Learning objectives == 8 8 9 -In this tutorial, you will learn how to install PyNN, together with the NEST, NEURON and Brian2 simulators, on Linux / Mac OS / Windows / in EBRAINS Jupyter Lab. 9 +In this tutorial, you will learn how to install PyNN, together with the NEST, NEURON and Brian 2 simulators, on Linux / Mac OS / Windows / in EBRAINS Jupyter Lab. 10 10 11 11 (% class="box infomessage" %) 12 12 ((( ... ... @@ -19,17 +19,11 @@ 19 19 20 20 == Prerequisites == 21 21 22 -To follow this tutorial, you will need a computer with [Linux/MacOS/Windows]and a good network connection. You will need to know how to open the terminal application for your operating system.22 +To follow this tutorial, you will need a computer with Linux and a good network connection. You will need to know how to open the terminal application for your operating system. 23 23 24 - 25 -OR 26 - 27 - 28 -To follow this tutorial, you will need an EBRAINS account. You should know how to create and use Jupyter notebooks in the EBRAINS Jupyter Lab. 29 - 30 30 == Format == 31 31 32 -These tutorials will be screencasts, in which the presenter runs commands in a terminal (or in a Jupyer notebook), and the viewer is expected to follow along. The intended duration is 10 minutes.For the Jupyter version of the tutorial, the final notebook will also be made available.26 +These tutorials will be screencasts, in which the presenter runs commands in a terminal, and the viewer is expected to follow along. The intended duration is 10-15 minutes. 33 33 34 34 == Script == 35 35 ... ... @@ -159,25 +159,29 @@ 159 159 \\sudo apt-get install nest 160 160 ))) 161 161 162 -This installs the NEST module along with PyNEST, which is a Python interface for controlling the NEST kernel. This allows us to use NEST via Python. To confirm that we have properly installed Brian2on our computer, we can test as follows:156 +This installs the NEST module along with PyNEST, which is a Python interface for controlling the NEST kernel. This allows us to use NEST via Python. To confirm that we have properly installed NEST on our computer, we can test as follows: 163 163 164 164 (% class="box infomessage" %) 165 165 ((( 166 -**Screencast - terminal** 167 - (% style="color:#000000" %)python3 160 +**Screencast** - terminal 161 +\\(% style="color:#000000" %)nest 162 +))) 168 168 164 +This will display the NEST banner, which mentions the version amongst other info. Here, as we can see, we have now installed NEST v3.1 on our system. Let us next verify that this is indeed accessible via Python. 169 169 170 -(% style="color:#000000" %)import brian2 171 - 172 - 173 -(% style="color:#000000" %)exit() 166 +(% class="box infomessage" %) 167 +((( 168 +**Screencast** - terminal 169 +\\(% style="color:#000000" %)python3 170 +\\import nest 171 +\\exit() 174 174 ))) 175 175 176 - Screencast-terminal174 +If there are no error messages here, and the import is successful, then we have completed installing NEST simulator, and are able to load it on Python. 177 177 178 - <<test NEST>>176 +We next move on to the third simulation, NEURON. The installation for NEURON is a bit more involved. 179 179 180 - Theinstallationfor NEURON is a bitmoreinvolved.178 +<< add more >> 181 181 182 182 (% class="box successmessage" %) 183 183 (((