On Mar 29, 2012, at 2:29 PM, Jose Caballero wrote: > Hi, > > I have a final question about default values. > Some of them seems to default to None (or maybe it is just they do not have a > default). > One of them is, for example, maxCpuTime. > > What I need to know is that if not using it at all is the same that doing > this > > globusrsl = (...) (maxCpuTime=None) (...) > > or maybe > > globusrsl = (...) (maxCpuTime=) (...) > > > Again, thanks a lot in advance. > Cheers, > Jose
RSL attributes (mostly) act as constraints on the job which are passed to the local resource manager. If one of the RSL attributes is not present in the job submit RSL, and there is not default defined by GRAM, then the constraint will not be included in the job passed to the local resource manager. There might be local policies which override GRAM and provide defaults, or sites may operate without that constraint, or it might not make sense for a particular manager implementation. Neither of the syntaxes you propose above are accepted by GRAM. To use the default (or to not specify the attribute), simply omit it from the RSL. There is currently no way to say "don't use the default" from the client side. The default could be removed by modifying the service's rvf definition of the RSL attributes for that site or LRM. Joe
