Message Passing Interface (MPI) is a standardized library specification designed for message-passing parallel programming on large-scale distributed systems. A number of MPI libraries have been implemented to allow users to develop portable programs using the scientific programming languages, Fortran, C and C++. Ch is an embeddable C/C++ interpreter that provides an interpretive environment for C/C++ based scripts and programs. Combining Ch with any MPI C/C++ library provides the functionality for rapid development of MPI C/C++ programs without compilation. In this article, the method of interfacing Ch scripts with MPI C implementations is introduced by using the MPICH2 C library as an example. The MPICH2-based Ch MPI package provides users with the ability to interpretively run MPI C program based on the MPICH2 C library. Running MPI programs through the MPICH2-based Ch MPI package across heterogeneous platforms consisting of Linux and Windows machines is illustrated. Comparisons for the bandwidth, latency, and parallel computation speedup between C MPI, Ch MPI, and MPI for Python in an Ethernet-based environment comprising identical Linux machines are presented. A Web-based example is given to demonstrate the use of Ch and MPICH2 in C based CGI scripting to facilitate the development of Web-based applications for parallel computing.
Skip Nav Destination
ASME 2008 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference
August 3–6, 2008
Brooklyn, New York, USA
Conference Sponsors:
- Design Engineering Division and Computers in Engineering Division
ISBN:
978-0-7918-4327-7
PROCEEDINGS PAPER
Interpretive MPI for Parallel Computing Available to Purchase
Yu-Cheng Chou,
Yu-Cheng Chou
University of California - Davis, Davis, CA
Search for other works by this author on:
Harry H. Cheng
Harry H. Cheng
University of California - Davis, Davis, CA
Search for other works by this author on:
Yu-Cheng Chou
University of California - Davis, Davis, CA
Harry H. Cheng
University of California - Davis, Davis, CA
Paper No:
DETC2008-49996, pp. 1163-1176; 14 pages
Published Online:
July 13, 2009
Citation
Chou, Y, & Cheng, HH. "Interpretive MPI for Parallel Computing." Proceedings of the ASME 2008 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference. Volume 3: 28th Computers and Information in Engineering Conference, Parts A and B. Brooklyn, New York, USA. August 3–6, 2008. pp. 1163-1176. ASME. https://doi.org/10.1115/DETC2008-49996
Download citation file:
7
Views
Related Proceedings Papers
Related Articles
Extending C and FORTRAN for Design Automation
J. Mech. Des (September,1995)
Real-Time Computing in Open Systems for Manufacturing
J. Comput. Inf. Sci. Eng (March,2001)
Using Hands-On Physical Computing Projects to Teach Computer Programming to Biomedical Engineering Students
J Biomech Eng (August,2018)
Related Chapters
JGroovy — An Experimental of Extensible Java Compiler
International Conference on Mechanical Engineering and Technology (ICMET-London 2011)
Towards a Compiler Generated Adjoint Model of FVCOM
International Conference on Software Technology and Engineering, 3rd (ICSTE 2011)
Design of Abstract Machine for Logic Programming Language Gödel(Bulletin)
International Conference on Mechanical and Electrical Technology, 3rd, (ICMET-China 2011), Volumes 1–3