Modern Fortran: Building Efficient Parallel Applications

I’m working with Manning Publications on making a book on parallel Fortran programming. It guides the reader through the development of a massively parallel tsunami simulator, while promoting a modern Fortran style and syntax. We also tackle a few other real-world applications such as building a parallel neural network, stock price time series analysis, and others. If you’re just getting started with Fortran programming, or you’re interested in making your Fortran more clear, expressive, and functional, this is a book for you.

Table of contents | Source code | Make it better

Table of Contents

Part I: Getting Started with Modern Fortran

1 Introducing Fortran ✅

2 Getting Started: Minimal Working App ✅

Part II: Core elements of Fortran

3 Writing Reusable Code with Functions and Subroutines ✅

4 Organizing your Fortran code using Modules ✅

5 Analyzing Time Series Data with Arrays

6 Reading, Writing, and Formatting your data ✅

Part III: Advanced Fortran Use

7 Going Parallel with Fortran Coarrays ✅

8 Working with Abstract Data using Derived Types ✅

9 Generic Procedures and Operators for any Data Type ✅

10 Overloading Operators for Derived Types ✅

Part IV: The Final Stretch

11 Interoperability with C: Exposing your App to the Web 🚀

12 Advanced Parallelism with Teams and Events ✍


A: Setting up the Fortran Development Environment ✅

B: From Calculus to Code ✅

C: Glossary

Source code

You can get all source code developed for this book on its Github page.

Make it better

Modern Fortran is a work in progress. Writing a great book is hard, so if you have any ideas or suggestions about how to improve it, please let me know. Your feedback counts! You can email me directly, or post on Manning’s forum designed for getting feedback from readers.