-
Dear developers,
But when I add this, my jobs get stuck waiting forever. I am not sure where the issue could be, but I would like to at least confirm that I am using the right syntax in my script. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
Hello, What you can instead do is to ask (in the JDL) a "MaxRAM" parameter (expressed in GB, so MaxRAM=16 for your case). Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the help! Just to clarify, there is no way to do this with only the Python API, I have to go through the JDL/CLI? And the tag system is per-site, rather than per-queue? |
Beta Was this translation helpful? Give feedback.
-
Replying to @fstagni 's request for JDLs, this is what got submitted (getting it directly from the dashboard):
And this is the JDL for a small test job I submitted around the same time:
I notice "16GB" gets added as a tag when submitting it through the API the way you proposed. I will try again submitting it through the CLI and only adding the " MaxRAM = 16 " line. |
Beta Was this translation helpful? Give feedback.
-
So, the result that you are getting should be OK. But, having a second look at the code, I see that there's actually only a simple mechanism implemented, meaning that we are back to the statement of my first reply:
So, to cut story short, if I was you I would remove the memory requirements/tags and hope for the best! |
Beta Was this translation helpful? Give feedback.
-
Yes, correct.
Unfortunately not. This is a feature that will be implemented only in DiracX, I am afraid. |
Beta Was this translation helpful? Give feedback.
-
I was going to mark this question as answered, but then I noticed something strange. I have sent two test jobs at different times with the following JDL (as recovered from the DIRAC dashboard):
The only difference was that one included a third test executable ("echo", "hostname", "pwd", that sort of thing). One got scheduled in five minutes, the other (which I submitted first!) is still waiting after almost four days. This is a it confusing, since they both include the MaxRAM and Tags = "16GB" lines, while none of the queues defined or the NIKHEF site in the configuration specify "16GB" as a tag or required tag, so I would have expected neither of the jobs to have found a matching queue. Am I missing anything else? |
Beta Was this translation helpful? Give feedback.
-
This is also interesting question for administrators of DIRAC. What should I add to the configuration of a Site to make this option work? Because right now I create several queues with different tags and it is getting messy. Another problem appears once we make several tagged queues in addition to untagged queue on the same computing resource. |
Beta Was this translation helpful? Give feedback.
Yes, correct.
Unfortunately not. This is a feature that will be implemented only in DiracX, I am afraid.