项目作者: alberto-antonietti

项目描述 :
Module for NEST simulator developed in the Project CerebNEST, aiming to recreate and simulate in NEST realistic cerebellar-inspired models.
高级语言: C++
项目地址: git://github.com/alberto-antonietti/CerebNEST.git
创建时间: 2018-03-19T15:10:20Z
项目社区:https://github.com/alberto-antonietti/CerebNEST

开源协议:GNU General Public License v2.0

下载


CerebNEST

Tested with:

branch master: Ubuntu 18.04 and Red Hat Enterprise Linux Server 7.7 (Maipo), Python 3.7.3 and NEST Release 2.18.0

Installation instructions

  1. Install NEST following the instructions provided here (http://www.nest-simulator.org/)

  2. Export an Environment Variable containing the installation directory of NEST. E.g.:

    1. export NEST_INSTALL_DIR=$HOME/nest-simulator-install/
  3. Clone this GitHub Repository in a directory outside NEST source and build directories. E.g.:
    1. cd $HOME
    2. git clone https://github.com/alberto-antonietti/CerebNEST/
  4. Move to CerebNEST directory and create a new folder where you will build the extension module
    ```
    mkdir $HOME/cereb-nest-build
    cd $HOME/cereb-nest-build
  1. 4. Run the following CMake command (Tested with CMake 3.2.2)

cmake -Dwith-nest=${NEST_INSTALL_DIR}/bin/nest-config $HOME/cereb-nest-build

  1. The resulting output should be something similar to:
  2. > [...]
  3. >-------------------------------------------------------
  4. >
  5. >You can now build and install 'cerebmodule' using
  6. > make
  7. > make install
  8. >
  9. >The library file libcerebmodule.so will be installed to
  10. > /home/alberto/nest-simulator-install/lib/nest
  11. >Help files will be installed to
  12. > /home/alberto/nest-simulator-install/share/doc/nest
  13. >
  14. >The module can be loaded into NEST using
  15. > (cerebmodule) Install (in SLI)
  16. > nest.Install('cerebmodule') (in PyNEST)
  17. >
  18. >The module will be installed into a non-default location!
  19. >Make sure to set the environment variables:
  20. > export NEST_MODULE_PATH=/home/alberto/nest-simulator-install/lib/nest:$NEST_MODULE_PATH
  21. > export SLI_PATH=/home/alberto/nest-simulator-install/share/nest/sli:$SLI_PATH
  22. > [...]
  23. 5. Execute the last two lines, generated by the CMake command.

export NEST_MODULE_PATH=/home/alberto/nest-simulator-install/lib/nest:$NEST_MODULE_PATH
export SLI_PATH=/home/alberto/nest-simulator-install/share/nest/sli:$SLI_PATH

  1. This passage should be repeated every time the Terminal is closed. It is possible to add the two lines in your \.bashrc to avoid doing this every time.
  2. 6. Make and install the module

make
make install

  1. 7. Every time you need the module, you can install it in this way:

python

import nest
nest.Install(“cerebmodule”)

```

  1. You can now use all the nodes and synapses contained in this NEST Module.