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

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -