Skip to content

Module for NEST simulator developed in the Project CerebNEST, aiming to recreate and simulate in NEST realistic cerebellar-inspired models.

License

Notifications You must be signed in to change notification settings

alessandratrapani/cereb-nest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

cereb-nest

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.:

export NEST_INSTALL_DIR=$HOME/nest-simulator-install
  1. Clone this GitHub Repository in a directory outside NEST source and build directories. E.g.:
cd $HOME
git clone https://github.com/dbbs-lab/cereb-nest/
  1. Move to cereb-nest directory and create a new folder where you will build the extension module
cd cereb-nest
mkdir build
cd build
  1. Run the following CMake command (Tested with CMake 3.2.2)
cmake -Dwith-nest=${NEST_INSTALL_DIR}/bin/nest-config ..

The resulting output should be something similar to:

[...]
-------------------------------------------------------

You can now build and install 'cerebmodule' using
  make
  make install

The library file libcerebmodule.so will be installed to
  /home/alberto/nest-simulator-install/lib/nest
Help files will be installed to
  /home/alberto/nest-simulator-install/share/doc/nest

The module can be loaded into NEST using
  (cerebmodule) Install        (in SLI)
  nest.Install('cerebmodule')  (in PyNEST)

The module will be installed into a non-default location!
Make sure to set the environment variables:
  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. 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

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.

  1. Make and install the module
make
make install
  1. Every time you need the module, you can install it in this way:
import nest
nest.Install("cerebmodule")
  1. You can now use all the nodes and synapses contained in this NEST Module.

About

Module for NEST simulator developed in the Project CerebNEST, aiming to recreate and simulate in NEST realistic cerebellar-inspired models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.8%
  • Python 12.5%
  • CMake 5.0%
  • Shell 3.7%