Skip to main content

Applying Automatic Differentiation to the Community Land Model

  • Conference paper
  • First Online:
Recent Advances in Algorithmic Differentiation

Abstract

Earth system models rely on past observations and knowledge to simulate future climate states. Because of the inherent complexity, a substantial uncertainty exists in model-based predictions. Evaluation and improvement of model codes are one of the priorities of climate science research. Automatic Differentiation enables analysis of sensitivities of predicted outcomes to input parameters by calculating derivatives of modeled functions. The resulting sensitivity knowledge can lead to improved parameter calibration. We present our experiences in applying OpenAD to the Fortran-based crop model code in the Community Land Model (CLM). We identify several issues that need to be addressed in future developments of tangent-linear and adjoint versions of the CLM.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Community Portal for Automatic Differentiation. http://www.autodiff.org

  2. Community Earth System Model. http://www.cesm.ucar.edu

  3. Drewniak, B., Song, J., Prell, J., Kotamarthi, V.R., Jacob, R.: Modeling the impacts of agricultural land use and management on u.s. carbon budgets. In prep.

    Google Scholar 

  4. Earth System Modeling Framework. http://www.earthsystemmodeling.org

  5. Griewank, A., Walther, A.: Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation, 2nd edn. No. 105 in Other Titles in Applied Mathematics. SIAM, Philadelphia, PA (2008). URL http://www.ec-securehost.com/SIAM/OT105.html

  6. Hovland, P.D., Naumann, U., Norris, B.: An XML-based platform for semantic transformation of numerical programs. In: M. Hamza (ed.) Software Engineering and Applications, pp. 530–538. ACTA Press, Anaheim, CA (2002)

    Google Scholar 

  7. Martins, J.R.R.A., Sturdza, P., Alonso, J.J.: The complex-step derivative approximation. ACM Transactions on Mathematical Software 29(3), 245–262 (2003). DOI http://doi.acm.org/10.1145/838250.838251

    Google Scholar 

  8. Model Coupling Toolkit. http://www.mcs.anl.gov/mct

  9. Open64 compiler. http://www.open64.net

  10. OpenAnalysis Web Page. http://www.mcs.anl.gov/research/projects/openanalysis

  11. Rall, L.B.: Perspectives on automatic differentiation: Past, present, and future? In: H.M. Bücker, G. Corliss, P. Hovland, U. Naumann, B. Norris (eds.) Automatic Differentiation: Applications, Theory, and Implementations, Lecture Notes in Computational Science and Engineering, vol. 50, pp. 1–14. Springer, New York, NY (2005). DOI 10.1007/3-540-28438-9{ _}1

    Google Scholar 

  12. Rayner, P., Koffi, E., Scholze, M., Kaminski, T., Dufresne, J.L.: Constraining predictions of the carbon cycle using data. Philosophical Transactions of the Royal Society A 369(1943), 1955–1966 (2011)

    Google Scholar 

  13. ROSE compiler. http://rosecompiler.org

  14. Schwinger, J., Kollet, S., Hoppe, C., Elbern, H.: Sensitivity of latent heat fluxes to initial values and parameters of a land-surface model. Vadose Zone Journal 9(4), 984–1001 (2010)

    Google Scholar 

  15. Utke, J., Naumann, U., Fagan, M., Tallent, N., Strout, M., Heimbach, P., Hill, C., Wunsch, C.: OpenAD/F: A modular, open-source tool for automatic differentiation of Fortran codes. ACM Transactions on Mathematical Software 34(4), 18:1–18:36 (2008). DOI 10.1145/1377596. 1377598

    Google Scholar 

Download references

Acknowledgements

This work was supported by the U.S. Dept. of Energy Office of Biological and Environmental Research under the project of Climate Science for Sustainable Energy Future (CSSEF) and by the U.S. Dept. of Energy Office of Science under Contract No. DE-AC02-06CH11357. We thank our collaborators Rao Kotamarthi (ANL), Peter Thornton (ORNL), and our CSSEF colleagues for helpful discussions about the CLM.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Paul Hovland .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mametjanov, A. et al. (2012). Applying Automatic Differentiation to the Community Land Model. In: Forth, S., Hovland, P., Phipps, E., Utke, J., Walther, A. (eds) Recent Advances in Algorithmic Differentiation. Lecture Notes in Computational Science and Engineering, vol 87. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-30023-3_5

Download citation

Publish with us

Policies and ethics