qilimanjaro-tech / qililab

Qililab is a generic and scalable quantum control library used for fast characterization and calibration of quantum chips. Qililab also offers the ability to execute high-level quantum algorithms with your quantum hardware.
Apache License 2.0
30 stars 2 forks source link

Add low_priority jobs to slurm magic method #655

Closed ziiiki closed 8 months ago

ziiiki commented 8 months ago

See below that jobs 969 to 973 have been queued with low priority with -lp true and 974 has priority != 0. Hence, 974 is executed first despite it was the last to be submitted

(qililab) adria@adria-Summit-E16Flip-A12UCT:~/Projects/qililab$ sprio -n
          JOBID PARTITION PRIORITY   PARTITION 
            969 local     0.00000000 1.0000000 
            970 local     0.00000000 1.0000000 
            971 local     0.00000000 1.0000000 
            972 local     0.00000000 1.0000000 
            973 local     0.00000000 1.0000000 
            974 local     0.00000023 1.0000000 
(qililab) adria@adria-Summit-E16Flip-A12UCT:~/Projects/qililab$ squeue
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
               973     local submitit    adria PD       0:00      1 (Priority)
               972     local submitit    adria PD       0:00      1 (Priority)
               971     local submitit    adria PD       0:00      1 (Priority)
               970     local submitit    adria PD       0:00      1 (Priority)
               969     local submitit    adria PD       0:00      1 (Resources)
               974     local submitit    adria  R       0:00      1 adria-Summit-E16Flip-A12UCT
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e821692) 95.57% compared to head (5aff94e) 95.57%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #655 +/- ## ======================================= Coverage 95.57% 95.57% ======================================= Files 269 269 Lines 8607 8612 +5 ======================================= + Hits 8226 8231 +5 Misses 381 381 ``` | [Flag](https://app.codecov.io/gh/qilimanjaro-tech/qililab/pull/655/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qilimanjaro-tech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qilimanjaro-tech/qililab/pull/655/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qilimanjaro-tech) | `95.57% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qilimanjaro-tech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.