st4sd / sum-numbers

Toy example to demonstrate a fork-join virtual experiment in ST4SD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ST4SD Example: Sum numbers

Toy example demonstrating the most common features of our virtual experiment Domain Specific Language (DSL) FlowIR. We recommend using this source code to follow along with our sum numbers tutorial.

For more information on FlowIR visit our FlowIR documentation website.

Quick links

Getting started

Python

Running and developing this project requires a recent Python version, it is suggested to use Python 3.7 or above. You can find instructions on how to install Python on the official website.

Python module st4sd-runtime-core

Create a python 3.7+ and install the python module st4sd-runtime-core in it. For more information, see the installation instructions of st4sd-runtime-core.

Executing the example

Instructions below assume that your python 3.7 virtual environment is under ${HOME}/venvs/st4sd

git clone http://github.com/st4sd/sum-numbers.git
source ${HOME}/venvs/st4sd/bin/activate

# Delete the previous runs if it exists
rm -rf sum-numbers.instance
elaunch.py sum-numbers --nostamp

After the virtual experiment terminates, you should have a look inside the sum-numbers.instance directory. For more information see our sum-numbers tutorial.

Development

Coming soon.

Help and Support

Please feel free to reach out to one of the maintainers listed in the MAINTAINERS.md page.

Contributing

We always welcome external contributions. Please see our guidance for details on how to do so.

License

This project is licensed under the Apache 2.0 license. Please see details here.

About

Toy example to demonstrate a fork-join virtual experiment in ST4SD

License:Apache License 2.0


Languages

Language:Python 100.0%