<?xml version="1.0"?>

<scc oasis4_version="OASIS4_0_2">  

<!-- This scc describes a 3-day run of a 6-day coupled experiment between three
     applications, atmoa4, oceoa4, and lanoa4.  -->

   <experiment local_name="EXP1" 
               long_name="A PRISM coupled experiment"
               start_mode="not_spawn"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xsi:noNamespaceSchemaLocation="../../../../src/mod/oasis4/util/xmlfiles/scc.xsd">

      <driver>
         <nbr_procs>1</nbr_procs>
      </driver>

      <start_date>
         <date>
            <second>0.0</second>
            <minute>0</minute>
            <hour>0</hour>
            <day>01</day>
            <month>01</month>
            <year>2000</year>
         </date>
      </start_date>

      <end_date>
         <date>
            <second>0.0</second>
            <minute>0</minute>
            <hour>0</hour>
            <day>07</day>
            <month>01</month>
            <year>2000</year>
         </date>
      </end_date>
   </experiment>
   <!-- 6-day experiment starting 01/01/2000 -->

   <run>
      <start_date>
         <date>
            <second>0.0</second>
            <minute>0</minute>
            <hour>0</hour>
            <day>01</day>
            <month>01</month>
            <year>2000</year>
         </date>
      </start_date>

      <end_date>
         <date>
            <second>0.0</second>
            <minute>0</minute>
            <hour>0</hour>
            <day>04</day>
            <month>01</month>
            <year>2000</year>
         </date>
      </end_date>
   </run>
   <!-- 3-day run starting 01/01/2000 -->


   <!-- NB! With start_mode="not_spawn" the executable_name and the 
            host local_name are needed in scc.xml but not further used. -->

   <application local_name="atmoa4" 
                executable_name="atmoa4.MPI1.x" 
                redirect="true">

      <host local_name="hostXXX">
         <nbr_procs>1</nbr_procs>
      </host>
      <!-- atmoa4 runs on nbr_procs processes on machine hostXXX -->

      <component local_name="atmos">
           <rank>
               <min_value>0</min_value>
               <max_value>0</max_value>
           </rank>
           <!-- Component atmos runs on local ranks 0 to max_value -->
      </component>

   </application>

   <application local_name="oceoa4" 
                executable_name="oceoa4.MPI1.x" 
                redirect="true">

      <host local_name="hostYYY">
         <nbr_procs>1</nbr_procs>
      </host>
      <!-- oceoa4 runs on a 1 process on machine hostYYY -->

      <component local_name="ocean">
           <rank>
               <min_value>0</min_value>
           </rank>
           <!-- Component ocean runs on local rank 0 -->
      </component>

   </application>

   <application local_name="lanoa4" 
                executable_name="lanoa4.MPI1.x" 
                redirect="true">

      <host local_name="hostZZZ">
         <nbr_procs>1</nbr_procs>
      </host>
      <!-- lanoa4 runs on nbr_procs processes on machine hostZZZ -->

      <component local_name="land">
           <rank>
               <min_value>0</min_value>
               <max_value>0</max_value>
           </rank>
           <!-- Component land runs on lcoal rank 0 to rank max_value -->
      </component>

   </application>
   
</scc>

