Modern Fortran teaches you to develop fast, efficient parallel applications using twenty-first-century Fortran. In this guide, you’ll dive into Fortran by creating fun apps, including a tsunami simulator and a stock price analyzer. Filled with real-world use cases, insightful illustrations, and hands-on exercises, Modern Fortran helps you see this classic language in a whole new light.
Using Fortran, early and accurate forecasts for hurricanes and other major storms have saved thousands of lives. Better designs for ships, planes, and automobiles have made travel safer, more efficient, and less expensive than ever before. Using Fortran, low-level machine learning and deep learning libraries provide incredibly easy, fast, and insightful analysis of massive data. Fortran is an amazingly powerful and flexible programming language that forms the foundation of high performance computing for research, science, and industry. And it's come a long, long way since starting life on IBM mainframes in 1956. Modern Fortran is natively parallel, so it's uniquely suited for efficiently handling problems like complex simulations, long-range predictions, and ultra-precise designs. If you're working on tasks where speed, accuracy, and efficiency matter, it's time to discover—or re-discover—Fortran..
About the technology
For over 60 years Fortran has been powering mission-critical scientific applications, and it isn't slowing down yet! Rock-solid reliability and new support for parallel programming make Fortran an essential language for next-generation high-performance computing. Simply put, the future is in parallel, and Fortran is already there.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the book
Modern Fortran teaches you to develop fast, efficient parallel applications using twenty-first-century Fortran. In this guide, you'll dive into Fortran by creating fun apps, including a tsunami simulator and a stock price analyzer. Filled with real-world use cases, insightful illustrations, and hands-on exercises, Modern Fortran helps you see this classic language in a whole new light.
Fortran's place in the modern world
Working with variables, arrays, and functions
Parallelism with coarrays, teams, and events
Interoperating Fortran with C
About the reader
For developers and computational scientists. No experience with Fortran required.
About the author
Milan Curcic is a meteorologist, oceanographer, and author of several general-purpose Fortran libraries and applications.
Table of Contents
PART 1 - GETTING STARTED WITH MODERN FORTRAN
1 Introducing Fortran
2 Getting started: Minimal working app
PART 2 - 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 3 - ADVANCED FORTRAN USE
7 Going parallel with Fortan coarrays
8 Working with abstract data using derived types
9 Generic procedures and operators for any data type
10 User-defined operators for derived types
PART 4 - THE FINAL STRETCH
11 Interoperability with C: Exposing your app to the web
12 Advanced parallelism with teams, events, and collectives