A server instance for NESTML
Project description
NESTML Server
Install
Install NEST Simulator into home folder because of non-root permission to write files into nest install directory.
wget https://github.com/nest/nest-simulator/archive/refs/heads/master.zip -O /tmp/nest-simulator-master.zip
unzip /tmp/nest-simulator-master.zip -d /tmp/
rm -rf /tmp/nest-build/; mkdir -p /tmp/nest-build; cd /tmp/nest-build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/opt/nest-nestml /tmp/nest-simulator-master
make -j $(nproc)
make install
Singularity
Use singularity or install all requirements in host.
Build Singularity images with all requirements for NESTML and server
sudo singularity build nestml-server.sif singularity/nest-server.def
Use Singularity for NESTML Server and Jupyter notebook
singularity shell nestml-server.sif
Usage
Source config variables of NEST to load path and pythonpath.
source $HOME/opt/nest-nestml/bin/nest_vars.sh
A. Start NESTML Server
gunicorn nestml_server:app --bind 0.0.0.0:52426 --timeout 120
B. Start Jupyter notebook
User can send code to NESTML server to build and install NESTML models.
cd notebook
jupyter notebook
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nestml_server-1.0.0b1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for nestml_server-1.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe90b7172eabc39bafd34a296b7af4d22c7cdebea218c0c736bc21a9d77c6d18 |
|
MD5 | 2d4aa8ca2bf256952d655c00e1ccb8d7 |
|
BLAKE2b-256 | 578dc4e703eb7b3cd235b641e2b126cb35223cbfe05f8003f080f16d101690be |