oar-team / oar3

OAR: versatile resource and job manager for cluster (third generation)
Other
8 stars 11 forks source link

Invalid number of resources in INFO when symbol '+' is used #16

Closed alexispapabil closed 2 years ago

alexispapabil commented 2 years ago

In this example, 10 cores are requested (and successfully allocated), however the INFO message shows estimated number of resources = 6.

user1@frontend:~$ oarsub -I -l "{network_address = 'dev-node-2'}/core=6+{network_address = 'dev-node-3'}/core=3+{network_address = 'dev-node-4'}/core=1"
[ADMISSION RULE] Set default walltime to 7200.
# INFO:  Moldable instance:  1  Estimated nb resources:  6  Walltime:  7200
OAR_JOB_ID= 27
Interactive mode: waiting...
Starting...
Connect to OAR job 27 via the node dev-node-2
adfaure commented 2 years ago

Hello, thanks for reporting, I have been able to reproduce the bug. I will make a test that fails and try to debug it.