Implement Parallel::MPI in perl script -


i have code parallelize on 8 nodes, 8 processors per node.

i don't have clue how implement parallel::mpi::simple

here's basic code:

#!/usr/bin/perl  # initialize parallelizing here  foreach(keys %hash1){     #fork job      foreach $fh (@files) {         #get data         open out, ">>".$ofh;         print out $data,"\n";         close out;     }      # end fork } # end script 

i run assume

#pbs -l nodes=8:ppn=8 mpirun -n 64 perl parallelizing.pl 

i'm confused on documentation. i not need nodes talk each other. execute same command in different files on multiple nodes. open, print, , close.

thanks much!


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -