Exercise 8b: Priority
DAGMan can change the standard prioritization, if it is specified for a node in the dag file. For example, if there are three CHILD Nodes related to the same PARENT and it is necessary to submit the one of them first and then the other two, set Priority in the dag file.
In this exercise, set priority to Job C in order for it to be submitted before Job B.
Create exercise8b.dag using the following:
JOB A A.sub
JOB B B.sub
JOB C C.sub
JOB D D.sub
PARENT A CHILD B C
PARENT B CHILD D
PARENT C CHILD D
Priority C 10
The exercise8b.dag.nodes.log file, shows that Node C submitted first and then Node B.
000 (17091.000.000) 03/16 09:42:16 Job submitted from host: <128.142.194.115:9618?addrs=128.142.194.115-9618+[2001-1458-301-e1--100-6d]-9618&noUDP&sock=2796832_b331_37>
DAG Node: A
...
001 (17091.000.000) 03/16 09:43:42 Job executing on host:
<188.185.57.46:9618?addrs=188.185.57.46-9618+[--1]-9618&noUDP&sock=2767_1b27_3>
...
005 (17091.000.000) 03/16 09:43:43 Job terminated.
(1) Normal termination (return value 0)
Usr 0 00:00:00, Sys 0 00:00:00 - Run Remote Usage
Usr 0 00:00:00, Sys 0 00:00:00 - Run Local Usage
Usr 0 00:00:00, Sys 0 00:00:00 - Total Remote Usage
Usr 0 00:00:00, Sys 0 00:00:00 - Total Local Usage
38 - Run Bytes Sent By Job
60 - Run Bytes Received By Job
38 - Total Bytes Sent By Job
60 - Total Bytes Received By Job
Partitionable Resources : Usage Request Allocated
Cpus : 1 1
Disk (KB) : 16 1 1958666
Memory (MB) : 0 2000 2000
...
000 (17092.000.000) 03/16 09:43:51 Job submitted from host: <128.142.194.115:9618?addrs=128.142.194.115-9618+[2001-1458-301-e1--100-6d]-9618&noUDP&sock=2796832_b331_37>
DAG Node: C
...
000 (17093.000.000) 03/16 09:43:51 Job submitted from host: <128.142.194.115:9618?addrs=128.142.194.115-9618+[2001-1458-301-e1--100-6d]-9618&noUDP&sock=2796832_b331_37>
DAG Node: B
Last update: November 26, 2019