thyrsis.simulation.jobqueue module
This module contains the class to create a job queue
- class thyrsis.simulation.jobqueue.JobQueue(jobs, MPI, managed=True)
Bases:
object
Simple class to create a job queue
The jobs are entered as a list of string, the call to next() returns the next job to perform
The process of rank 0 is used as manager
If MPI is not defined, the job queue is just a simple list