7.2 Compiling and Running

Unless linked with load balancer modules, a Charisma program will not perform actual load balancing. The way to link in a load balancer module is adding -module EveryLB as a link-time option.

At run-time, the load balancer is specified in command line after the +balancer option. If the balancer name is incorrect, the job launcher will automatically print out all available load balancers. For instance, the following command uses RotateLB.

{foodecl}
    > ./charmrun ./pgm +p16 +balancer RotateLB



June 29, 2008
Charisma Homepage
Charm Homepage