skip to main content
10.1145/335231.335253acmconferencesArticle/Chapter ViewAbstractPublication PagesicsConference Proceedingsconference-collections
Article
Free Access

Using accurate arithmetics to improve numerical reproducibility and stability in parallel applications

Authors Info & Claims
Published:08 May 2000Publication History

ABSTRACT

Numerical reproducibility and stability of large scale scientific simulations, especially climate modeling, on distributed memory parallel computers are becoming critical issues. In particular, global summation of distributed arrays is most susceptible to rounding errors, and their propagation and accumulation cause uncertainty in final simulation results. We analyzed several accurate summation methods and found that two methods are particularly effective to improve (ensure) reproducibility and stability: Kahan's self-compensated summation and Bailey's double-double precision summation. We provide an MPI operator MPLSUMDD to work with MPI collective operations to ensure a scalable implementation on large number of processors. The final methods are particularly simple to adopt in practical codes.

References

  1. 1.D. H. Barley. A Fortran-90 Suite of Double-Double Precision Programs. See web page at http: //www.nersc.gov/~ dhb/mpdizt/mpdist.html.Google ScholarGoogle Scholar
  2. 2.D. H. Bailey. Multiprecision Translation and Execution of Fortran Programs. A CM Transactions on Mathematical Software, 19(3):288-319, September 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.R. P. Brent. A Fortran Multiple Precision Arithmetic Package. A CM Transactions on Mathematical Software, 4:57-70, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.J. Demmel, X. Li, D. Bailey, M. Martin, 3. Iskandar, and A. Kapur. A Reference Implementation for Extended and Mixed Precision BLAS. In Preparation.Google ScholarGoogle Scholar
  5. 5.C. H. Q. Ding and R. D. Ferraro. A Parallel Climate Data Assimilation Package. SIAM News, pages 1-12, November 1996.Google ScholarGoogle Scholar
  6. 6.C. H. Q. Ding and Y. He. Data Organization and I/O in an Ocean Circulation Model. In Proceedings of Supercomputing'99, November 1999. Also LBL report number LBNL-43384, May 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.C. H. Q. Ding, P. Lyster, J. Larson, J. Guo, and A. da Silva. Atmospheric Data Assimilation on Distributed Parallel Supercomputers. Lecture Notes in Computer Science, 1401:115-124. Ed. P. Sloot et al., Springer, April 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.J. Drake, I. Foster, J. Michalakes, B. Toonen, and P. Worley. Design and Performance of a Scalable Parallel Community Climate Model. Parallel Computing (PCCM2), 21:1571, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.G. Fox, M. Johnsonl G. Lyzenga, S. Otto, J. Salmon, and D. Walker. Solving Problems on Concurrent Processors. Vol 1. Prentice Hall, Englewood Cliffs, New Jersey, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.D. Goldberg. What Every Computer Scientist Should Know About Floating-Point Arithmetic. A CM Computing Surveys, March 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.A. Greenbaum. Iterative Methods for Solvong Linear Systems. Frontiers in Applied Mathematics. Vol 17. SIAM. Philadelphia, PA, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.S. M. Griflies, R. C. Pacanowski, M. Schmidt, and V. Balaji. The Explicit Free Surface Method in the GFDL Modular Ocean Model. Submitted to Monthly Weather Review, 1999.Google ScholarGoogle Scholar
  13. 13.J. J. Hack, J. M. Rosinski, D. L. Williamson, B. A. Boville, and J. E. Truesdale. Computational Design of NCAR Community Climate Model. Parallel Computing, 21:1545, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.Y. He and C. H. Q. Ding. Parallel Ocean Model Development at NERSC. See web page at http://www.nersc.gov/research/SCG/ocean.Google ScholarGoogle Scholar
  15. 15.N. J. Higham. Accuracy and Stability of Numerical Algorithms. SIAM Press, Philadelphia, PA, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.W. Kahan. Further Remarks on Reducing Truncation Errors. Comm. ACM, page 40, 1965. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.D. E. Knuth. The Art of Computer Programming. Vol 2, Chap4, Arithmetic. Addison-Wesley Press, Reading, MA, 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. 18.D. Moore. Class Notes for CAAM 420: Introduction to Computational Science. Rice University, Spring 1999. See web page at http://www.owlnet.rice.edu/~ caam420/Outline.html.Google ScholarGoogle Scholar
  19. 19.The NCAR Ocean Model User's Guide. Vet 1.4. See web page at http://www.cgd.ucar.edu/csm/models/ ocn-ncom/UserGuidel_4.html, 1998.Google ScholarGoogle Scholar
  20. 20.R. C. Pacanowsld and S. M. Griflles. MOM 3.0 Manual. GFDL Ocean Circulation Group, Geophysical Fluid Dynamics Laboratory, Princeton, N J, September 1999.Google ScholarGoogle Scholar
  21. 21.W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery. Numerical Recipes in Fortran: the Art of Scientific Computing. 2nd Edition. Cambridge University Press, Cambridge, UK, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. 22.D. M. Priest. Algorithms for Arbitrary Precision Floating Point Arithmetic. On Properties of Floating Point Arithmetics: Numerical Stability and the Cost of Accurate Computations. Ph.D. Thesis. Mathematics Dept. University of California, Berkeley, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. 23.R. D. Smith, J. K. Dukowicz, and R. C. Malone. Parallel Ocean General Circulation Modeling. Physica, D60:38, 1992. See web page at http://www.acl.lanl.gov/climate/models/pop. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. 24.Second International Workshop for Software Engineering and Code Design for Parallel Meteorological and Oceanographic Applications. Scottsdale, AZ, June 1998.Google ScholarGoogle Scholar
  25. 25.Workshop on Numerical Benchmarks for Climate/ Ocean/Weather Modeling Community. Boulder, CO, June 1999.Google ScholarGoogle Scholar

Index Terms

  1. Using accurate arithmetics to improve numerical reproducibility and stability in parallel applications

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              ICS '00: Proceedings of the 14th international conference on Supercomputing
              May 2000
              347 pages
              ISBN:1581132700
              DOI:10.1145/335231

              Copyright © 2000 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 8 May 2000

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              ICS '00 Paper Acceptance Rate33of122submissions,27%Overall Acceptance Rate629of2,180submissions,29%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader