5 Command-line Options

The complete set of link-time arguments relevant to TCHARM is:

-memory isomalloc
Enable memory allocation that will automatically migrate with the thread, as described in Section 2.3.

-balancer B
Enable this load balancing strategy. The current set of balancers B includes RefineLB (make only small changes each time), MetisLB (remap threads using graph partitioning library), HeapCentLB (remap threads using a greedy algorithm), and RandCentLB (remap threads to random processors). You can only have one balancer.

-module F
Link in this framework. The current set of frameworks F includes ampi, collide, fem, mblock, and netfem. You can link in multiple frameworks.

The complete set of command-line arguments relevant to TCHARM is:

+p N
Run on N physical processors.

+vp N
Create N ``virtual processors'', or threads. This is the value returned by TCharmGetNumChunks.

++debug
Start each program in a debugger window. See Charm++ Installation and Usage Manual for details.

+tcharm_stacksize N
Create N-byte thread stacks. This value can be overridden using TCharmSetStackSize().

+tcharm_nomig
Disable thread migration. This can help determine whether a problem you encounter is caused by our migration framework.

+tcharm_nothread
Disable threads entirely. This can help determine whether a problem you encounter is caused by our threading framework. This generally only works properly when using only one thread.

+tcharm_trace F
Trace all calls made to the framework F. This can help to understand a complex program. This feature is not available if CHARM++ was compiled with CMK_OPTIMIZE.

November 23, 2009
Charm Homepage