Error trapping for multiprocessor systems:
A primer
last update:
04/11/2003
This primer has two parts. The first part explains the fundamental concepts of error handling in a brief tutorial format. It introduces:
- Error trapping
- The IEEE standards for floating-point arithmetic
- Types of execution errors
- How to detect Floating-Point Exceptions (FPEs)
- Causes of FPEs
- How to use the SIGTRAP handlers
The second part is an example script for exploring these concepts that you can run and modify to gain experience with error trapping.
This primer is designed to be the first document that users new to error trapping should read and use.
The next level of introduction to this topic is provided in the IBM SP-cluster systems reference manual. Trapping Floating-point Exceptions (FPEs) with IBM's subroutine interface describes:
- How to locate FPEs in your code
- How to trap errors
- Six floating-point error types
- Three interfaces for trapping FPEs
It concludes by providing example code and instructions for trapping FPEs with the subroutine fhandler_.
Next page | Table of contents - TotalView primer
If you have questions about this document, please contact SCD Customer Support. You can also reach us by telephone 24 hours a day, seven days a week at 303-497-1278. Additional contact methods: consult1@ucar.edu and during business hours in NCAR Mesa Lab Suite 39.
© Copyright 2003. University Corporation for Atmospheric Research (UCAR). All Rights Reserved.
Address of this page: http://www.scd.ucar.edu/docs/trap.error/overview.html