Changes between Version 43 and Version 44 of Installation_old
- Timestamp:
- 07/28/11 11:18:06 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Installation_old
v43 v44 143 143 == Sample execution == 144 144 There are some examples which belong to the MUSCLE bundle. Example code for kernels can be found in the directories java/examples and cpp/examples. There are also prepared configurations for coupled examples CxA (MUSCLE simulations), which can be found in the cxa directory. 145 145 146 === Hello World === 147 146 148 ==== Sender ==== 147 149 At java/examples/simplejava/Sender we provide a minimalist kernel written in Java, which sends data (an array of double). 150 148 151 ==== Receiver ==== 149 152 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. 153 150 154 ==== CxA (coupling schema) ==== 151 155 The configuration cxa/SimpleExample.cxa.rb configures a minimal CxA which couples the java/examples/simplejava/Sender and java/examples/simplejava/ConsoleWriter kernels. 156 152 157 ==== Execution ==== 153 To run the simmulation defined in SimpleExample.cxa.rb use the following command: 154 158 To run the simmulation defined in cxa/SimpleExample.cxa.rb use the following command: 155 159 {{{ 156 160 #!div style="font-size: 90%" … … 159 163 }}} 160 164 }}} 161