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
-
... ... @@ -44,7 +44,7 @@ 44 44 **Slide** listing prerequisites 45 45 ))) 46 46 47 -I will demonstrate the installation on a computer with Ubuntu 20.04 OS installed. The steps are likely to remain very similar for other versions of Ubuntu OS and are also not expected to vary significantly for other Linux distributions. In the latter case, you can find information on the Internet about how to carry out the equivalent of the tasks demonstrated here using Ubuntu OS. Also, this tutorial focuses only on Python 3, because Python 2 is nolongersupported. It is recommended to use Python version 3.6 or higher. I will be using Python 3.8.10 in this tutorial, because it is the default version provided with Ubuntu 20.04.47 +I will demonstrate the installation on a computer with Ubuntu 20.04 OS installed. The steps are likely to remain very similar for other versions of Ubuntu OS and are also not expected to vary significantly for other Linux distributions. In the latter case, you can find information on the Internet about how to carry out the equivalent of the tasks demonstrated here using Ubuntu OS. Also, this tutorial focuses only on Python 3, because Python 2 has now been deprecated. It is recommended to use Python version 3.6 or higher. I will be using Python 3.8.10 in this tutorial, because it is the default version provided with Ubuntu 20.04. 48 48 49 49 (% class="box errormessage" %) 50 50 ((( ... ... @@ -129,10 +129,12 @@ 129 129 (% class="box infomessage" %) 130 130 ((( 131 131 **Screencast** - terminal 132 -\\(% style="color:#000000" %)pip install ~-~-upgrade pip 132 +\\(% style="color:#000000" %)\\pip install ~-~-upgrade pip 133 133 sudo apt install make 134 134 ))) 135 135 136 + 137 + 136 136 Now that we have our project's virtual environment setup, we are ready to install PyNN and other simulators. In general, it is advisable to install the various simulators (especially NEURON and NEST) prior to installing PyNN, because PyNN will then auto compile NEURON's NMODL fles and NEST's extensions during installation. In this tutorial, we will adopt this approach and begin by installing the simulators. For the purposes of this tutorial, we will demonstrate the installation of Brian2, NEST, and NEURON simulators. 137 137 138 138 (% class="box errormessage" %) ... ... @@ -216,7 +216,7 @@ 216 216 217 217 If there are no error messages here, and the import is successful, we have completed installing NEST simulator and are able to load it via Python. 218 218 219 -We next move on to the third simulator, NEURON. Similar to Brian2, the installation for NEURONcanbe easilydoneviathe'pip'command.Donotethat thismethod ofinstallationdoes notauto-enableMPI support. Do visittheNEURON websiteif you wish to install onclustersor HPCmachines.221 +We next move on to the third simulator, NEURON. The installation for NEURON used to be more complex but can now be easily completed by using the 'pip' command. 220 220 221 221 (% class="box infomessage" %) 222 222 (((