Hello World
How to run it
Before running this example, you have launch the docker container. You can find the instructions in the Docker page of the documentation.
When you are in the docker container, you have to go to the messy
directory:
cd /messy/messy/
Then we can run python:
python3 messy.py -f codegen/pulp_open.json -a /messy/examples/helloworld
-f
is the file name of the chosen system configuration-a
is the path of the folder of the application
Explanation
This code will build and execute the helloworld
example. You should see the following output:
Entering main controller
[31 0] Hello World!
Cluster master core entry
[0 7] Hello World!
[0 6] Hello World!
[0 5] Hello World!
[0 4] Hello World!
[0 3] Hello World!
[0 2] Hello World!
[0 0] Hello World!
[0 1] Hello World!
Cluster master core exit
Bye !