/PLENA2024_NEST

Primary LanguageJupyter NotebookGNU General Public License v2.0GPL-2.0

Material for NEST-related tutorial at PLENA 2024

This material is publicly available at https://github.com/jhnnsnk/PLENA2024_NEST.

📝 Please fork this repository and then clone the fork.
Do not clone this repository directly.

Pucón Learning and AI Summit
Chile, April 8-12, 2024
https://plena.cenia.cl

Course 2: Simulated dynamics of spiking full-scale network models

Tuesday April 9th, 16:00 – 17:00 pm and Wednesday, April 10th, 13:00 – 14:00 pm.
Presented by Johanna Senk.
The second part of the workshop gives an introduction and demonstration into modeling of the dynamics and plasticity of spiking neuronal networks. The tutorial explains graphical as well as programmatic approaches on the basis of the simulation code NEST. We emphasize that full-scale models representing all the neurons and all the synapses of a circuit are within reach, removing the uncertainties of downscaling. Examples and exercises make use of the graphical user interface NEST Desktop and Jupyter notebooks for PyNEST code.

NEST Desktop

  1. Go to https://nest-desktop.apps.hbp.eu. The Chrome browser usually works best.
  2. Sign in with your EBRAINS account.
  3. Click START A NEW PROJECT.
  4. If you want to load the project prepared in this repository, go toPROJECTS -> Import Projects -> URL and paste the link to the Raw version of 1_NESTDesktop2PyNEST/balanced_network.json.
    (for convenience: https://raw.githubusercontent.com/jhnnsnk/PLENA2024_NEST/main/1_NESTDesktop2PyNEST/balanced_network.json)
    Press enter, select the file and IMPORT.

How NEST Desktop stores models

  • NEST Desktop stores models as cookies in your browser
  • Models will disappear when your browser cleans up cookies.
⚡ Always export your models to disk for safe storage.
  • And vice versa, if you experience any issues with the simulation, deleting cookies often helps.

Working with the PyNEST examples on EBRAINS

⚡ Material not pushed from EBRAINS back to GitHub may disappear overnight.
  1. Fork this repository.
  2. Go to https://lab.ebrains.eu.
  3. Choose Germany (Fenix DE - Jülich Supercomputing Center (JSC)) or Switzerland (Fenix CH - Swiss National Supercomputing Center (CSCS).
  4. Remember which one you chose.
  5. Upon "Start Server", EBRAINS spins up a virtual machine (VM) for you with 2 GB RAM.
  6. You have a file browser to your left.
    • Top level is your local home on the VM. It exists as long as the VM.
    • Do not use shared (contains long-term storage but needs a Collab and is not suitable for storing Git repos) or drive (deprecated).
  7. Clone your fork of the PLENA2024_NEST repository under the "Git" logo in the left margin (use the HTTPS version: https://github.com/jhnnsnk/PLENA2024_NEST.git ). There you also find tools for managing Git.
  8. Always commit and push at the end of a session.
  9. EBRAINS will from time to time shut down inactive VMs. Any material in your VM home directory will then be lost—remember to push!
  10. You can shut down a server yourself via File > Hub Control Panel. The entire VM including your home on the VM is deleted then.

Direct access to the execution sites

If you remember on which site your VM is running, you can contact it directly:

Please do not create VMs on both sites simultaneously to avoid resource waste!