The Parallel Applications Pattern is best suited to exploit the multiprocessor architectures, different external applications can run concurrently if a sufficient number of licenses or processing elements are available.
The Figure 5.45, "the Parallel Applications Work Flow" shows the Work Flow for parallel analyses.
We can rebuild the Work Flow from the beginning or we can reuse what we have already done for The Independent Applications Pattern
We can also load the following project already built with this pattern:
.../modeFRONTIER30x/projects/testcase/parallel/testParallel.prj
Since this tutorial simply modifies a Work Flow we have already built, we can reuse what we have done in the previous tutorial.
Open the "The Independent Applications Pattern"", a copy is available with the name testSerial-indip.prj in:
.../modeFRONTIER30x/projects/testcase/serial-indip
Enter the ApplicationB properties window double clicking on its icon and do the follow:
Uncheck ApplicationA as Possible input nodes.
Uncheck End16 as Possible output nodes.
Click the buttons to accept all changes.
Enter the ApplicationA properties window and do the follow:
Uncheck Scheduler as Possible input nodes.
Uncheck ApplicationB as Possible output nodes.
Click the buttons to accept all changes.
Select from the tool bar the Synchronizer
and put it in the Work Flow window.
Two more objects appear on the Work Flow, the Start Synchronizer
gives the start signal to the applications linked while the End Synchronizer
blocks until all applications are completed, (Figure 5.46, "unlink the Applications").
Enter the Synchronizer Start
properties window and do the follow:
Check Scheduler as Possible input nodes.
Check ApplicationA as Possible output nodes.
Check ApplicationB as Possible output nodes.
Click the button to accept all changes, (Figure 5.47, "the Synchronizer Start linked").
Enter the Synchronizer End
properties window and do the follow:
Check ApplicationA as Possible input nodes and set the Condition =0.
Check ApplicationB as Possible input nodes and set the Condition =0.
Check End16 as Possible output nodes.
Click the button to accept all changes, (Figure 5.48, "the Synchronizer End linked").
Now the project looks like that in right side of (Figure 5.45, "the Parallel Applications Work Flow") and the Logic Log window does not display any error message.
Before exiting modeFRONTIERTM save the project as testParallel.prj
If we are not sure to have correctly built this project a tested copy is already available in:
.../modeFRONTIER30x/projects/testcase/parallel/testParallel.prj