lib/hpc/formatter.pm

single_node

single_node($bin);

Prepares and returns the command to run as string for a single host (localhost). bin is required. need_interpreter boolean will tell if the bin is actually a source code where needs invoke _python_ interpreter.

all_nodes

all_nodes($bin);

Prepares and returns the command to run as string for all the nodes in the cluster. bin is required. need_interpreter boolean will tell if the bin is actually a source code where needs invoke _python_ interpreter. TODO: improve the identification of the bin