Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Quick question: ForkManager

by pimperator (Acolyte)
on Mar 30, 2015 at 16:53 UTC ( [id://1121869] : perlquestion . print w/replies, xml ) Need Help??

pimperator has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks

Quick question, I'm submitting a PBS job to the cluster that has a perl script with Parallel::ForkManager. In this script I want to fork off 32 processes for each file in an array I'm looping through.

When I ask for  #PBS -l nodes=4:ppn=8

does that mean that perl will fork off each process to run on each processor? Or do I need use threads;

Replies are listed 'Best First'.
Re: Quick question: ForkManager
by Mr. Muskrat (Canon) on Mar 31, 2015 at 18:28 UTC
Re: Quick question: ForkManager
by Anonymous Monk on Mar 30, 2015 at 22:42 UTC

    I'm submitting a PBS job to the cluster

    What is that?