HPC tutorial heading HPC tutorial heading
Last update: 10/22/2006

Plot showing contours of initial potential pressure in model. Variation on Example 4 in Examples section.

Table of contents, HPC tutorial

About this tutorial

Scientific model - The Shallow Water Equations

Numerical code


    Example 1 - shallow.f - Basic serial code.

    Example 2 - shallow2.f - Code modernized to Fortran 90 standard. Serial.

    Example 3 - shallow3.f - Code with portable timing instrumentation added. Serial.

    Example 4 - shallow4.f - Code with netCDF I/O added to facilitate data portability and later visualization. Serial.

    Example 5 - shallow5.f - Code parallelized using OpenMP threading library. Shared memory parallelization.

    Example 6 - shallow6.F - Code further parallelized using MPI message passing library. Hybrid (shared memory/distributed memory) parallelization.

    Example 7 - shallow7.F - Advanced hybrid example

Speedup data from threading

Speedup data from hybrid MPI-OpenMP

Speedup data from hybrid MPI-OpenMP, multiple tasks

Visualizing results

Where to get help


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 2006. University Corporation for Atmospheric Research (UCAR). All Rights Reserved.