Changes between Version 40 and Version 41 of MpiKernels

Show
Ignore:
Timestamp:
02/29/12 10:20:19 (13 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MpiKernels

    v40 v41  
    176176This approach has an advantage of separation of Java and C/C++ processes. 
    177177=== Sources  === 
    178 * LHC2.cxa 
     178* LHC2.cxa - the Complex Automata simulation file 
     179{{{ 
     180cxa.env["PSB:InitialEnergy"] = 1.2 
     181cxa.env["PSB:DeltaEnergy"] = 0.1 
     182cxa.env["PSB:MaxEnergy"] = 4.0 
     183cxa.env["PSB:command"] = "PSB" 
     184cxa.env["PSB:mpiexec_args"] = "-np 2" 
     185 
     186cxa.env["LHC:DeltaEnergy"] = 0.2 
     187cxa.env["LHC:MaxEnergy"] = 12.0 
     188cxa.env["LHC:command"] = "LHC" 
     189cxa.env["LHC:mpiexec_args"] = "-np 2" 
     190 
     191# declare kernels 
     192cxa.add_kernel('LHC', 'examples.mpiring.LHC2') 
     193cxa.add_kernel('PSB', 'examples.mpiring.PSB2') 
     194 
     195# configure connection scheme 
     196cs = cxa.cs 
     197 
     198cs.attach('PSB' => 'LHC') { 
     199        tie('pipe', 'pipe') 
     200} 
     201}}} 
    179202* LHC2.java 
    180203* PSB2.java 
    181 * mpiringlib.{c,h} 
    182 * LHC.c 
    183 * PBS.c 
     204* mpiringlib.c, LHC.c - compiled into the LHC executable 
     205* mpitinglib.c, PBS.c - compiled into the PBS executable 
    184206=== Running === 
    185207* LHC, plumber: