• DocumentCode
    3144142
  • Title

    Detecting Race Conditions in One-Sided Communication of MPI Programs

  • Author

    Park, Mi-Young ; Chung, Sang-Hwa

  • Author_Institution
    Dept. of Comput. Eng., Pusan Nat. Univ., Busan, South Korea
  • fYear
    2009
  • fDate
    1-3 June 2009
  • Firstpage
    867
  • Lastpage
    872
  • Abstract
    While one-sided communication introduced in MPI-2 is convenient to access remote memory, it is easier for programmers to make serious errors such as race conditions. Although there are several tools for detecting race conditions in MPI programs, these tools do not provide any mechanism to detect race conditions occurring in one-sided communication. In this paper, we present a technique to detect race conditions caused by unsafe accesses of one-sided operations. Our technique creates a mirror window whenever a process creates a window memory for one-sided communication, and uses it to monitor and detect race conditions. Whenever any one-sided operation accesses a window memory, the corresponding mirror window will be marked and checked to see if the window memory is unsafely accessed by any concurrent operation. In our experiment, we evaluate our technique using two public benchmark programs, and the results show that our technique can precisely detect race conditions. Therefore our technique is effective to detect race conditions in MPI programs and helpful to develop reliable parallel programs.
  • Keywords
    message passing; multiprocessing programs; parallel programming; MPI programs; MPI-2; concurrent operation; one-sided communication; parallel programs; race conditions; remote memory; Computer errors; Condition monitoring; Debugging; Educational programs; Error correction; Information science; Mirrors; Programming profession; Read-write memory; Writing; MPI; debugging; one-sided communication; race condition;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer and Information Science, 2009. ICIS 2009. Eighth IEEE/ACIS International Conference on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-0-7695-3641-5
  • Type

    conf

  • DOI
    10.1109/ICIS.2009.170
  • Filename
    5223117