29 Apr
2005
29 Apr
'05
5:48 a.m.
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