JOB  M_A job_dagman_splice-M.cmd
VARS M_A job="$(JOB)"

JOB  M_B job_dagman_splice-M.cmd
VARS M_B job="$(JOB)"

SPLICE M_SD1_S1 job_dagman_splice-M-splice.dag DIR job_dagman_splice-M-subdir1
SPLICE M_SD1_S2 job_dagman_splice-M-splice.dag DIR job_dagman_splice-M-subdir1
SPLICE M_SD2_S1 job_dagman_splice-M-splice.dag DIR job_dagman_splice-M-subdir2
SPLICE M_SD2_S2 job_dagman_splice-M-splice.dag DIR job_dagman_splice-M-subdir2

# The nodes of splice 
PARENT M_A CHILD M_SD1_S1
PARENT M_SD1_S1 CHILD M_SD1_S2
PARENT M_SD1_S2 CHILD M_SD2_S1
PARENT M_SD2_S1 CHILD M_SD2_S2
PARENT M_SD2_S2 CHILD M_B

DOT job_dagman_splice-M.dot
