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


2. Using CCM3.6
    2.1 How to Build and Run CCM3.6.6


2.1.3 Running the Distributed Memory Implementation

This section describes how to run CCM3 under MPI on the SUN and SGI architectures (message passing is not required to run on these architectures). It is written for the user who is already knowledgeable about MPI operation and terminology. It is also assumed that MPI is built on the host machines. Information on how to configure, build, and run MPI is freely available via the web.

Running CCM3 under MPI on the SUN and SGI architectures consists of two steps: building the MPI executable and starting the model using the appropriate command line arguments for MPI. Configuring CCM3.6 for MPI requires defining the SPMD token in the header file misc.h and including the directories $MODEL_SRCDIR/spmd and either $MODEL_SRCDIR/spmd/eul or $MODEL_SRCDIR/spmd/sld in Filepath. Additionally, the directories containing the MPI library and MPI include files must be specified as environment variables in the build script.

Most MPI implementations provide a startup script called mpirun, which accepts the MPI executable as a command line argument.   Additional command line arguments allow the user to specify details such as the various machine architectures or number of processes to use for the run.  For example the command used to run the MPI version using two processes might be:

     mpirun -np 2 atm < atm.parm

assuming that atm.parm corresponds to the input namelist file and atm to the executable.

Once MPI has created the specified number of processes, model execution will begin. The collection of active tasks will then compute locally and exchange messages with each other to integrate the model. A few caveats should be kept in mind when running the MPI version of the model.
 


 
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_latest3 $ $Revision: 1.31.2.1 $ $Date: 1999/03/25 21:37:49 $ $Author: erik $