Navigation

  • index
  • next |
  • previous |
  • AMS 209, Fall 2017 »
  • Lecture Notes »

Logo

Previous topic

Accessing the Network Resources

Next topic

Basics of Fortran

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Chapter 2. FortranΒΆ

  • Basics of Fortran
    • History
    • Fortran 77
    • Fortran 90/95
    • Why Fortran?
    • Compilers
    • File extensions
    • Compiling, linking, and running a Fortran code
    • Sample codes
    • Intrinsic functions
    • Default 8-byte real numbers
    • Fortran Arrays
    • Loops
    • if-then-else
    • Booleans
    • Line Continuation
  • Fortran Flags
    • Double precision flags
    • Output flags
    • Warning flags
    • Debugging flags
    • Optimization flags
    • Flags with command line compilations vs. Makefile
    • Practical gfortran flags for development and production run
    • Further reading
  • Fortran subroutines and functions
    • Functions
    • Modifying arguments
    • The use of intent
    • Subroutines
    • Subroutine in a module
  • Fortran array storage
    • Passing rank 1 arrays to subroutines, Fortran 77 style
    • Fortran arrays of higher rank
    • Why do we care how arrays are stored?
  • Fortran modules
    • Some reasons to use modules
    • Compiling modules
    • Circles module example
    • Module variables
  • Makefiles
    • Makefile Rules
    • Makeifle examples
  • Fortran Input / Output
    • Formats vs. unformatted
    • Writing to a file
    • Reading input
  • Fortran debugging
    • Print statements
    • Compiling with various gfortran flags
    • The gdb debugger
    • Valgrind
    • Totalview
  • External Libraries for Scientific Computing
    • Advantages of using external libraries
    • About BLAS and LAPACK
    • Installing BLAS and LAPACK
  • Fortran Example – Newton’s method to find a root

Navigation

  • index
  • next |
  • previous |
  • AMS 209, Fall 2017 »
  • Lecture Notes »
© Copyright 2017, Dongwook Lee. Last updated on Mar 21, 2018. Created using Sphinx 1.3.1.