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

slave_nodes

slave_nodes($bin);

Prepares and returns the command to run as string for assigning only the compute nodes of 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

n_nodes

n_nodes($bin, $n);

Prepares and returns the command to run as string without pass --host variable. Instead defines the number of nodes which the code should run on. bin is required. n 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