Automated correctness analysis of the MPI-programs based on the templates of erroneous behavior defined by an user | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2014. № 1(26).

Automated correctness analysis of the MPI-programs based on the templates of erroneous behavior defined by an user

The article describes an enhancement of automated correctness control approach to debugging of the MPI-programs by possibility to define user's templates of erroneous behavior. New debugging tool is suggested, that use the MPI profiling interface for gathering information about callings of the MPI functions and carry out an analysis of presence of situations described in templates. For composing these templates new language is introduced, which composition is given in the article. Each of the templates is the text file, composed of three blocks: the block with description of processes that participate in situation; the functions that are caused by processes; the conditions on arguments of functions. For the logical grouping of functions, special signs are introduced. The templates composed by this language may be used for analysis of the different MPI-programs, and during one work session of debugging system, the amount of using templates is unlimited. Before the launching of the debugging system, an user should fulfill the configuration file with the names of the initial code files; the parameters of launching; the paths to the compiler, the profiling library, the directory with templates. After the calling of the launching utility with the configuration file as a parameter, this utility calls the preprocessor that adds some of the operators to the initial code to get an additional information about the program. Then, the compiler is calling that links the program with the profiling library, and the obtained executable file is launched on the nodes of the HPC-cluster. The "server-analyzer" is launched on a node. This server gets from the MPI-processes information about the calling of communication functions and performs analysis on correspondence to situations, described in templates. The advantage of templates is that we have the possibility to perform user's checks and make the specification of template situations, the presence of which is necessary to check in automated mode.

Download file
Counter downloads: 348

Keywords

MPI-program, template of erroneous behavior, correctness analysis, logical errors, MPI-программа, шаблон ошибочного поведения, анализ корректности, логические ошибки

Authors

NameOrganizationE-mail
Afanasiev Konstantin E.Kemerovo State University
Vlasenko Andrey Y.Kemerovo State Universityvlasenko@kemsu.ru
Всего: 2

References

Воеводин В.В., Воеводин Вл.В. Параллельные вычисления. СПб. : БХВ-Петербург, 2002. 608 c.
Krammer B., Mueller M., Resch M. MPI application development using the analysis tool MARMOT // Lecture Notes in Computer Science. Berlin : Springer, 2004. V. 3038. P. 464-471.
The MPI Standard. URL: http://www.mcs.anl.gov/research/projects/mpi/standard.html (дата обращения: 9.10.2013).
Власенко А.Ю. Модель масштабируемой системы автоматического контроля корректности параллельных программ // Вестник НГУ. 2009. Т. 7, вып. 4. С. 53-66.
Hilbrich T., Schulz M., de Supinski B.R. MUST: A Scalable Approach to Runtime Error Detection in MPI Programs // Tools for High Performance Computing. Berlin : Springer, 2009. P. 53-66.
Гергель В.П. Введение в методы параллельного программирования. Лабораторная работа 3. Отладка параллельных MPI-программ в среде Microsoft Visual Studio 2005. URL: http://www.software.unn.ac.ru/ccam/mskurs/LAB/RUS/ PPT/CCS_Lab03.pdf (дата обращения: 9.10.2
Ефимкин К.Н., Жукова О.Ф., Крюков В.А. Средства отладки MPI-программ. Анализатор корректности. URL: http://www.keldysh.ru/papers/2006/prep28/prep2006_28.html. 2006 (дата обращения: 12.10.2013).
Афанасьев К.Е., Власенко А.Ю. Семантические ошибки в параллельных программах для систем с распределенной памятью и методы их обнаружения современными средствами отладки // Вестник КемГУ. 2009. Вып. 2. С. 13-20.
 Automated correctness analysis of the MPI-programs based on the templates of erroneous behavior defined by an user | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2014. № 1(26).

Automated correctness analysis of the MPI-programs based on the templates of erroneous behavior defined by an user | Vestnik Tomskogo gosudarstvennogo universiteta. Upravlenie, vychislitelnaja tehnika i informatika – Tomsk State University Journal of Control and Computer Science. 2014. № 1(26).

Download file