5.1.5. The Parallel Applications Pattern




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.

the Parallel Applications Work Flow

Figure 5.45. the Parallel Applications Work Flow

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:

Enter the ApplicationA properties window and do the follow:

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").

unlink the Applications

Figure 5.46. unlink the Applications

Enter the Synchronizer Start properties window and do the follow:

Enter the Synchronizer End properties window and do the follow:

the Synchronizer Start linked

Figure 5.47. the Synchronizer Start linked

the Synchronizer End linked

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


Return to modeFRONTIER Index