Am 11.01.2012 um 14:11 schrieb Reuti:

> Am 11.01.2012 um 13:41 schrieb mahbube rustaee:
> 
>> Why use of DRMAA is needed whereas submission and control of jobs could be 
>> done via SGE CLI?
> 
> It's not "needed", but it's "available". Imagine you have a C application 
> and/custom workflow controller and want to submit some jobs from inside the 
> application, you would have to use something like the `system()` command or 
> `execve()`or alike to have access to an external program like on the CLI. And 
> then you would be bound to this particular queuing system, as there are 
> commands like `qsub`, `sbatch`, `llsubmit` for different queuing systems to 
> submit a job.
> 
> Having DRMAA allows you to change the queuing system just by relinking your 
> application (unless you used native arguments).

Pardon: "recompile" your application, as the header files may have changed 
(it's an API, not an ABI).

-- Reuti


> Control of jobs I would say is only minimal in DRMAAv1, as you can't 
> reconnect to a former DRMAA session. It will be better in DRMAAv2 though.
> 
> -- Reuti
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to