Argonne National Laboratory

Implementing MPI on Windows: Comparison with Common Approaches on Unix

TitleImplementing MPI on Windows: Comparison with Common Approaches on Unix
Publication TypeConference Paper
Year of Publication2010
AuthorsKrishna, J, Balaji, P, Lusk, EL, Thakur, R, Tiller, F
Conference Name17th EuroMPI Conference, Lecture Notes in Computer Science, Springer
Date Published08/2010
Conference LocationStuttgart, Germany, 2010

Commercial HPC applications are often run on clusters that use the Microsoft Windows operating system and need an MPI implementation that runs efficiently in the Windows environment. The MPI developer community, however, is more familiar with the issues involved in implementing MPI in a Unix environment. In this paper, we discuss some of the di erences in implementing MPI on Windows and Unix, particularly with respect to issues such as asynchronous progress, process management, shared-memory access, and threads. We describe how we implement MPICH2 on Windows and exploit these Windows-specifi c features while still maintaining large parts of the code common with the Unix version. We also present performance results comparing the performance of MPICH2 on Unix and Windows on the same hardware. For zero-byte MPI messages, we measured excellent shared-memory latencies of 240 and 275 nanoseconds on Unix and Windows, respectively.