MPI was originally developed for C, C++ and Fortran. In practice these programming platforms are still the most common. Based on the discussion in the last chapter, we briefly sketch how to implement message passing in C/C++. Actually, we mainly concentrate on C, since on a basic level, message passing relies on elementary C concepts such as pointers and arrays.
This is a preview of subscription content, access via your institution.
Unable to display preview. Download preview PDF.
Rights and permissions
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Smith, E. (2020). Parallel Computing in C/C++. In: Introduction to the Tools of Scientific Computing. Texts in Computational Science and Engineering, vol 25. Springer, Cham. https://doi.org/10.1007/978-3-030-60808-8_12
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-60807-1
Online ISBN: 978-3-030-60808-8
eBook Packages: Computer ScienceComputer Science (R0)