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
Post a Comment