-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for Parallel distributed MPI based programs #342
Comments
... Actively working on it. After some analysis and prototype that make me understand how the project work I found its simplicity/multi-session/event-driven design very ideal to add such support. Was long searching for a base like that to do an opensource parallel debugger. |
Ok I have it in preview in my fork experiment. Still have to create tests (jsx mainly) and docs. I have to check how tests suite is done in python and in particular on jsx (most change are there) Graphically has been done two changes: one is the processor buttons, to switch between processes and check the status by color ... running paused disconnected The other is the source code view. Because we have multiple processes there could be divergences. The more marked line is the position of the process on focus the light marked line is the position of the other processors. The MPI gdbgui version work creating multiple gdb session and connecting to each process (in one click not manually). The typical commands continue breakpoint etc. are sent to all sessions, while variables stacktrace right view are issued for each process when we change the process on focus. An additional option in LoadBinary has been introduced that is Connect to mpi-gdbserver .................. I will add more info and instructions soon |
For who want to try:
Note: if you find problem with yarn build complaining about webpack ... TypeError: Cannot read property 'properties' of undefined
|
This is really interesting, nice work. I've never heard of MPI. I just looked it up and it seems like a really interesting domain that I would be really happy if gdbgui could server. I will add some comments on your pull request. |
Is your feature request related to a problem? Please describe.
Dear cs01 thanks for gdbgui it is a very interesting project. Parallel distribute MPI (Message Passing Intergace) debugger like Allinea DDT or TotalView are very expensive debuggers. DDT, despite being the best. does not support Mac OSX. I am at the moment exploring the possibility to extend gdbgui to work with MPI based programs. The approach is to use multiple remote gdb-servers with 1 GUI controlling by muliple gdb sessions connected to the servers. Here is my fork https://github.com/incardon/gdbgui. My idea is to arrive to a version that I can integrate in our parallel simulation environment to debug parallel distributed programs
Describe the solution you'd like
Now is early. But I would like to check if there would be interest in integrating such feature at some point once is finished. And in particular, to discuss the approach I am following and introducing regression tests.
The text was updated successfully, but these errors were encountered: