Skip to content

How to run new regression tests

BinLi-NOAA edited this page Oct 28, 2020 · 2 revisions

The regression tests for the DATM-MOM6-CICE6 model will be moved to ufs-weather-model soon. (The scheduled time for moving regression tests to https://github.com/ufs-community/ufs-weather-model is 10/30/2020.)

How to run new regression tests before the code is merged to the develop branch of ufs-weather-model

  • $ git clone https://github.com/binli2337/ufs-weather-model DATM-MOM6-CICE6
  • $ cd DATM-MOM6-CICE6
  • $ git checkout add_new_tests
  • $ git submodule update --init --recursive
  • $ cd tests
  • $ cp rt.conf rt.conf_datm
  • Modify rt.conf_datm so that only the last 5 lines are kept.
  • $ vi rt.sh (The default account to use is nems. If you cannot use nems account to run jobs,please change the "ACCNR" parameter, e.g., ACCNR=marine-cpu
  • $ rt.sh -k -l rt.conf_datm (This command will compile the code using CMake and run all 4 test cases. After the runs are completed, the run directories are not removed.)
  • The run directories are located at /scratch1/NCEPDEV/stmp2/${USER}/FV3_RT on Hera.
  • The run directories are located at /work/noaa/stmp/${USER}/stmp/${USER}/FV3_RT on Orion.

How to run new regression tests after the code is merged to the develop branch of ufs-weather-model

  • $ git clone https://github.com/ufs-community/ufs-weather-model DATM-MOM6-CICE6
  • $ cd DATM-MOM6-CICE6
  • $ git submodule update --init --recursive
  • $ cd tests
  • $ cp rt.conf rt.conf_datm
  • Modify rt.conf_datm so that only the last 5 lines are kept.
  • $ vi rt.sh (The default account to use is nems. If you cannot use nems account to run jobs,please change the "ACCNR" parameter, e.g., ACCNR=marine-cpu
  • $ rt.sh -k -l rt.conf_datm (This command will compile the code using CMake and run all 4 test cases. After the runs are completed, the run directories are not removed.)
  • The run directories are located at /scratch1/NCEPDEV/stmp2/${USER}/FV3_RT on Hera.
  • The run directories are located at /work/noaa/stmp/${USER}/stmp/${USER}/FV3_RT on Orion.