next up previous contents index
Next: sge_qsub_job() create Up: Parallel job support Previous: job() create   Contents   Index

sge_pe_job() -- create a job using all Sun GridEngine (SGE) slave processes

sge_pe_job(seq=(), modeller_path=None, host=None)
This functions identically to job(), above, but automatically adds slaves 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 sge_pe_slave object (see below) for each processor. Other slaves 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 master (first) node in an SGE parallel environment job.



Ben Webb 2007-01-19