Submitting job streams with a wildcard loses dependencies
You issue a submit of interdependent job streams using a wildcard. In certain circumstances you lose the dependencies in an anomalous way.
Cause and solution:
To understand the cause, follow this example, in which the job streams are
represented by A, B, C, and their instances are represented by 1,
2:
- You have the following job streams and
jobs in the Symphony file:
whereA1 B1 (A1,C1) C1B1depends onA1andC1. - You submit all the jobs, using:
The planner creates the following Job Scheduler instances:sbs @A2 B2 (A2,C1) C2B2now depends onA2andC1. This is correct, because at the moment of submitting theB2Job SchedulerC2did not exist, so the highest instance available wasC1. - The planner then asks you to confirm that you want to submit the
instances:
Do you want to submit A2? Do you want to submit B2? Do you want to submit C2? - Assume that you do not want to submit the job streams
A2andC2, yet, so you reply "No" to the first and last questions. In these circumstances you lose the dependency onA2, but not onC1. This behavior is correct and logical but could be seen by some as anomalous.
To correct the situation, stop the agent on the workstation where the Job Scheduler is running and cancel the Job Scheduler. Then determine the correct sequence of actions to achieve the objective you want, and submit the appropriate jobs.