Running ADAS: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
Line 3: Line 3:
First, we choose a DAS run to simulate. For a list of runs
First, we choose a DAS run to simulate. For a list of runs
  $ ls ~dao_ops  
  $ ls ~dao_ops  
on NCCS discover. As an example, we choose the run <tt>e572p5_fp</tt>
on NCCS discover. As an example, we choose the run <tt>d591_fpit</tt>


Look for ATAG in file <tt>~dao_ops/e572p5_fp/run/FVDAS_Run_Config</tt>
Look for ATAG in file <tt>~dao_ops/e591_fp/run/FVDAS_Run_Config</tt>
  $ grep ATAG ~dao_ops/e572p5_fp/run/FVDAS_Run_Config
  $ grep ATAG ~dao_ops/d591_fpit/run/FVDAS_Run_Config
   
   
     setenv ATAG    GEOSadas-5_7_2_p5_m1
     setenv ATAG    GEOSadas-5_9_1_p4
    setenv ATAG    $GTAG
     setenv FVARCH  /archive/u/gmao_ops/GEOS-5.9.1/${ATAG}/ #include trailing colon
     setenv FVARCH  /archive/u/gmao_ops/GEOS-5.7.2/${ATAG}/ #include trailing colon


This gives us the tag and location of the restart files.
This gives us the tag and location of the restart files.


=====Older build=====
=====Older build=====
For an older build (as in the present case), it is best to rebuild the model.
For an older build, it is best to checkout the model tag (given by ATAG) and rebuild the model.
$ mkdir -p $NOBACKUP/G572p5m1
$ cd $NOBACKUP/G572p5m1
$ cvs co -r GEOSadas-5_7_2_p5_m1 GEOSadas  # [checkout model]
$ cd GEOSadas/src                          # [source directory]
$ cvs up -r Ganymed-2_0_UNSTABLE g5_modules # [update to its latest version]
$ source g5_modules                        # [setup environment]
$ ./parallel_build.csh                      # [build]
$ cd ../Linux/bin                          # [move to bin directory]


=====Newer build=====
=====Newer build=====
Move to the bin directory (of the existing build) to setup experiment.
Move to the bin directory (of the existing build) to setup experiment.
  $ cd ~dao_ops/GEOSadas-5_7_2_p5_m1/GEOSadas/Linux/bin
  $ cd ~dao_ops/GEOSadas-5_9_1_p4/GEOSadas/Linux/bin


==Setup experiment==
==Setup experiment==