4.2 Basic usage

To run an application locally via the debugger on 4 pes with command line options for your pgm (e.g. opt1 opt2 ):

  charmdebug pgm +p4 4 opt1 opt2

If the application should be run in a remote cluster behind a firewall, the previous command line will become:

  charmdebug -host cluster.inst.edu -user myname -sshtunnel pgm +p4 4 opt1 opt2

Charmdebug can also be executed without any parameters. The user can then choose the application to launch and its command line parameters from within the File menu as shown in Figure 1.

Figure 1: Using the menu to set parameters for the CHARM++ program
Image menu

Note: charmdebug command line launching only works on net-* builds of CHARM++

To replay a previously recorded session:

  charmdebug pgm +p4 opt1 opt2  +replay



October 08, 2008
CharmDebug Homepage
Charm Homepage