Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Evap rate from ATM to OCN #1812

Merged
merged 26 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
986e6cc
Not all arguments were being passed to run/compile environments
BrianCurtis-NOAA Jun 27, 2023
f30d563
send evap from atm
DeniseWorthen Jun 28, 2023
c22448f
Merge branch 'develop' into feature/evapfratm
DeniseWorthen Jun 28, 2023
0391e65
update FV3
DeniseWorthen Jun 28, 2023
1aed719
update FV3
DeniseWorthen Jun 29, 2023
404a2f1
Merge branch 'ufs-community:develop' into fixortdbg
BrianCurtis-NOAA Jun 29, 2023
d2bb218
update FV3
DeniseWorthen Jul 5, 2023
a709c63
Merge branch 'develop' into feature/evapfratm
DeniseWorthen Jul 5, 2023
f440e52
Merge branch 'ufs-community:develop' into fixortdbg
BrianCurtis-NOAA Jul 5, 2023
bc13119
Merge remote-tracking branch 'BrianCurtis/fixortdbg' into feature/eva…
DeniseWorthen Jul 5, 2023
6908b54
turn off c48-5deg warm start test
DeniseWorthen Jul 5, 2023
d9e6b29
Add new BL_DATE
jkbk2004 Jul 5, 2023
c99ae8d
turn off c48-5deg restart test also
DeniseWorthen Jul 5, 2023
f5fcdb7
[AutoRT] cheyenne Job Completed.
epic-cicd-jenkins Jul 6, 2023
c04c3be
revert changes from PR 1810
DeniseWorthen Jul 6, 2023
26b768e
add gaea RT log: passed
jkbk2004 Jul 6, 2023
44f3842
add orion RT log: passed
jkbk2004 Jul 6, 2023
cae4b9e
add je RT log: passed
jkbk2004 Jul 6, 2023
11fadcf
Acorn RT Log
BrianCurtis-NOAA Jul 6, 2023
c3536f1
add hera RT log: passed
jkbk2004 Jul 7, 2023
c337163
disable hrrr tests on wcoss2
BrianCurtis-NOAA Jul 7, 2023
0c0cbc7
WCOSS2 RT Log, failed tests disabled
BrianCurtis-NOAA Jul 7, 2023
13b291f
Merge branch 'feature/evapfratm' of github.com:DeniseWorthen/ufs-weat…
BrianCurtis-NOAA Jul 7, 2023
5d4c6db
update CMEPS and revert gitmodules
DeniseWorthen Jul 7, 2023
22231bb
add update gitmodules
DeniseWorthen Jul 7, 2023
9eebda9
update FV3 and revert gitmodules
DeniseWorthen Jul 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
#url = https://github.com/NOAA-EMC/fv3atm
#branch = develop
url = https://github.com/DeniseWorthen/fv3atm
branch = feature/evapfratm
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand All @@ -16,8 +18,10 @@
branch = develop
[submodule "CMEPS"]
path = CMEPS-interface/CMEPS
url = https://github.com/NOAA-EMC/CMEPS
branch = emc/develop
#url = https://github.com/NOAA-EMC/CMEPS
#branch = emc/develop
url = https://github.com/DeniseWorthen/CMEPS
branch = feature/evapfratm
[submodule "HYCOM"]
path = HYCOM-interface/HYCOM
url = https://github.com/NOAA-EMC/HYCOM-src
Expand Down
2 changes: 1 addition & 1 deletion FV3
2 changes: 1 addition & 1 deletion tests/bl_date.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export BL_DATE=20230623
export BL_DATE=20230705

18 changes: 5 additions & 13 deletions tests/opnReqTest
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,13 @@ build_opnReqTests() {
run_opnReqTests() {
JOB_NR=0
for rc in $run_case; do
# load default variables and override as necessary
source default_vars.sh
source ${PATHRT}/tests/$TEST_NAME

# if TEST_NAME specifies WARM_START true, error and exit
source ${PATHRT}/tests/$TEST_NAME
if [[ ${WARM_START} == .T. ]]; then
error "test-name cannot be a restart run (i.e. WARM_START=.T.)"
fi

application=''
if [[ $TEST_NAME =~ regional ]]; then
application=regional
elif [[ $TEST_NAME =~ cpld ]]; then
Expand Down Expand Up @@ -251,6 +248,7 @@ run_opnReqTests() {
export skip_check_results=${skip_check_results}
export delete_rundir=${delete_rundir}
export RT_COMPILER=${RT_COMPILER}
export WLCLK=${WLCLK}
EOF

if [[ $ECFLOW == true ]]; then
Expand Down Expand Up @@ -345,8 +343,6 @@ if [[ $MACHINE_ID = hera ]]; then
STMP=${dprefix}/stmp4
PTMP=${dprefix}/stmp2
SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_hera fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_hera fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = orion ]]; then

Expand All @@ -364,8 +360,6 @@ elif [[ $MACHINE_ID = orion ]]; then
STMP=$dprefix/stmp
PTMP=$dprefix/stmp
SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_orion fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_orion fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = linux ]]; then

Expand Down Expand Up @@ -468,6 +462,9 @@ if [[ $dbg_compare == true && ! $test_case =~ dbg ]]; then
error "$program: debug reproducibility test requires specifying dbg"
fi

# load default variables and override as necessary
source default_vars.sh

# enumerate which case to compile and run
compile_case=
run_case=
Expand Down Expand Up @@ -547,11 +544,6 @@ if [[ $ECFLOW == true ]]; then
error "ecflow is not supported on this machine $MACHINE_ID"
fi

if [[ $MACHINE_ID == hera ]] && [[ ! $HOSTNAME == hecflow* ]]; then
echo "ERROR: To use ECFlow on Hera please use the 'hecflow01' login node: ssh hecflow01."
exit 1
fi

fi

opnreqtest_log=${PATHRT}/logs/OpnReqTests_${TEST_NAME}_$MACHINE_ID.log
Expand Down
2 changes: 2 additions & 0 deletions tests/parm/fd_nems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@
canonical_units: N m-2
- standard_name: inst_laten_heat_flx
canonical_units: N m-2
- standard_name: inst_evap_rate
canonical_units: kg m-2 s-1
- standard_name: inst_tracer_mass_frac
canonical_units: 1
- standard_name: inst_tracer_up_surface_flx
Expand Down
4 changes: 2 additions & 2 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ RUN | cpld_control_noaero_p8_agrid |

COMPILE | 7 | intel | -DAPP=S2S -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | | fv3 |
RUN | cpld_control_c48 | | baseline |
RUN | cpld_warmstart_c48 | | baseline |
RUN | cpld_restart_c48 | | | cpld_warmstart_c48
#RUN | cpld_warmstart_c48 | | baseline |
#RUN | cpld_restart_c48 | | | cpld_warmstart_c48

COMPILE | 8 | intel | -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 -DFASTER=ON | - cheyenne | fv3 |
RUN | cpld_control_p8_faster | - cheyenne | baseline |
Expand Down
21 changes: 1 addition & 20 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ if [[ $MACHINE_ID = wcoss2 ]]; then
STMP=/lfs/h2/emc/ptmp
PTMP=/lfs/h2/emc/ptmp
SCHEDULER=pbs
cp fv3_conf/fv3_qsub.IN_wcoss2 fv3_conf/fv3_qsub.IN
cp fv3_conf/compile_qsub.IN_wcoss2 fv3_conf/compile_qsub.IN

elif [[ $MACHINE_ID = acorn ]]; then

Expand All @@ -180,8 +178,6 @@ elif [[ $MACHINE_ID = acorn ]]; then
STMP=/lfs/h2/emc/ptmp
PTMP=/lfs/h2/emc/ptmp
SCHEDULER=pbs
cp fv3_conf/fv3_qsub.IN_wcoss2 fv3_conf/fv3_qsub.IN
cp fv3_conf/compile_qsub.IN_wcoss2 fv3_conf/compile_qsub.IN

elif [[ $MACHINE_ID = gaea ]]; then

Expand All @@ -198,8 +194,6 @@ elif [[ $MACHINE_ID = gaea ]]; then
PTMP=/lustre/f2/scratch

SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_gaea fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_gaea fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = hera ]]; then

Expand All @@ -226,8 +220,6 @@ elif [[ $MACHINE_ID = hera ]]; then
PTMP=$dprefix/stmp2

SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_hera fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_hera fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = orion ]]; then

Expand All @@ -253,8 +245,6 @@ elif [[ $MACHINE_ID = orion ]]; then
PTMP=$dprefix/stmp

SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_orion fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_orion fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = jet ]]; then

Expand All @@ -278,8 +268,6 @@ elif [[ $MACHINE_ID = jet ]]; then
PTMP=${PTMP:-$dprefix/RT_RUNDIRS}

SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_jet fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_jet fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = s4 ]]; then

Expand All @@ -304,8 +292,6 @@ elif [[ $MACHINE_ID = s4 ]]; then
PTMP=/scratch/users

SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_s4 fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_s4 fv3_conf/compile_slurm.IN

elif [[ $MACHINE_ID = cheyenne ]]; then

Expand All @@ -322,8 +308,6 @@ elif [[ $MACHINE_ID = cheyenne ]]; then
STMP=$dprefix
PTMP=$dprefix
SCHEDULER=pbs
cp fv3_conf/fv3_qsub.IN_cheyenne fv3_conf/fv3_qsub.IN
cp fv3_conf/compile_qsub.IN_cheyenne fv3_conf/compile_qsub.IN

elif [[ $MACHINE_ID = stampede ]]; then

Expand All @@ -339,7 +323,6 @@ elif [[ $MACHINE_ID = stampede ]]; then
SCHEDULER=slurm
MPIEXEC=ibrun
MPIEXECOPTS=
cp fv3_conf/fv3_slurm.IN_stampede fv3_conf/fv3_slurm.IN

elif [[ $MACHINE_ID = expanse ]]; then

Expand All @@ -353,7 +336,6 @@ elif [[ $MACHINE_ID = expanse ]]; then
STMP=$dprefix
PTMP=$dprefix
SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_expanse fv3_conf/fv3_slurm.IN

elif [[ $MACHINE_ID = noaacloud.* ]]; then

Expand All @@ -373,8 +355,6 @@ elif [[ $MACHINE_ID = expanse ]]; then
STMP=$dprefix/stmp4
PTMP=$dprefix/stmp2
SCHEDULER=slurm
cp fv3_conf/fv3_slurm.IN_noaacloud fv3_conf/fv3_slurm.IN
cp fv3_conf/compile_slurm.IN_noaacloud fv3_conf/compile_slurm.IN


else
Expand Down Expand Up @@ -805,6 +785,7 @@ EOF
export DEP_RUN=${DEP_RUN}
export skip_check_results=${skip_check_results}
export delete_rundir=${delete_rundir}
export WLCLK=${WLCLK}
EOF
if [[ $MACHINE_ID = jet ]]; then
cat << EOF >> ${RUNDIR_ROOT}/run_test_${TEST_NR}.env
Expand Down
29 changes: 23 additions & 6 deletions tests/run_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ export COMPILE_NR=$4
cd ${PATHRT}
remove_fail_test

[[ -e ${RUNDIR_ROOT}/compile_${COMPILE_NR}.env ]] && source ${RUNDIR_ROOT}/compile_${COMPILE_NR}.env
source detect_machine.sh
source default_vars.sh
[[ -e ${RUNDIR_ROOT}/compile_${COMPILE_NR}.env ]] && source ${RUNDIR_ROOT}/compile_${COMPILE_NR}.env



export TEST_NAME=compile
Expand All @@ -57,12 +59,27 @@ rm -rf ${RUNDIR}
mkdir -p ${RUNDIR}
cd $RUNDIR

if [[ $SCHEDULER = 'slurm' ]]; then
atparse < $PATHRT/fv3_conf/compile_slurm.IN > job_card
if [[ $SCHEDULER = 'pbs' ]]; then
if [[ -e $PATHRT/fv3_conf/compile_qsub.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/compile_qsub.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/compile_qsub.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
elif [[ $SCHEDULER = 'slurm' ]]; then
if [[ -e $PATHRT/fv3_conf/compile_slurm.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/compile_slurm.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/compile_slurm.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
elif [[ $SCHEDULER = 'lsf' ]]; then
atparse < $PATHRT/fv3_conf/compile_bsub.IN > job_card
elif [[ $SCHEDULER = 'pbs' ]]; then
atparse < $PATHRT/fv3_conf/compile_qsub.IN > job_card
if [[ -e $PATHRT/fv3_conf/compile_bsub.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/compile_bsub.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/compile_bsub.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
fi

################################################################################
Expand Down
24 changes: 20 additions & 4 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ cd ${PATHRT}
unset MODEL_CONFIGURE
unset NEMS_CONFIGURE

[[ -e ${RUNDIR_ROOT}/run_test_${TEST_NR}.env ]] && source ${RUNDIR_ROOT}/run_test_${TEST_NR}.env
source detect_machine.sh
source default_vars.sh
[[ -e ${RUNDIR_ROOT}/run_test_${TEST_NR}.env ]] && source ${RUNDIR_ROOT}/run_test_${TEST_NR}.env
source tests/$TEST_NAME

remove_fail_test
Expand Down Expand Up @@ -282,11 +283,26 @@ TASKS=$(( NODES * TPN ))
export TASKS

if [[ $SCHEDULER = 'pbs' ]]; then
atparse < $PATHRT/fv3_conf/fv3_qsub.IN > job_card
if [[ -e $PATHRT/fv3_conf/fv3_qsub.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/fv3_qsub.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/fv3_qsub.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
elif [[ $SCHEDULER = 'slurm' ]]; then
atparse < $PATHRT/fv3_conf/fv3_slurm.IN > job_card
if [[ -e $PATHRT/fv3_conf/fv3_slurm.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/fv3_slurm.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/fv3_slurm.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
elif [[ $SCHEDULER = 'lsf' ]]; then
atparse < $PATHRT/fv3_conf/fv3_bsub.IN > job_card
if [[ -e $PATHRT/fv3_conf/fv3_bsub.IN_${MACHINE_ID} ]]; then
atparse < $PATHRT/fv3_conf/fv3_bsub.IN_${MACHINE_ID} > job_card
else
echo "Looking for fv3_conf/fv3_bsub.IN_${MACHINE_ID} but it is not found. Exiting"
exit 1
fi
fi

################################################################################
Expand Down