[drmaa-wg] Wait Question

Daniel Templeton Dan.Templeton at Sun.COM
Fri Apr 29 04:56:55 CDT 2005


What happens when I call drmaa_wait(ANY) and there are no running or 
completed jobs?  The specs don't address this.  Obviously an error code 
gets returned.  Which one?  DRMAA_ERRNO_NO_RUSAGE? 
DRMAA_ERRNO_INVALID_JOB?  DRMAA_ERRNO_INVALID_ARGUMENT? 
DRMAA_ERRNO_EXIT_TIMEOUT?  I could make a case for each of them.  It 
looks like the SGE implementation returns DRMAA_ERRNO_INVALID_JOB.

Daniel





More information about the drmaa-wg mailing list