SGEPEJob() — create a job using all Sun GridEngine (SGE) worker processes

SGEPEJob(seq=(), modeller_path=None, host=None)
This functions identically to Job(), above, but automatically adds workers for every node in a Sun GridEngine (SGE) job using an SGE parallel environment. This is done by parsing the PE hostfile, which SGE should pass in the 'PE_HOSTFILE' environment variable, and creating an SGEPEWorker object (see below) for each processor. Other workers can still be added to the job if desired.

This class should be used to create a job from a MODELLER script running on the manager (first) node in an SGE parallel environment job.