About possibility of implementation of directives of technology OpenMP for the Ada programming language
DOI:
https://doi.org/10.15587/1729-4061.2012.4136Keywords:
OpenMP technology, program code conversion.Abstract
Modern software is used in computers with several processing elements, therefore, it should be developed using the technology of parallel programming. Currently, there are several technologies for development of parallel programs. Special attention should be paid to the means that allow “to make parallel” developed consecutive program immediately by means of adding special instructions to its initial code; according to which the compilation environment will form parallel variant of the code and performed file. OpenMP technology belongs to the means of such type. Ada programming language has its own means for the development of parallel software, which allow developing a parallel program of any complexity. However, using the built-in parallelization of Ada language could complicate the process of software development and make the program text impossible for understanding and analysis. The means similar to OpenMp technology provide more convenience while paralleling algorithms. The opportunity to introduce OpenMp technology directives to Ada programming language is shown in this paper; the ways for replacement of directives by parallel language constructions are analyzed; the general consequence of actions is represented while transforming from consequent Ada program with OpenMp directives to parallel Ada program. The opportunities of implementing some OpenMP directives by means of Ada language are considered in the work. The variant of parallel directive and corresponding pattern are presented. The article includes the examples of program code.References
- OpenMP Application Program Interface Version 3.1. July 2011. [Електронний документ]. Режим доступу: http://www.openmp. org/mp-documents/OpenMP3.1.pdf. Перевірено: 18.07.2012.
- Антонов А.С. Параллельное программирование с использованием технологии OpenMP. – М.: Изд-во МГУ, 2009. – 76 с.
- Малеванный М.С. Реализация директив OpenMP для языка PascalABC. NET. Магистерская диссертация. – Ростов-на-Дону, 2011. – 52 с.
- Stpiczyński P. Ada as a language for programming clusters of SMPs. – Annales UMCS Informatica AI 1, 2003. – P.P. 73–79.
- Ada Reference Manual ISO/IEC 8652:2007(E) Ed. 3. [Електронний документ]. Режим доступу: http://www.adapower.com/rm- 95/index.html. Перевірено: 18.07.2012.
- Гавва А. «Адское» программирование. Ada-95. Компилятор GNAT. [Електронний документ]. Режим доступу: http://adaru. org/V-0.4w/index.html. Перевірено: 18.07.2012.
- ASIS-for-GNAT Reference Manual [Електронний документ]. Режим доступу: http://docs.adacore.com/asis-docs/asis_rm.html. Перевірено: 18.07.2012.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2014 Олена Григорівна Лозова, Борис Олегович Онищенко, Ігор Михайлович Сиволовський, Оксана Олександрівна Супруненко
This work is licensed under a Creative Commons Attribution 4.0 International License.
The consolidation and conditions for the transfer of copyright (identification of authorship) is carried out in the License Agreement. In particular, the authors reserve the right to the authorship of their manuscript and transfer the first publication of this work to the journal under the terms of the Creative Commons CC BY license. At the same time, they have the right to conclude on their own additional agreements concerning the non-exclusive distribution of the work in the form in which it was published by this journal, but provided that the link to the first publication of the article in this journal is preserved.
A license agreement is a document in which the author warrants that he/she owns all copyright for the work (manuscript, article, etc.).
The authors, signing the License Agreement with TECHNOLOGY CENTER PC, have all rights to the further use of their work, provided that they link to our edition in which the work was published.
According to the terms of the License Agreement, the Publisher TECHNOLOGY CENTER PC does not take away your copyrights and receives permission from the authors to use and dissemination of the publication through the world's scientific resources (own electronic resources, scientometric databases, repositories, libraries, etc.).
In the absence of a signed License Agreement or in the absence of this agreement of identifiers allowing to identify the identity of the author, the editors have no right to work with the manuscript.
It is important to remember that there is another type of agreement between authors and publishers – when copyright is transferred from the authors to the publisher. In this case, the authors lose ownership of their work and may not use it in any way.