| 142 | |
| 143 | == Sample execution == |
| 144 | There are some examples which belong to the MUSCLE budnle. Example code for kernels can be found in the directories java/examples and cpp/examples. There are also prepared configurations for coupled example CxA (MUSCLE simulations), which can be found in the cxa directory. |
| 145 | |
| 146 | === Hello World === |
| 147 | * Sender: |
| 148 | At java/examples/simplejava/Sender we provide a minimalist kernel written in Java, which sends data (an array of double). |
| 149 | * Receiver: |
| 150 | At java/examples/simplejava/ConsoleWriter we provide a simple kernel written in Java. It receives data (an array of double) and prints its content to the standard output. |
| 151 | * CxA (coupling schema) |
| 152 | The configuration cxa/SimpleExample.cxa.rb configures a minimal CxA which couples the java/examples/simplejava/Sender and java/examples/simplejava/ConsoleWriter |
| 153 | kernels. |
| 154 | |
| 155 | |