1 / 48

mpC Workshop

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.

lilike
Download Presentation

mpC Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. mpC Workshop An integrated environment for development and execution of mpC parallel applications

  2. mpC Workshop uses client-server model. So, first we should connect to server. This icon shows that there is no connection at the moment.

  3. Choose the menu item to connect to server.

  4. 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.

  5. Eight processes running on the one-processor computer OWL Connection to OWL with Virtual Parallel Machine (VPM) mpC_default_VPM is established.

  6. Choose the menu item to change VPM settings.

  7. Push the button to create new VPM.

  8. Push the button to add computers to VPM. Enter name of the new VPM Select number of processes running on OWL.

  9. Select a computer. Push OK button.

  10. Select the number of processes running on GULL. Push to start creation of VPM.

  11. Run time system runs a standard benchmark to estimate relative performances of the computers.

  12. Push to select VPMog as current.

  13. The structure of the current VPM. og now is current VPM.

  14. Select a project to open.

  15. Push the button to see project files.

  16. 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

  17. Push the button to rebuild project.

  18. Executable is successfully created on OWL and broadcasted to GULL.

  19. Push the button to run the application.

  20. An error occurs.

  21. Choose the menu item to stop execution. Server is still busy.

  22. It is ensured that all processes of parallel program have been stopped. Server is waiting for user command.

  23. Push the button to debug application.

  24. Cursor window. Watch window.

  25. 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.

  26. Push the button “Step into” twice.

  27. Cursors joined in the current cursor. Cursor doesn’t participate in the network w. Current cursor.

  28. After two steps. Other members of the network w. Virtual processor with coordinate 0 in the network w.

  29. Current position after four steps.

  30. After step. Something wrong with value of j???

  31. The next debug session. Right mouse button clicks call debug object manager menu.

  32. Choose the menu item to watch value of j.

  33. Push to proceed.

  34. Watch is set. Debugger can recognize variable j but cannot compute its value.

  35. After four steps. The problem is with virtual processor 0. So it makes sense to check value on the virtual processor 0 only.

  36. Right mouse button clicks call menu. Choose the menu item to set presentation filter.

  37. Click to expand list. To which window filter should be applied to.

  38. Click to unselect.

  39. Push to select.

  40. We see the value on one virtual processor only.

  41. The statement caused j=0. After two steps.

  42. Another possible debug session. Choose the menu item to set watchpoint.

  43. Push to proceed. Enter the expression to be evaluated. Enter the condition.

  44. Start debug Watchpoint is set.

  45. Go to cursor. Carriage cursor is here.

  46. The execution was interrupted because value of j changed to 0 . Push to see details.

  47. The line 18 is suspicious.

  48. The mpC Workshop enriches comfort of the traditional IDE with specific features for parallel development, the most prominent of which is the parallel debugger

More Related