check PBS or SBE in apps.grid.get_grid_engine()