matrix_grid.pl -- A simple example of parallel distributed computing
./matrix_grid.pl [options] --config configuration_file --np number_of_processes --a file name of matrix A --b file name of matrix B --result file name of the result matrix --clean flag: clean files after execution
This example uses the method open to create unidirectional pipes for communications among different processes.
To install GRID::Cluster, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GRID::Cluster
CPAN shell
perl -MCPAN -e shell install GRID::Cluster
For more information on module installation, please visit the detailed CPAN module installation guide.