defaultCPUTime #7074
-
Hi, DIRAC py3 server 7.3.17, py3 pilot jobs and py3 diracos2 client I have set my defaultCPUTime to 345600 seconds (96 hours) but was wondering if it was possible to set the defaultCPUTime based on VO. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 8 replies
-
Hi Ernst, Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi Federico, I guess this is what I tried before and found out it didn't work. Tried it again and I can see that de defaultcpdutime is still set to the wrong value. My config looks like this: |
Beta Was this translation helpful? Give feedback.
-
Hi Federico, Yes it was submitted after the change. I also did another reload (using runsvctrl) and submitted another job. Same result. |
Beta Was this translation helpful? Give feedback.
-
Can you try the following from a client? from DIRAC.Core.Base.Script import parseCommandLine
parseCommandLine()
from DIRAC import gLogger
gLogger.setLevel("DEBUG")
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
opsHelper = Operations(group="pvier_user")
print(opsHelper.getValue("JobDescription/DefaultCPUTime")) ? What is the result? |
Beta Was this translation helpful? Give feedback.
-
Still not: ernstp$ python cputime.py |
Beta Was this translation helpful? Give feedback.
-
ernstp$ python cputime.py |
Beta Was this translation helpful? Give feedback.
-
Hi, This one /Operations/vo_name/DIRAC-Production/JobDescription/DefaultCPUTime did not work but this one: /Operations/vo_name/Defaults/JobDescription/DefaultCPUTime did work. Thank for your help. |
Beta Was this translation helpful? Give feedback.
The you can just set it (additionally) for the VOs for which you want a different
DefaultCPUTime
in/Operations/vo_name/JobDescription/DefaultCPUTime