Changes between Version 5 and Version 6 of Piernik

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

--

Legend:

Unmodified
Added
Removed
Modified
  • Piernik

    v5 v6  
    9797cxa.add_kernel('mhd', 'muscle.core.standalone.NativeKernel') 
    9898cxa.env["mhd:command"] = "./piernik" 
    99 cxa.env["mhd:dt"] = 1; 
     99cxa.env["mhd:dt"] = 1 
    100100 
    101101# global params 
     
    178178}}} 
    179179== Adding second kernel: MC == 
    180  
     180At first we need to create separate PIERNIK build for the MC kernel 
     181{{{ 
     182/setup -o mc mc_collisions_test -c gnufast -d HDF5,MUSCLE,MC_KERNEL 
     183}}} 
     184Please note that we use `-o mc` (use suffix for obj directory) and MC_KERNEL instead of MHD_KERNEL.  This will create another build in `./obj_mc/piernik`. Now we are ready to add another kernel definition in the CxA file: 
     185{{{ 
     186cxa.add_kernel('mc', 'muscle.core.standalone.NativeKernel') 
     187cxa.env["mc:command"] = "../obj_mc/piernik" 
     188cxa.env["mc:dt"] = 1; 
     189}}}