1 Introducing Fortran
This chapter covers
- What is Fortran and why learn it?
- Fortran’s strengths and weaknesses
- Thinking in parallel
- Building a parallel simulation app from scratch
This is a book about Fortran, one of the first high-level programming languages in history. It will teach you the language by guiding you step-by-step through the development of a fully featured, parallel physics simulation app. Notice the emphasis on parallel. Parallel programming allows you to break your problem down into pieces and let multiple processors each work on only part of the problem, thus reaching the solution in less time. By the end, you’ll be able to recognize problems that can be parallelized, and use modern Fortran techniques to solve them.