When compiling CHARM++ programs, the charmc linker produces both an executable file and a program called charmrun, which is used to load the executable onto the parallel machine.
To run a CHARM++ program named ``pgm'' on four processors, type:
Programs built using the network version of CHARM++ can be run alone, without charmrun. This restricts you to using the processors on the local machine, but it is convenient and often useful for debugging. For example, a CHARM++ program can be run on one processor in the debugger using:
If the program needs some environment variables to be set for its execution on compute nodes (such as library paths), they can be set in .charmrunrc under home directory. charmrun will run that shell script before running the executable.
April 10, 2012
Charm Homepage