Extending the OpenSHMEM analyzer to perform synchronization and multi-valued analysis

Swaroop Pophale, Oscar Hernandez, Stephen Poole, Barbara M. Chapman

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

OpenSHMEM Analyzer (OSA) is a compiler-based tool that provides static analysis forOpenSHMEMprograms. It was developed with the intention of providing feedback to the users about semantics errors due to incorrect use of the OpenSHMEM API in their programs, thus making development of OpenSHMEMapplications an easier task for beginners as well as experienced programmers. In this paper we discuss the improvements to theOSA tool to perform parallel analysis to detect collective synchronization structure of a program. Synchronization is a critical aspect of all programming models and in OpenSHMEMit is the responsibility of the programmer to introduce synchronization calls to ensure the completion of communication among processing elements (PEs) to prevent use of old/incorrect data, avoid deadlocks and ensure data race free execution keeping in mind the semantics of OpenSHMEM library specification. Our analysis yields three tangible outputs: a detailed control flow graph (CFG) making all the OpenSHMEM calls used, a system dependence graph and a barrier tree. The barrier tree represents the synchronization structure of the programpresented in a simplisticmanner that enables visualization of the program's synchronization keeping in mind the concurrent nature of SPMD applications that use OpenSHMEM library calls. This provides a graphical representation of the synchronization calls in the order in which they appear at execution time and how the different PEs in OpenSHMEMmay encounter them based upon the different execution paths available in the program. Our results include the summarization of the analysis conducted within themiddle-endof a compiler and the improvementswe have done to the existing analysis to make it aware of the parallelism in the OpenSHMEM program.

Original languageEnglish
Title of host publicationOpenSHMEM and Related Technologies
Subtitle of host publicationExperiences, Implementations, and Tools - First Workshop, OpenSHMEM 2014, Proceedings
PublisherSpringer Verlag
Pages134-148
Number of pages15
ISBN (Print)9783319052144
DOIs
StatePublished - 2014
Event1st Workshop on OpenSHMEM and Related Technologies: Experiences, Implementations, and Tools, OpenSHMEM 2014 - Annapolis, MD, United States
Duration: Mar 4 2014Mar 6 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8356 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference1st Workshop on OpenSHMEM and Related Technologies: Experiences, Implementations, and Tools, OpenSHMEM 2014
Country/TerritoryUnited States
CityAnnapolis, MD
Period03/4/1403/6/14

Fingerprint

Dive into the research topics of 'Extending the OpenSHMEM analyzer to perform synchronization and multi-valued analysis'. Together they form a unique fingerprint.

Cite this