Title :
A new parallel environment for interactive simulations implementing safe multithreading with MPI
Author :
Rodrigues, Eduardo Rocha ; Preto, Airam Jonatas ; Stephany, Stephan
Author_Institution :
Lab. for Comput. & Appl. Math., Brazilian Space Res. Inst., Sao Paulo, Brazil
Abstract :
This work presents a new parallel environment for interactive simulations. This environment integrates a MPI-based parallel simulation engine, a visualization module, and a user interface that supports modification of simulation parameters and visualization at runtime. This requires multiple threads, one to execute the simulation or the visualization, and other to receive user input. Since many MPI implementations are not thread-safe, it is proposed a new parallel extension of the Python environment that uses UDP sockets in addition to the calls to the MPI library functions. This approach preserves interactivity, which is required to allow researchers to modify simulation parameters and to visualize results at runtime. The ADKS simulator was chosen as a case study. It is a sequential interactive software for molecular dynamics simulations used in the study of defects in solid materials. The simulation engine was parallelized using non-blocking communication and speedups very close to linear were obtained in the test cases. The proposed approach can be extended to be employed in high performance distributed computing.
Keywords :
application program interfaces; data visualisation; digital simulation; interactive systems; message passing; multi-threading; user interfaces; ADKS simulator; MPI library function; MPI-based parallel simulation; Python environment; UDP socket; high performance distributed computing; interactive simulation; molecular dynamics simulation; multithreading; nonblocking communication; user interface; visualization module; Computational modeling; Engines; Multithreading; Runtime environment; Sockets; Software libraries; Solid modeling; User interfaces; Visualization; Yarn;
Conference_Titel :
Computer Architecture and High Performance Computing, 2005. SBAC-PAD 2005. 17th International Symposium on
Print_ISBN :
0-7695-2446-X
DOI :
10.1109/CAHPC.2005.7