A clear and thorough description of the latest versions of Fortran by leading experts in the field. It is intended for new and existing users of the language, and for all those involved in scientific and numerical computing. It is suitable as a textbook for teaching and as a handy reference for practitioners.
A new edition of this work on FORTRAN 8X, covering language, programming and procedures. It is aimed at FORTRAN users and programming language specialists.
From its earliest days, the Fortran programming language has been designed with computing efficiency in mind. The latest standard, Fortran 2008, incorporates a host of modern features, including object-orientation, array operations, user-defined types, and provisions for parallel computing. This tutorial guide shows Fortran programmers how to apply these features in twenty-first-century style: modular, concise, object-oriented, and resource-efficient, using multiple processors. It offers practical real-world examples of interfacing to C, memory management, graphics and GUIs, and parallel computing using MPI, OpenMP, and coarrays. The author also analyzes several numerical algorithms and their implementations and illustrates the use of several open source libraries. Full source code for the examples is available on the book's website.
Fortran remains one of the principal languages used in scientific, numerical, and engineering programming, and a series of revisions to the standard versions of the language have progressively enhanced its power. The latest standard - Fortran 2003 - greatly extends the power of the language, by introducing object-oriented concepts, interoperability with C, better integration with operating systems and many other enhancements. This text details all these new features. Fortran 95/2003 Explained, significantly expands on the second edition of Fortran 90/95 Explained (also published by Oxford University Press): the opening chapters contain a complete description of the Fortran 95 language and are followed by descriptions of three formally approved extensions; six completely new chapters describe in detail the features that are new in Fortran 2003, but the distinction between the various language levels is kept clear throughout. Authored by three leading experts in the development of the language, this is a complete and authoritative description of the two languages (Fortran 95 and Fortran 2003). It is intended for new and existing users of Fortran, and for all those involved in scientific and numerical computing. It is suitable as textbook for teaching and, with its extensive index, as a handy reference for practitioners.
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. Summary 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. What's inside Fortran's place in the modern world Working with variables, arrays, and functions Module development 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
The introduction of the Fortran 90 standard is the first significant change in the Fortran language in over 20 years. this book is designed for anyone wanting to learn Fortran for the first time or or a programmer who needs to upgrade from Fortran 77 to Fortran 90. Employing a practical, problem-based approach this book provides a comprehensive introduction to the language. More experienced programmers will find it a useful update to the new standard and will benefit from the emphasis on science and engineering applications.
Fortran is one of the oldest high-level languages and remains the premier language for writing code for science and engineering applications. This book is for anyone who uses Fortran, from the novice learner to the advanced expert. It describes best practices for programmers, scientists, engineers, computer scientists and researchers who want to apply good style and incorporate rigorous usage in their own Fortran code or to establish guidelines for a team project. The presentation concentrates primarily on the characteristics of Fortran 2003, while also describing methods in Fortran 90/95 and valuable new features in Fortran 2008. The authors draw on more than a half century of experience writing production Fortran code to present clear succinct guidelines on formatting, naming, documenting, programming and packaging conventions and various programming paradigms such as parallel processing (including OpenMP, MPI and coarrays), OOP, generic programming and C language interoperability.
The success of Fortran as the predominant programming language in the field of scientific and numerical computing is due, in part, to its steady evolution. Following the publication of standards in 1966 and 1978, the committee responsible for their development, X3J3, worked in conjunction with an ISO committee to develop a standard suitable for use in the 1990's and beyond. This standard, ISO Fortran 90, contained new features for large-scale computing nd data abstraction, but still retained all the old familiar features. Fortran 90/95 Explained is a thorough examination of Fortran in 1995. It represents a complete revision of the original 1990 text Fortran 90 Explained, in particular a more detailed explanation of many features, more examples, and new appendices. One completely new chapter discusses Fortran 95, a revision of the ISO Fortran 90 standard based on the interpretations that have been requested following its implementation and use. In addition, new features to keep ISO Fortran aligned with High Performance Fortran have been added, along with a number of minor improvements. All of these are fully described for programmers wanting to update their skills.
Introducing Fortran 95 contains: - Lots of clear and simple examples highlighting the language features - Details of a variety of internet based sources which will prove invaluable for those seeking further information and support - Key features of the latest version of Fortran, including ISO Technical Reports TR 15580 and TR 15581 This comprehensive introduction will be essential to the complete beginner who wants to learn the fundamentals of programming using a modern, powerful, expressive and safe language, and to those wanting to update their programming skills by making the move from earlier versions of Fortran. Ian Chivers and Jane Sleightholme are the joint owners of comp-fortran-90. Both authors have been involved in teaching and supporting Fortran and related areas for over 20 years.
A comprehensive introduction which will be essential to the complete beginner who wants to learn the fundamentals of programming using a modern, powerful and expressive language; as well as those wanting to update their programming skills by making the move from earlier versions of Fortran.