500 likes | 605 Views
mpC Workshop. An integrated environment for development and execution of mpC parallel applications. mpC Workshop uses client-server model. So, first we should connect to server. This icon shows that there is no connection at the moment. Choose the menu item to connect to server.
E N D
mpC Workshop An integrated environment for development and execution of mpC parallel applications
mpC Workshop uses client-server model. So, first we should connect to server. This icon shows that there is no connection at the moment.
Enter name of the computer to connect. Connect to the server on the chosen computer. or or Select a computer from the local network to connect. Start the server on the local computer.
Eight processes running on the one-processor computer OWL Connection to OWL with Virtual Parallel Machine (VPM) mpC_default_VPM is established.
Push the button to add computers to VPM. Enter name of the new VPM Select number of processes running on OWL.
Select a computer. Push OK button.
Select the number of processes running on GULL. Push to start creation of VPM.
Run time system runs a standard benchmark to estimate relative performances of the computers.
The structure of the current VPM. og now is current VPM.
Simple mpC program. Creates network w of 4 virtual processors i = coordinate in the network j = 1 on the virtual processors with i = 0 j = 0 on the virtual processors with i != 0 Division by j on all virtual processors
Executable is successfully created on OWL and broadcasted to GULL.
Choose the menu item to stop execution. Server is still busy.
It is ensured that all processes of parallel program have been stopped. Server is waiting for user command.
Cursor window. Watch window.
A cursor is associated with every virtual processor. It points to the current execution line of the virtual processor. Cursors pointing to the same position are joined.
Cursors joined in the current cursor. Cursor doesn’t participate in the network w. Current cursor.
After two steps. Other members of the network w. Virtual processor with coordinate 0 in the network w.
After step. Something wrong with value of j???
The next debug session. Right mouse button clicks call debug object manager menu.
Watch is set. Debugger can recognize variable j but cannot compute its value.
After four steps. The problem is with virtual processor 0. So it makes sense to check value on the virtual processor 0 only.
Right mouse button clicks call menu. Choose the menu item to set presentation filter.
Click to expand list. To which window filter should be applied to.
The statement caused j=0. After two steps.
Another possible debug session. Choose the menu item to set watchpoint.
Push to proceed. Enter the expression to be evaluated. Enter the condition.
Start debug Watchpoint is set.
Go to cursor. Carriage cursor is here.
The execution was interrupted because value of j changed to 0 . Push to see details.
The mpC Workshop enriches comfort of the traditional IDE with specific features for parallel development, the most prominent of which is the parallel debugger