Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
column

Error handling in Fortran 2003

Published: 24 July 2012 Publication History

Abstract

Although the Fortran programming language is evolving steadily, it still lacks a framework for error handling-- not to be confused with floating point exceptions. Therefore, the commonly used techniques for handling errors did not change much since the early days and do not benefit from the new features of Fortran 2003. After discussing some historical approaches, a Fortran 2003 framework for error handling is presented. This framework also proved to be valuable in the context of unit testing and the design-by-contract (DBC) paradigm.

References

[1]
E. Anderson, Z. Bai, C. Bischof, S. Blackford, J. Demmel, J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, and D. Sorensen. LAPACK Users' Guide. Society for Industrial and Applied Mathematics, Philadelphia, PA, third edition, 1999. ISBN 0-89871-447-8 (paperback).
[2]
J. Burkardt. Xerror error message handler. URL http://people.sc.fsu.edu/~jburkardt/f_src/xerror/xerror.html.
[3]
R. Cools and A. Haegemans. Algorithm 824: CUBPACK: a package for automatic cubature; framework description. ACM Trans. Math. Softw., 29(3):287--296, 2003. ISSN 0098-3500.
[4]
J. J. Dongarra, C. B. Moler, J. R. Bunch, and G. Stewart. LINPACK Users' Guide. Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 1979. ISBN 0-89871-172-X (paperback).
[5]
B. S. Garbow, J. M. Boyle, J. J. Dongarra, and C. B. Moler. Matrix Eigensystem Routines -- EISPACK Guide Extension, volume 51 of Lecture Notes in Computer Science, Editors: G. Goos and J. Hartmanis. Springer-Verlag, Berlin, Germany / Heidelberg, Germany / London, UK / etc., 1977. ISBN 0-387-08254-9, 3-540-08254-9.
[6]
A. Geist, A. Beguelin, J. Dongarra, W. Jiang, R. Manchek, and V. Sunderam. PVM: Parallel virtual machine: a users' guide and tutorial for networked parallel computing. MIT Press, Cambridge, MA, USA, 1994. ISBN 0262571080.
[7]
ISO/IEC JTC1/SC22. Information technology Programming languages Fortran Part 1: Base Language. Technical report, ANSI, October 2003.
[8]
R. E. Jones and D. K. Kahaner. XERROR, the SLATEC error-handling package. Software: Practice and Experience, 13(3):251--257, 1983. ISSN 1097-024X.
[9]
Message Passing Interface Forum. MPI: A Message Passing Interface Standard Version 2.2, September 2009.
[10]
B. Meyer. Object-Oriented Software Construction. Prentice Hall Professional Technical Reference, 2 edition, 1997.
[11]
B. T. Smith, J. M. Boyle, J. J. Dongarra, B. S. Garbow, Y. Ikebe, V. C. Klema, and C. B. Moler. Matrix Eigensystem Routines -- EISPACK Guide, volume 6 of Lecture Notes in Computer Science, Editors: G. Goos and J. Hartmanis. Springer-Verlag, Berlin, Germany / Heidelberg, Germany / London, UK / etc., 1976. ISBN 0-387-06710-8.
[12]
The Numerical Algorithms Group. The NAG Fortran 90 Library (fl90) Manual. Oxford, United Kingdom, 4 edition, 2000.
[13]
The Numerical Algorithms Group. The NAG Fortran Library Manual. Oxford, United Kingdom, 22 edition, 2009.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Fortran Forum
ACM SIGPLAN Fortran Forum  Volume 31, Issue 2
August 2012
33 pages
ISSN:1061-7264
EISSN:1931-1311
DOI:10.1145/2338786
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 July 2012
Published in SIGPLAN-FORTRAN Volume 31, Issue 2

Check for updates

Qualifiers

  • Column

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 320
    Total Downloads
  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 21 Sep 2024

Other Metrics

Citations

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media