Python parallel debugging comes to HPC thanks to TotalView upgrade
The OG debugger for supercomputer iron has buddied up with the data-science darling now muscling in on HPC: Python.
At the SC26 supercomputing show this week (booth #2829), Perforce Software is demonstrating how its TotalView parallel debugging tool now understands Python, easing the path for using the language on large, distributed apps, particularly those in the high-performance computing (HPC) space.
In the HPC community, "Python has grown in popularity,” said Bill Burns , Perforce vice president of software engineering, in an interview with The Register .
TotalView is a debugger specializing in picking apart parallel applications for developers.
Built in the late 1980s for military applications, TotalView today largely serves developers in high-performance computing (HPC), where large scientific applications are spread across multiple servers, running in parallel on thousands or even tens of thousands of processes. (Perforce acquired TotalView in 2019 in its purchase of the DevOps-focused Rogue Wave Software.)
To date, TotalView has supported C/C++ and Fortran. With the latest quarterly release, the tool now supports Python as well.
Debugging a thousand cores
C/C++ has long had a decent dedicated debugger in GDB , but figuring out what went wrong across multiple threads is a special kind of torture. Each thread needs to be instrumented, and all the output needs to be aggregated and filtered to just highlight the interesting stuff. Regular debuggers get overwhelmed with all this info.
“Even if you have 10,000 things going on, if you have one crash in there, TotalView can pinpoint that,” Burns said. It can look at the state of the process, the threads within that process or the GPU that process is using.
In the HPC space, computing work has traditionally been written in C/C++. And at least some HPC iron still runs Fortran .
Thanks to it being easy to learn and use, Python has gained a foothold in this community as well. The mpi4py library bridges a Python program




Comments
No comments yet. Be the first to share your thoughts.