Nest-simulator installation tutorial

NEST is a simulator used to strengthen neural network models. Its focus is on the dynamics, size and structure of the nervous system, rather than the exact shape of a single neuron. The development of NEST is coordinated by the NEST project.

NEST is very suitable for spike neuron networks of any size, for example:

  1. Information processing models, such as the visual or auditory cortex of mammals
  2. Dynamic models of network activity, such as lamellar cortical networks or balanced random networks
  3. Model of learning and plasticity

The installation process of NEST under Linux is relatively simple, mainly to pay attention to some compilation options

download

$ wget https://github.91chifun.workers.dev//https://github.com/nest/nest-simulator/archive/v2.20.0.tar.gz 

Provided here is the accelerated download address of github, and the domestic access speed is very fast

installation

Here I use intel mpi and intel compiler to compile from source code

$ cd nest-simulator
$ mkdir _build
$ cd _build


$ module load x86/Intel/2017
$ module load x86/gcc/5.4.0
$ module load x86/cmake/3.16.7 


$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/nest-simulator/install -Dwith-python=OFF -Dwith-warning=OFF -Dwith-mpi=/path/to//parallel_studio_xe_2017_update4/compilers_and_libraries_2017.1.132/linux/mpi/intel64 -DCMAKE_C_COMPILER=mpiicc -DCMAKE_CXX_COMPILER=mpiicpc

$ make -j 24 
$ make install

  1. Installation requires cmake 3.14+, module load is required first
  2. Which -Dwith-python = OFF can choose to open, but will require python 3 and Cython
    some other compiler options can refer to the official website of the Installation Guide
  3. You cannot directly git clone the entire warehouse, which will cause some api names to be different later

Guess you like

Origin blog.csdn.net/qq_32115939/article/details/108990985