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
        3.4.2 Distributed Memory Multitasking


3.4.2.1 Distributed Memory Management

Storage for arrays which are global (i.e. contain full latitudinal dimensionality) in the shared-memory code is allocated off the heap in the distributed-memory code, instead of a static declaration using Fortran parameters. Reasons are:  1) to avoid wasting storage, and 2) to enable a single executable binary to be run on an arbitrary number of processors without the necessity of recompiling. Storage is allocated using system routine hpalloc on the Cray or malloc on other architectures, and accessed using Cray pointers. Gridpoint data structures are defined only for those latitude bands which reside on-processor. Likewise, spectral data structures are only defined for Fourier wavenumbers which are on-processor.

Storage for gridpoint arrays which are not global in the shared-memory code is allocated exactly the same way in the distributed-memory code. Namely, either statically or stack-based as appropriate using Fortran parameters


 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.34.2.1 $ $Date: 1999/03/25 21:38:38 $ $Author: erik $