Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Replace domain files, configure a test
    ~/ACME/cime/scripts/create_newcase -case $CASE -res conusx4v1_conusx4v1 -mach skybridge -compiler intel -compset FC5AV1C-04 -project NNN
    Change COLD START to ON in env_run.xml (can be verified in run folder in lnd_in that finidat='', that is, it is empty). Run for, say, 5 days.
  2. This will produce a restart file $CASE.clm2.r.0001-01-06-00000.nc . Copy it to some DIR because it will be modified by an interpolating routine.
  3. Change to DIR.
  4. Build interpinic from ACME/components/clm/tools/clm4_5 . Older versions of the interpolation do not have dimension 'levgrdn', so, a newer build is required. Before building, set variables as below. I am not sure all of these options are crucial.

    export INC_NETCDF=${NETCDF_PATH}/include
    export LIB_NETCDF=$NETCDF_PATH/lib
    export USER_FC=ifort
    export SMP=TRUE
    export OMP_NUM_THREADS=8
    gmake OPT=TRUE SMP=TRUE

    Now there is a problem with dependencies in source file directory, because one file is a C file. Run make once, disable making dependencies in makefile, remove line with she_isnan.o from dependencies file. Then make again except now the line to make executable will carry the same shc_isnan.o . Copypaste the command line for the executable, remove shc_isnan.o from it and execute. 

    If trying to run the executable from, say, a new window, set OMP_NUM_THREADS=8 again.

  5. Run the interpinic in DIR by 

    ACME/components/clm/tools/clm4_5/interpinic/interpinic -i /projects/ccsm/inputdata/lnd/clm2/initdata_map/clmi.ICRUCLM45.conusx4v1.74e105b.clm2.r.0021-01-01-00000.nc -o $CASE.clm2.r.0001-01-06-00000.nc

    where the '-i' file is the one that is used by the compset&resolution when the case is configured as is (not a cold start run) and can be found in lnd_in namelist, finidat variable. As it says in Using interpinic to interpolate initial conditions to different resolutions

    -i = Input filename to interpolate from
    -o = Output interpolated file, and starting template file
  6. Now we try to run with new land IC conditions: Set the case as before by running create_newcase, run cesm_setup, open user_nl_clm and insert 
    finidat = 'DIR/$CASE.clm2.r.0001-01-06-00000.nc' .
  7. Run $CASE.build, verify that finidat is correctly set in lnd_in .
  8. This should be it.

...