[drmaa-wg] Wait Question
Andreas Haas
Andreas.Haas at Sun.COM
Fri Apr 29 05:48:28 CDT 2005
On Fri, 29 Apr 2005, Daniel Templeton wrote:
> 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.
I think there is nothing wrong with DRMAA_ERRNO_INVALID_JOB.
Andreas
More information about the drmaa-wg
mailing list