Need help with parallel debugging

Skip to first unread message

Kiny Wan

Jul 3, 2020, 11:01:47 AM7/3/20
to PyFR Mailing List
Dear all,
        Recently, I have many questions about PyFR since I try to read and understand the context of codes. The structure and idea of PyFR is attractive, but difficulities remain exist. I successfully achieve serial debugging with pycharm in ubuntu16, but unfortunately I am failed to debug the code with MPI. The debugging of cuda and opencl might be more difficult. I hope you can provide some experiences in detail about how to parallel debugging during studying or developing the PyFR? To my best knowledge, the available tools for C++/fortran parallel debugging is totalview and ddt. 
        In my opinion, PyFR has great potential and can be combined with artificial intelligence and future quantum computing. So I hope to learn from and later contribute to this open source. 


Freddie Witherden

Jul 3, 2020, 11:26:08 AM7/3/20
to Kiny Wan, PyFR Mailing List
PyFR was developed entirely (both in serial and parallel) without the use of any debuggers.  In general it is much easier to get it right the first time than faff around with a debugger; this is especially true when one is dealing with GPUs, multiple threads, or anything to do with MPI.

Regards, Freddie.

On 3 Jul 2020, at 10:01, Kiny Wan <> wrote:

You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web, visit

Kiny Wan

Jul 3, 2020, 8:48:27 PM7/3/20
to PyFR Mailing List
Thank you, Freddie.  I will study the code structure with serial debugging and follow your way to learn from the rest. 
Reply all
Reply to author
0 new messages