Opened 16 years ago

Last modified 9 years ago

#156 new enhancement

IZ943: DRMAA optional job template attributes should be supported

Reported by: tharsch Owned by:
Priority: low Milestone:
Component: sge Version: 6.0beta
Severity: Keywords: drmaa
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=943]

        Issue #:      943              Platform:     All           Reporter: tharsch (tharsch)
       Component:     gridengine          OS:        All
     Subcomponent:    drmaa            Version:      6.0beta          CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     templedf
          URL:
       * Summary:     DRMAA optional job template attributes should be supported
   Status whiteboard:
      Attachments:

     Issue 943 blocks:
   Votes for issue 943:


   Opened: Thu Apr 1 11:08:00 -0700 2004 
------------------------


The following are from SGE's drmaa.h
#define
DRMAA_DEADLINE_TIME          "drmaa_deadline_time
"
#define
DRMAA_WCT_HLIMIT             "drmaa_wct_hlimit"
#define
DRMAA_WCT_SLIMIT             "drmaa_wct_slimit"
#define
DRMAA_DURATION_HLIMIT        "drmaa_durartion_hli
mit"
#define
DRMAA_DURATION_SLIMIT        "drmaa_durartion_sli
mit"

So, either it does support them and the
drmaa_get_attribute_names() function
incorrectly doesn't return them.  Or, perhaps
the get/set attribute
functions know how to error if these are used?
But, since I just tested the
get/set functions for one of the above...  I'm
inclined to think that
drmaa_get_attribute_names()  is not behaving as
intended.  I'll file a
bug.

----- Original Message -----
From: "Peter Troeger" <peter.troeger@hpi.uni-
potsdam.de>
To: <drmaa-wg@gridforum.org>
Sent: Thursday, April 01, 2004 5:59 AM
Subject: Re: [drmaa-wg] drmaa_get_attribute_names
() to return any of the
optional standard attributes?


> Hello,
>
> from the spec:
>
> "drmaa_get_attribute_names ... SHALL return
the set of supported
> attribute names whose associated value type is
String.   This set SHALL
> include supported DRMAA reserved attribute
names and native attribute
> names. "
>
> Since the specification defines the names of
all optional standard
> attributes, I would say that they belong to
the set of "DRMAA reserved
> attribute names". If a implementation like SGE
returns only the
> mandatory attribute names, I would expect that
none of the optional
> attributes is supported.
>
> Regards,
>
> Peter.
>
>
>
>
> Am 01.04.2004 um 04:20 schrieb Tim Harsch:
>
> > such as DRMAA_WCT_HLIMIT?
> >
> > I ask because the SGE binding only returns
the mandatory attribute
> > names,
> > though I don't know if it has support for
the optional names.
> >
>

   ------- Additional comments from andreas Sun Apr 4 11:53:37 -0700 2004 -------
In fact those enlisted attributes are not yet supported.
Changing into RFE b/c support is optional.
Lowering priority.

   ------- Additional comments from templedf Tue Aug 30 04:33:41 -0700 2005 -------
Lowered priority.  With the native specification and job categories, there are
plenty of ways to work around not having all the optional attributes.

Change History (0)

Note: See TracTickets for help on using tickets.