Generalize SGE support for additional cases: systems without queues, different memory allocation types and advanced reservations. Thanks to Karl Gutwin