From 9f6e8ba253e142cb6d07847cb3acee353c63dbdc Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Thu, 10 Sep 2020 14:13:57 -0500 Subject: [PATCH 1/9] CICE6 adoption --- sorc/build_fv3_coupled.sh | 2 +- sorc/checkout.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sorc/build_fv3_coupled.sh b/sorc/build_fv3_coupled.sh index d33992c74c..5aee3e911e 100755 --- a/sorc/build_fv3_coupled.sh +++ b/sorc/build_fv3_coupled.sh @@ -22,6 +22,6 @@ if [ $target = orion ]; then target=orion.intel ; fi cd fv3_coupled.fd/ FV3=$( pwd -P )/FV3 cd tests/ -./compile.sh "$FV3" "$target" "CCPP=Y SUITES=FV3_GFS_2017_coupled,FV3_GFS_2017_satmedmf_coupled,FV3_GFS_v15p2_coupled MOM6=Y CICE=Y WW3=Y CMEPS=Y" 1 +./compile.sh "$FV3" "$target" "CCPP=Y SUITES=FV3_GFS_2017_coupled,FV3_GFS_2017_satmedmf_coupled,FV3_GFS_v15p2_coupled MOM6=Y CICE6=Y WW3=Y CMEPS=Y" 1 mv -f fcst_1.exe ../NEMS/exe/nems_fv3_ccpp_mom6_cice5_ww3.x diff --git a/sorc/checkout.sh b/sorc/checkout.sh index 3a6707ba33..431a3afba8 100755 --- a/sorc/checkout.sh +++ b/sorc/checkout.sh @@ -16,7 +16,7 @@ rm -f ${topdir}/checkout-fv3_coupled.log if [[ ! -d fv3_coupled.fd ]] ; then git clone https://github.com/ufs-community/ufs-s2s-model fv3_coupled.fd >> ${topdir}/checkout-fv3_coupled.log 2>&1 cd fv3_coupled.fd - git checkout ufss2s_cmeps_v0.7 + git checkout s2s_prototype5.0 git submodule update --init --recursive cd ${topdir} else From ba4dd520bdfd8f8b2a74bd8864e8171a63d63db8 Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Thu, 10 Sep 2020 19:21:44 -0500 Subject: [PATCH 2/9] configuration and workflow update --- modulefiles/module_base.orion | 2 +- ush/parsing_namelists_CICE.sh | 5 ++--- workflow/config/fcst.yaml | 6 ++++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modulefiles/module_base.orion b/modulefiles/module_base.orion index 4c790db468..2f78059706 100644 --- a/modulefiles/module_base.orion +++ b/modulefiles/module_base.orion @@ -50,7 +50,7 @@ module load prod_util/1.2.0 ## module use /apps/contrib/NCEPLIBS/lib/modulefiles module load netcdfp/4.7.4.release -module load esmflocal/8.1.0.21bs.release +module load esmflocal/8.1.0.27bs.release module load post-intel-sandybridge/8.0.5 module load wgrib/2.0.8 diff --git a/ush/parsing_namelists_CICE.sh b/ush/parsing_namelists_CICE.sh index f80eeecfbf..5b0ee6d3b5 100644 --- a/ush/parsing_namelists_CICE.sh +++ b/ush/parsing_namelists_CICE.sh @@ -149,7 +149,6 @@ cat > ice_in < ice_in < Date: Fri, 11 Sep 2020 09:59:53 -0500 Subject: [PATCH 3/9] MESHICE file linking --- ush/forecast_postdet.sh | 1 + ush/nems_configure.sh | 2 ++ workflow/config/fcst.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index a991d28590..3b4acb0e26 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -746,6 +746,7 @@ CICE_postdet() echo "Link CICE fixed files" $NLN -sf $FIXcice/${ice_grid_file} $DATA/ $NLN -sf $FIXcice/${ice_kmt_file} $DATA/ + $NLN -sf $FIXcice/$MESHICE $DATA/ } CICE_nml() diff --git a/ush/nems_configure.sh b/ush/nems_configure.sh index 840cb685d7..d6ed6a5e5f 100755 --- a/ush/nems_configure.sh +++ b/ush/nems_configure.sh @@ -74,6 +74,8 @@ fi if [ $cplice = .true. ]; then sed -i -e "s;@\[ice_model\];$ICE_model;g" tmp1 sed -i -e "s;@\[ice_petlist_bounds\];$ice_petlist_bounds;g" tmp1 + sed -i -e "s;@\[MESHICE\];$MESHICE;g" tmp1 + sed -i -e "s;@\[FHMAX\];$FHMAX_GFS;g" tmp1 fi if [ $cplchem = .true. ]; then sed -i -e "s;@\[chem_model\];gsd;g" tmp1 diff --git a/workflow/config/fcst.yaml b/workflow/config/fcst.yaml index 7e3af1f4a5..3bc3ce55d8 100644 --- a/workflow/config/fcst.yaml +++ b/workflow/config/fcst.yaml @@ -82,6 +82,7 @@ config_fcst: # CICE parameters export NX_GLB="{doc.ice_settings.NX_GLB}" export NY_GLB="{doc.ice_settings.NY_GLB}" + export MESHICE="mesh.mx${doc.ice_settings.ICERES}.nc" if [[ "$machine" == "WCOSS_C" ]]; then export memory_fcst="1024M" From 7034e12d509cef3aba47113192cdd25f09d98ecf Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Fri, 11 Sep 2020 10:17:05 -0500 Subject: [PATCH 4/9] update hera module --- modulefiles/module_base.hera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulefiles/module_base.hera b/modulefiles/module_base.hera index 32d9c72d5a..6497b80a9d 100644 --- a/modulefiles/module_base.hera +++ b/modulefiles/module_base.hera @@ -36,4 +36,4 @@ module load z/1.2.11 #Load from emc.nemspara module use -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles -module load esmf/8.0.0 +module load esmflocal/8.1.0.27bs.release From 20e65f0cd8abdadf4971d3f2ef9ac403f494e2eb Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Fri, 11 Sep 2020 10:29:22 -0500 Subject: [PATCH 5/9] remove "," in front of every line of ice_in --- ush/parsing_namelists_CICE.sh | 1084 ++++++++++++++++----------------- 1 file changed, 542 insertions(+), 542 deletions(-) diff --git a/ush/parsing_namelists_CICE.sh b/ush/parsing_namelists_CICE.sh index 5b0ee6d3b5..b4bd1b5a37 100644 --- a/ush/parsing_namelists_CICE.sh +++ b/ush/parsing_namelists_CICE.sh @@ -4,593 +4,593 @@ CICE_namelists(){ cat > ice_in < Date: Fri, 11 Sep 2020 12:16:54 -0500 Subject: [PATCH 6/9] ice_in namelist correction --- ush/parsing_namelists_CICE.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ush/parsing_namelists_CICE.sh b/ush/parsing_namelists_CICE.sh index b4bd1b5a37..66edff5251 100644 --- a/ush/parsing_namelists_CICE.sh +++ b/ush/parsing_namelists_CICE.sh @@ -51,7 +51,7 @@ cat > ice_in < ice_in < ice_in < Date: Fri, 11 Sep 2020 20:30:12 -0500 Subject: [PATCH 7/9] hera esmf module adjustment --- modulefiles/module_base.hera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulefiles/module_base.hera b/modulefiles/module_base.hera index 6497b80a9d..be093f5650 100644 --- a/modulefiles/module_base.hera +++ b/modulefiles/module_base.hera @@ -36,4 +36,4 @@ module load z/1.2.11 #Load from emc.nemspara module use -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles -module load esmflocal/8.1.0.27bs.release +module load esmf/8.0.1.08bs_ParallelNetCDF From db14216be2a806786ad0547a0bbc91bbe2571fcd Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Sun, 13 Sep 2020 20:59:10 -0500 Subject: [PATCH 8/9] update hera module bug fix in config.fcst --- modulefiles/module_base.hera | 7 +++++-- workflow/config/fcst.yaml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modulefiles/module_base.hera b/modulefiles/module_base.hera index be093f5650..b406532b88 100644 --- a/modulefiles/module_base.hera +++ b/modulefiles/module_base.hera @@ -35,5 +35,8 @@ module load z/1.2.11 #Load from emc.nemspara -module use -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles -module load esmf/8.0.1.08bs_ParallelNetCDF +module -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles +module load netcdf_parallel/4.7.4.release +module load esmf/8.1.0bs27 +module load hdf5_parallel/1.10.6.release + diff --git a/workflow/config/fcst.yaml b/workflow/config/fcst.yaml index 3bc3ce55d8..93975c6de6 100644 --- a/workflow/config/fcst.yaml +++ b/workflow/config/fcst.yaml @@ -82,7 +82,7 @@ config_fcst: # CICE parameters export NX_GLB="{doc.ice_settings.NX_GLB}" export NY_GLB="{doc.ice_settings.NY_GLB}" - export MESHICE="mesh.mx${doc.ice_settings.ICERES}.nc" + export MESHICE="mesh.mx{doc.ice_settings.ICERES}.nc" if [[ "$machine" == "WCOSS_C" ]]; then export memory_fcst="1024M" From dd6b970232cc6048684f59477fb9c8573471be55 Mon Sep 17 00:00:00 2001 From: "jian.kuang" Date: Mon, 14 Sep 2020 14:03:22 -0500 Subject: [PATCH 9/9] fix typo --- modulefiles/module_base.hera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulefiles/module_base.hera b/modulefiles/module_base.hera index b406532b88..b77fbe6e86 100644 --- a/modulefiles/module_base.hera +++ b/modulefiles/module_base.hera @@ -35,7 +35,7 @@ module load z/1.2.11 #Load from emc.nemspara -module -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles +module use -a /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles module load netcdf_parallel/4.7.4.release module load esmf/8.1.0bs27 module load hdf5_parallel/1.10.6.release