Changes between Version 8 and Version 9 of Piernik
- Timestamp:
- 03/09/13 15:03:12 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Piernik
v8 v9 185 185 {{{ 186 186 cxa.add_kernel('mc', 'muscle.core.standalone.NativeKernel') 187 cxa.env["mc:command"] = ". ./obj_mc/piernik"187 cxa.env["mc:command"] = "./piernik" #here we assume that the other kernel is started in obj_mc 188 188 cxa.env["mc:dt"] = 1; 189 189 }}} 190 We also need to add `mc` ad the end of muscle2 command invocation: 190 Because we need to run every kernel in separate directory, we need to start two MUSCLE instances. 191 191 {{{ 192 $muscle2 --main --cxa piernik.cxa.rb mhd mc 193 ... 194 (14:17:46 mhd) Spawning standalone kernel: [./piernik] 195 (14:17:46 mc) Spawning standalone kernel: [../obj_mc/piernik] 192 cd obj 193 time muscle2 --main --bindaddr 127.0.0.1 --bindport 1234 --cxa ../scripts/piernik.cxa.rb mhd & 194 cd .. 195 cd obj_mc 196 time muscle2 --manager 127.0.0.1:1234 --cxa ../scripts/piernik.cxa.rb mc & 197 wait 196 198 }}} 197 }}}