Try to understand the logic of multiprocessor support #7233
-
We are using DIRAC 8.0.24. The jobs is defined with tags: The jobs are running fine. In pilot log, how can I know how many cores the pilots are occuping with PoolComputingElement? For my understanding, it should have 8 cores for the jobs. But I didn't see the pilotprocessors has 8 cores: 2023-10-08 08:28:38 UTC INFO [CheckWNCapabilities] pilotProcessors = 1 I am not quite clear what happened here. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Hello, What does the following command give you?
? |
Beta Was this translation helpful? Give feedback.
-
I get the same result for the command for only 1 processor even when I define NumberOfProcessors = 8 in both CE and Queue level: Only when I added NumberOfProcessors =8 in /Resource/CEDefaults, the command gets 8 processors. But I can't define all the CEs to be NumberOfProcessors=8 from the beginning: |
Beta Was this translation helpful? Give feedback.
-
There's definitely something wrong in your configuration, because this is what I get in LHCb: |-> dirac-wms-get-wn-parameters -S LCG.Lancaster.uk -N grendel2.hec.lancs.ac.uk -Q nordugrid-sge-grid
Getting number of processors
Getting numberOfProcessors from /Resources/Computing/CEDefaults/NumberOfProcessors
Getting numberOfProcessors from MJF
NumberOfProcessors could not be found in MJF
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/CEs/grendel2.hec.lancs.ac.uk/Queues/nordugrid-sge-grid/NumberOfProcessors
Getting memory (RAM) from MJF
maxRAM could not be found in MJF, using JobParameters.getMemoryFromProc()
Getting number of GPUs
Getting GPUs from /Resources/Computing/CEDefaults/NumberOfGPUs
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/CEs/grendel2.hec.lancs.ac.uk/Queues/nordugrid-sge-grid/NumberOfGPUs
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/CEs/grendel2.hec.lancs.ac.uk/NumberOfGPUs
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/Cloud/grendel2.hec.lancs.ac.uk/VMTypes/nordugrid-sge-grid/NumberOfGPUs
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/Cloud/grendel2.hec.lancs.ac.uk/NumberOfGPUs
Looking in /Resources/Sites/LCG/LCG.Lancaster.uk/NumberOfGPUs
NumberOfGPUs could not be found in CS
8 29284 0 Do you by chance have |
Beta Was this translation helpful? Give feedback.
-
Yes. I have /Resources/Computing/CEDefaults/NumberOfProcessors=1 configured. Removing it, I got the result from the jobs: |
Beta Was this translation helpful? Give feedback.
-
OK, thanks. It looks good now. I continue to test JUNO jobs in multi-processor mode. |
Beta Was this translation helpful? Give feedback.
Hello,
do not use
NumberOfProcessors
andWholeNode
options together (to be honest, I would not useWholeNode
ever...) as the 2 in a way contradict one another.What does the following command give you?
?