Scientific Programming and Computer Architecture

Scientific Programming and Computer Architecture

About the Book

A variety of programming models relevant to scientists explained, with an emphasis on how programming constructs map to parts of the computer.

What makes computer programs fast or slow? To answer this question, we have to get behind the abstractions of programming languages and look at how a computer really works. This book examines and explains a variety of scientific programming models (programming models relevant to scientists) with an emphasis on how programming constructs map to different parts of the computer's architecture. Two themes emerge: program speed and program modularity. Throughout this book, the premise is to "get under the hood," and the discussion is tied to specific programs.
 
The book digs into linkers, compilers, operating systems, and computer architecture to understand how the different parts of the computer interact with programs. It begins with a review of C/C++ and explanations of how libraries, linkers, and Makefiles work. Programming models covered include Pthreads, OpenMP, MPI, TCP/IP, and CUDA.The emphasis on how computers work leads the reader into computer architecture and occasionally into the operating system kernel. The operating system studied is Linux, the preferred platform for scientific computing. Linux is also open source, which allows users to peer into its inner workings. A brief appendix provides a useful table of machines used to time programs. The book's website (https://github.com/divakarvi/bk-spca) has all the programs described in the book as well as a link to the html text.

Read more
Close

Scientific and Engineering Computation Series

Programming Your GPU with OpenMP
High-Performance Big Data Computing
The OpenMP Common Core
Using OpenMP-The Next Step
Cloud Computing for Science and Engineering
Scientific Programming and Computer Architecture
Programming Models for Parallel Computing
Using MPI, third edition
Using Advanced MPI
Quantum Computing
View more

About the Author

Divakar Viswanath
Decorative Carat

By clicking submit, I acknowledge that I have read and agree to Penguin Random House's Privacy Policy and Terms of Use and understand that Penguin Random House collects certain categories of personal information for the purposes listed in that policy, discloses, sells, or shares certain personal information and retains personal information in accordance with the policy. You can opt-out of the sale or sharing of personal information anytime.

Random House Publishing Group