[drmaa-wg] DRMAA for Torque

Peter Troeger peter.troeger at hpi.uni-potsdam.de
Sat Feb 4 14:26:14 CST 2006


> Meanwhile I'm surprised by something: in the ST_SUPPORTED_ATTR test  
> the
> program checks the drmaa_get_next_attr_name() return code,  
> comparing it
> with DRMAA_ERRNO_SUCCESS and then with
> DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE. If the return code is neither of
> these values, the test fails. I understood that the
> drmaa_get_next_attr_name() function was supposed to return
> DRMAA_ERRNO_NO_MORE_ELEMENTS when the end of the list is reached.  
> That's
> what my lib does, and the therefore the test fails.
>
> Where am I wrong ?

Nowhere. I will fix this immediately. The more interesting question  
is while earlier tests with other implementations didn't brought that  
up (Dan, Andreas ?).

Thanks !

Peter.

>
> Thanks for the help.
>
> Matthieu Cargnelli





More information about the drmaa-wg mailing list