Strange tag behaviour #5897
-
Dirac version 7.3.17 (python 2), diracos2 client 7.3.17 Hi, I'm experiencing strange behaviour involving tags. I have defined a 1 core infra queue with 2 tags: infra and surf, like this:
(I set SI00 to 250 such that there is a 1-to-1 correspondence between the CPUTime in the jdl file and the maxCPUTime in the queue definition. This works very nice and I think it's very user friendly.) I have the following user job:
When I submit this job, dirac submits a pilot job to the above queue. At this point there are no other user jobs, just the one I just submitted. Then the trouble starts. When the pilot jobs runs, it checks for user jobs that match the requirements, which should be the user job I just submitted and that resulted in this pilot job to be submitted. Unfortunately, the Matcher process says that there are no matching jobs. In the Matcher log i see this:
Notice the indentation in the 'Tag' line with respect to the other lines. To understand the problem I did some tests:
Notice that the indentation is gone but there is still extra space in front of 'infra'.
I also have another 7.2.27 dirac server that does not have this problem. The fact that I have this problem for 3 different versions, and that another server that does not show this problem, would suggest that my setup has a bug somewhere. I just can't figure out what it might be. Any help is welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi,
For my understanding, you mean py2 server with py3 client, right? In this case anyway what's important is the Pilot version.
Out of curiosity, why would you like to do that? My normal reasoning is that the larger the queue
The bug you are reporting for v7r2p27 was also reported in #5826 (and fixed). Regarding this specific issue: seems like you have a good "debug" setup, can you add a few prints in https://github.com/DIRACGrid/DIRAC/blob/rel-v7r3/src/DIRAC/WorkloadManagementSystem/Client/Matcher.py#L190-L194 and let me know? |
Beta Was this translation helpful? Give feedback.
Hi,
For my understanding, you mean py2 server with py3 client, right? In this case anyway what's important is the Pilot version.
Out of curiosity, why would you like to do that? My normal reasoning is that the larger the queue
maxCPUTime
, the better -- considering that you can match one job after another with the filling mode.At the same time, I am afraid that there is a misunderstanding here, because in fact what you are trying to achieve is not really possible: