Modern Fortran: Style And Usage

E-Book Overview

Fortran is one of the oldest high-level languages and remains the premier language for writing code for science and engineering applications. Modern Fortran: Style and Usage is a book 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. Programmers working with legacy code will especially appreciate the section on updating old programs.

E-Book Content

Modern Fortran Style and Usage Fortran is one of the oldest high-level languages and remains the premier language for writing code for science and engineering applications. Modern Fortran: Style and Usage is a book 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. Programmers working with legacy code will especially appreciate the section on updating old programs. Norman S. Clerman is currently a private consultant. He was formerly the Chief Computer Scientist at Opcon Design Associates, LLC, a small company engaged in lens design. Walter Spector has been employed by Silicon Graphics International’s Professional Services organization (formerly Cray Research Inc.) since 1984. http://ebooks.cambridge.org/ebook.jsf?bid=CBO9781139027687 Cambridge Books Online © Cambridge University Press, 2012 Reproduced with permission of IBM Corporate Archives http://ebooks.cambridge.org/ebook.jsf?bid=CBO9781139027687 Cambridge Books Online © Cambridge University Press, 2012 Modern Fortran Style and Usage Norman S. Clerman Walter Spector Silicon Graphics, Inc., Fremont, California http://ebooks.cambridge.org/ebook.jsf?bid=CBO9781139027687 Cambridge Books Online © Cambridge University Press, 2012 cambridge university press Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore, S˜ao Paulo, Delhi, Tokyo, Mexico City Cambridge University Press 32 Avenue of the Americas, New York, NY 10013-2473, USA www.cambridge.org Information on this title: www.cambridge.org/9780521730525 c Norman S. Clerman and Walter Spector 2012  This publication is in copyright. Subject to statutory exception and to the provisions of relevant collective licensing agreements, no reproduction of any part may take place without the written permission of Cambridge University Press. First published 2012 Printed in the United States of America A catalog record for this publication is available from the British Librar
You might also like

High Performance Data Mining
Authors: Guo , Grossman. (eds.)    168    0


Parallel And Distributed Logic Programming
Authors: Bhattacharya A. , Konar A. , Mandal A.    156    0



Handbook Of Data Structures And Applications
Authors: Dinesh P. Mehta , Sartaj Sahni (editors)    97    0


Introduction To Information Theory And Data Compression
Authors: D.C. Hankerson , Greg A. Harris , Peter D. Johnson Jr.    121    0


3d Structure From Images — Smile 2000: Second European Workshop On 3d Structure From Multiple Images Of Large-scale Environments Dublin, Irleand, July 1–2, 2000 Revised Papers
Authors: Paul Debevec (auth.) , Marc Pollefeys , Luc Van Gool , Andrew Zisserman , Andrew Fitzgibbon (eds.)    108    0


Statistical Pattern Recognition
Authors: Andrew R. Webb    117    0


Object-oriented Programming Via Fortran 90-95
Authors: Ed Akin    113    0


Linear Programming: Introduction
Authors: Dantzig G. , Thapa M.    160    0


Algorithmic Game Theory
Authors: Noam Nisan , Tim Roughgarden , Eva Tardos , Vijay V. Vazirani    138    0