Development of the method of comparative debugging of DVM-programs

Authors

A.A. Ermichev, V.A. Krukov

Annotation

Parallel program debugging is a time-consuming and non-trivial task. To automate this process, the DVM system provides a comparative debugging mechanism that allows to detect the differences between the intermediate results of the parallel and serial execution, previously saved as files with traces. But when debugging real programs, the size of these files can significantly exceed the capabilities of the file system. For such cases, another way of execution of the DVMH program. Comparative debugging in the DVM system is implemented by tracing the following events when the program is executed: reading and modifying  of variables, loop iterations, etc. The intermediate results obtained during parallel execution are compared with the reference ones, which are usually  the results of serial execution, previously saved as files with traces. But when debugging real programs, the size of these files can significantly exceed the capabilities of the file system. For such cases, another way of comparative debugging  organization is required – simultaneous start of serial and parallel execution of the program and comparison of their intermediate results “on the fly”. This article describes  the principles of  this debugging mode implementation in a DVM system.

The work was funded by the Russian Foundation for basic research,  projects 16-07-01067 and 17-01-00820.

 

Key words

Parallel programming, automation of parallel programming, debugging of parallel programs.

Language

Russian

Reference

A.A. Ermichev, V.A. Krukov. Development of the method of comparative debugging of DVM-programs // Proceedings of XIX all_Russian scientific conference "Scientific service on the Internet (September 18th - 23th 2017, Novorossiysk), Moscow: Keldysh Institute of Applied Mathematics RAS, 2017, P. 150-156