Changes between Version 8 and Version 9 of Piernik

Show
Ignore:
Timestamp:
03/09/13 15:03:12 (12 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Piernik

    v8 v9  
    185185{{{ 
    186186cxa.add_kernel('mc', 'muscle.core.standalone.NativeKernel') 
    187 cxa.env["mc:command"] = "../obj_mc/piernik" 
     187cxa.env["mc:command"] = "./piernik" #here we assume that the other kernel is started in obj_mc 
    188188cxa.env["mc:dt"] = 1; 
    189189}}} 
    190 We also need to add `mc` ad the end of muscle2 command invocation: 
     190Because we need to run every kernel in separate directory, we need to start two MUSCLE instances. 
    191191{{{ 
    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] 
     192cd obj 
     193time muscle2 --main --bindaddr 127.0.0.1 --bindport 1234 --cxa ../scripts/piernik.cxa.rb mhd & 
     194cd .. 
     195cd obj_mc 
     196time muscle2 --manager 127.0.0.1:1234 --cxa ../scripts/piernik.cxa.rb mc & 
     197wait 
    196198}}} 
    197 }}}