Go to the bottom of this page. See the search engine and sub-section links.
Go to next page Go to previous page Go to top of this section Go to top page Go to table of contents

Previous Section Headers

User's Guide to NCAR CCM3.6 Search Page


3. CCM3.6 Internals


3.4 Multitasking Strategy

CCM3.6 is designed to run most efficiently on shared-memory parallel vector machines.  Details of the multitasking strategy are designed to be transparent to the user.  Multitasking on a Cray PVP machine only requires that the user specify the number of processors to use at run time (by setting the environment variable $NCPUS).

The model can also be run multitasked on distributed memory architectures that support the MPI message-passing programming paradigm. The code should run on any machine or group of machines on which MPI is supported. The message-passing code has been validated on SUN (Solaris) and SGI (IRIX) machines.  Hooks exist for T3D/E, RS6K, and HP (SPP-UX) machines. The T3D/E is no longer supported with the introduction of netCDF boundary data files.  The IBM RS-6000 is no longer supported since NCAR no longer has RS-6000 machines available for testing purposes.  The HP version is still experimental.

One design prerequisite is that identical simulations be guaranteed regardless of the number of processors utilized.  This goal is accomplished by requiring that certain summations of critical quantities always be done within a single process (shared-memory multitasking), or done redundantly by each multitasked process (distributed memory multitasking). An example is the summation of the global mass integrals performed in scan2.  Results from two runs executed with a different number of processors will be identical. When adding new code, the user should always ensure that the results from single-threaded and multitasked runs are identical. 


Sub Sections

    3.4.1 Shared-Memory Multitasking
    3.4.2 Distributed Memory Multitasking


 Go to the top of this page. See links to previous section headers.
Go to next page Go to previous page Go to top of this section Go to top page Go to table of contents

 Search for keywords in the CCM3.6 Users GuideSearch page

Questions on these pages can be sent to... erik@ucar.edu .


$Name: ccm3_6_6_latest2 $ $Revision: 1.38.2.1 $ $Date: 1999/03/25 21:38:34 $ $Author: erik $