<?xml version="1.0"?>

<config_definition>

<!-- ========================================================================== -->
<!--                                                                            -->
<!--      These variables CANNOT be modified once cesm_setup has been           -->
<!--      invoked without first invoking cesm_setup -clean.                     -->
<!--                                                                            -->
<!-- component task/thread settings                                             -->
<!-- if the user wants to change the values below after ./cesm_setup, run       -->
<!--    ./cesm_setup -clean                                                     -->
<!--    ./cesm_setup                                                            -->
<!--  to reset the pes for the run                                              -->
<!--                                                                            -->
<!--  NTASKS are the total number of MPI tasks                                  -->
<!--  NTHRDS are the number of OpenMP threads per MPI task                      -->  
<!--  ROOTPE is the global mpi task associated with the root task               -->
<!--         of that component                                                  -->     
<!--  PSTRID is the stride of MPI tasks across the global                       -->
<!--         set of pes (for now this is set to 1)                              -->
<!--  NINST is the number of instances of the component (will be spread         -->
<!--        evenly across NTASKS)                                               -->
<!--                                                                            -->
<!--  for example, for a setting with                                           -->  
<!--    NTASKS = 8                                                              -->
<!--    NTHRDS = 2                                                              -->
<!--    ROOTPE = 32                                                             -->
<!--    NINST  = 2                                                              -->
<!--  the MPI tasks would be placed starting on global pe 32                    -->
<!--  and each pe would be threaded 2-ways for this component.                  -->  
<!--  These tasks will be divided amongst both instances (4 tasks each).        -->
<!--                                                                            -->
<!--  Note: PEs that support threading never have an MPI task associated        -->
<!--    with them for performance reasons.  As a result, NTASKS and ROOTPE      -->
<!--    are relatively independent of NTHRDS and they determine                 -->
<!--    the layout of mpi processors between components.  NTHRDS is used        -->
<!--    to determine how those mpi tasks should be placed across the machine.   -->
<!--                                                                            -->
<!--  The following values should not be set by the user since they'll be       --> 
<!--  overwritten by scripts.                                                   -->
<!--    TOTALPES                                                                -->
<!--    CCSM_PCOST                                                              -->
<!--    CCSM_ESTCOST                                                            -->
<!--    PES_LEVEL                                                               -->
<!--    MAX_TASKS_PER_NODE                                                      -->
<!--    PES_PER_NODE                                                            -->
<!--    CCSM_TCOST                                                              -->
<!--    CCSM_ESTCOST                                                            -->
<!--                                                                            -->
<!--  The user can copy env_mach_pes.xml from another run, but they'll need to  -->
<!--  do the following                                                          -->
<!--    ./cesm_setup -clean                                                     -->
<!--    ./cesm_setup                                                            -->
<!--    ./CASE.build                                                            -->
<!--                                                                            -->
<!-- ========================================================================== -->




<entry id="NTASKS_ATM"   value="4087"  />    
<entry id="NTHRDS_ATM"   value="1"  />    
<entry id="ROOTPE_ATM"   value="0"  />    
<entry id="NINST_ATM"   value="1"  />    
<entry id="NINST_ATM_LAYOUT"   value="concurrent"  />    

<entry id="NTASKS_LND"   value="3636"  />    
<entry id="NTHRDS_LND"   value="1"  />    
<entry id="ROOTPE_LND"   value="0"  />    
<entry id="NINST_LND"   value="1"  />    
<entry id="NINST_LND_LAYOUT"   value="concurrent"  />    

<entry id="NTASKS_ICE"   value=" 288"  />    
<entry id="NTHRDS_ICE"   value="1"  />    
<entry id="ROOTPE_ICE"   value="3636"  />    
<entry id="NINST_ICE"   value="1"  />    
<entry id="NINST_ICE_LAYOUT"   value="concurrent"  />    

<entry id="NTASKS_OCN"   value=" 144"  />    
<entry id="NTHRDS_OCN"   value="1"  />    
<entry id="ROOTPE_OCN"   value="3924"  />    
<entry id="NINST_OCN"   value="1"  />    
<entry id="NINST_OCN_LAYOUT"   value="concurrent"  />    

<entry id="NTASKS_CPL"   value="4087"  />    
<entry id="NTHRDS_CPL"   value="1"  />    
<entry id="ROOTPE_CPL"   value="0"  />    

<entry id="NTASKS_GLC"   value="   1"  />    
<entry id="NTHRDS_GLC"   value="1"  />    
<entry id="ROOTPE_GLC"   value="0"  />    
<entry id="NINST_GLC"   value="1"  />    
<entry id="NINST_GLC_LAYOUT"   value="concurrent"  />    

<entry id="NTASKS_ROF"   value="   1"  />    
<entry id="NTHRDS_ROF"   value="1"  />    
<entry id="ROOTPE_ROF"   value="0"  />    
<entry id="NINST_ROF"   value="1"  />    
<entry id="NINST_ROF_LAYOUT"   value="concurrent"  />    

<entry id="PSTRID_ATM"   value="1"  />    
<entry id="PSTRID_LND"   value="1"  />    
<entry id="PSTRID_ICE"   value="1"  />    
<entry id="PSTRID_OCN"   value="1"  />    
<entry id="PSTRID_CPL"   value="1"  />    
<entry id="PSTRID_GLC"   value="1"  />    
<entry id="PSTRID_ROF"   value="1"  />    

<entry id="TOTALPES"   value="4087"  />    
<entry id="PES_LEVEL"   value="2rc"  />    
<entry id="MAX_TASKS_PER_NODE"   value="128"  />    
<entry id="PES_PER_NODE"   value="$MAX_TASKS_PER_NODE"  />    
<entry id="COST_PES"   value="0"  />    
<entry id="BATCH_PES"   value="0"  />    
<entry id="CCSM_PCOST"   value="-4"  />    
<entry id="CCSM_TCOST"   value="0"  />    
<entry id="CCSM_ESTCOST"   value="17"  />    

</config_definition>
