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

Add wave-cice coupling; update to Consortium main #51

Merged
merged 49 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4442246
Merge remote-tracking branch 'Consortium/main' into feature/nuopc_dri…
DeniseWorthen Nov 26, 2021
fb216b6
remove ITDrdg nml file
DeniseWorthen Nov 26, 2021
f9d0c47
Merge remote-tracking branch 'Consortium/main' into feature/nuopc_dri…
DeniseWorthen Nov 29, 2021
cc039fb
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen Feb 11, 2022
68b7634
Use internal CICE calendar parameters
dabail10 Apr 27, 2022
faeffa6
add wave-ice fields
DeniseWorthen Apr 28, 2022
cb2ad40
fix initialization errors
DeniseWorthen Apr 28, 2022
36e401c
Merge branch 'emc/develop' into feature/updcice
DeniseWorthen May 3, 2022
66a6977
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen May 3, 2022
20de1d1
Merge remote-tracking branch 'origin/feature/updcice' into feature/wa…
DeniseWorthen May 3, 2022
def5cdf
Revert "Use internal CICE calendar parameters"
dabail10 May 5, 2022
88b50af
Merge branch 'main' of https://github.com/ESCOMP/CICE into main
dabail10 May 11, 2022
eaa4bbd
NUOPC related updates for WW3 and leap years
dabail10 May 11, 2022
43e42de
Fix OMP PRIVATE of FSD variables and add tr_fsd if block
dabail10 May 11, 2022
462fc52
Merge branch 'emc/develop' into feature/nuopc_driver_updates
DeniseWorthen May 11, 2022
e7ebc63
Merge remote-tracking branch 'Consortium/main' into feature/nuopc_dri…
DeniseWorthen May 11, 2022
7e64c9f
clean up hera,orion script
DeniseWorthen May 11, 2022
93de8c5
Merge remote-tracking branch 'ESCOMP/nuopc_new' into feature/nuopc_dr…
DeniseWorthen May 11, 2022
d3a4d77
Replace t2u calls
dabail10 May 12, 2022
f99728e
Remove t2u/grid_average calls
dabail10 May 12, 2022
43b11d6
Merge remote-tracking branch 'ESCOMP/nuopc_new' into feature/nuopc_dr…
DeniseWorthen May 13, 2022
f8142f4
Merge branch 'feature/nuopc_driver_updates' into feature/wave_ice
DeniseWorthen May 13, 2022
4dc5dc2
fix tr_fsd retrieval
DeniseWorthen May 13, 2022
4aaa5be
fix compile error
DeniseWorthen May 13, 2022
cc2a993
Merge branch 'feature/nuopc_driver_updates' into feature/wave_ice
DeniseWorthen May 13, 2022
b6682b9
Merge branch 'feature/addCgridfixes' into feature/wave_ice
DeniseWorthen Jun 24, 2022
ff9e082
minor fixups
DeniseWorthen Jun 28, 2022
4200a9b
fix omp end
DeniseWorthen Jun 29, 2022
365dc68
minor fixups
DeniseWorthen Jun 29, 2022
d088bfb
Update some CICE variable names to clarify grid (#729)
apcraig Jul 15, 2022
1585c31
Add unit test for optional arguments, "optargs" (#730)
apcraig Jul 15, 2022
21bd95b
cice.setup: remove 'suite.jobs' at start of 'suite.submit' (#731)
phil-blain Jul 15, 2022
0d69e6f
Merge remote-tracking branch 'Consortium/main' into feature/wave_ice
DeniseWorthen Jul 21, 2022
9be1c35
Deprecate CESM ponds (tr_pond_cesm) (#733)
dabail10 Jul 31, 2022
3af3d1b
Deprecate 0-layer thermodynamics in the CICE driver (#732)
eclare108213 Jul 31, 2022
c6470cf
Update icepack to 3cb1746a202615044e (#743)
apcraig Jul 31, 2022
063a7f2
Update cice.t-test.py to use cartopy instead of basemap. (#742)
apcraig Jul 31, 2022
731c61d
change visc_method default to avg_zeta, change alt07 to test avg_stre…
apcraig Aug 2, 2022
26db2c3
cice.setup: allow command line to override suite options (#745)
phil-blain Aug 2, 2022
5a1701c
Update Icepack and version number (#748)
apcraig Aug 4, 2022
1046c60
Merge remote-tracking branch 'Consortium/main' into feature/wave_ice
DeniseWorthen Aug 11, 2022
08c6b33
ice_grid: do call 'gridbox_verts' for rectangular grids (#749)
phil-blain Aug 12, 2022
d673e44
Clean up code and add several minor features (#750)
apcraig Aug 15, 2022
75ef5d2
Update ECCC machine files (#751)
phil-blain Aug 17, 2022
fea412a
ice_calendar: zero-initialize 'nstreams' (#752)
phil-blain Aug 17, 2022
df29da7
Merge remote-tracking branch 'Consortium/main' into feature/wave_ice
DeniseWorthen Aug 20, 2022
91fe75f
make variable name capitalization consistent
DeniseWorthen Aug 20, 2022
8c1434a
export/import needed fields conditionally
DeniseWorthen Aug 22, 2022
f0521ce
resolve debug failures with intel and gnu
DeniseWorthen Aug 23, 2022
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
51 changes: 24 additions & 27 deletions cice.setup
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ else
#!/bin/csh -f

set nonomatch && rm -f ciceexe.* && unset nonomatch
rm -f suite.jobs

set dobuild = true
set doreuse = true
Expand Down Expand Up @@ -637,7 +638,7 @@ EOF
set bfbcomp_tmp = `echo $line | cut -d' ' -f5`

# Append sets from .ts file to the $sets variable
set sets = "$sets_base,$sets_tmp"
set sets = "$sets_tmp,$sets_base"

# Create a new bfbcomp_base variable to store bfbcomp passed to cice.setup
# Use bfbcomp_base or bfbcomp_tmp
Expand Down Expand Up @@ -760,14 +761,23 @@ EOF
if (${docase} == 0) then
set soptions = ""
# Create sorted array and remove duplicates and "none"
set setsarray = `echo ${sets} | sed 's/,/ /g' | fmt -1 | sort -u`
set setsarray = `echo ${sets_tmp} | sed 's/,/ /g' | fmt -1 | sort -u`
if ("${setsarray}" != "") then
foreach field (${setsarray})
if (${field} != "none") then
set soptions = ${soptions}"_"${field}
endif
end
endif
# Add options from command line, sort and remove duplicates
set soptions_base = ""
set setsarray_base = `echo ${sets_base} | sed 's/,/ /g' | fmt -1 | sort -u`
if ("${setsarray_base}" != "") then
foreach field (${setsarray_base})
set soptions = ${soptions}"_"${field}
set soptions_base = ${soptions_base}"_"${field}
end
endif
# soptions starts with _
set testname_noid = "${machcomp}_${test}_${grid}_${pesx}${soptions}"
set testname_base = "${machcomp}_${test}_${grid}_${pesx}${soptions}.${testid}"
Expand All @@ -776,26 +786,8 @@ EOF

if (${dosuite} == 1) then
# Add -s flags in cice.setup to bfbcomp name
# Parse bfbcomp test_grid_pes and sets
# Add sets_base and sort unique
# Create fbfbcomp string that should be consistent with base casename
set bfbcomp_regex="\(.*_[0-9x]*\)_\(.*\)"
set bfbcomp_test_grid_pes=`echo ${bfbcomp} | sed "s/${bfbcomp_regex}/\1/"`
set bfbcomp_sets=`echo ${bfbcomp} | sed "s/${bfbcomp_regex}/\2/" | sed 's/_/,/g' `
set bfbcomp_sets="${bfbcomp_sets},${sets_base}"
set bfbcomp_soptions = ""
# Create sorted array and remove duplicates and "none"
set bfbcomp_setsarray = `echo ${bfbcomp_sets} | sed 's/,/ /g' | fmt -1 | sort -u`
if ("${bfbcomp_setsarray}" != "") then
foreach field (${bfbcomp_setsarray})
if (${field} != "none") then
set bfbcomp_soptions = ${bfbcomp_soptions}"_"${field}
endif
end
endif
set fbfbcomp = ${spval}
if ($bfbcomp != ${spval}) then
set fbfbcomp = ${machcomp}_${bfbcomp_test_grid_pes}${bfbcomp_soptions}
set fbfbcomp = ${machcomp}_${bfbcomp}${soptions_base}
endif
endif
endif
Expand Down Expand Up @@ -1179,21 +1171,26 @@ echo "-------test--------------"
echo "${testname_base}"
cd ${testname_base}
source ./cice.settings
set bldstat = 0
if (\${dobuild} == true) then
if (\${doreuse} == true) then
set ciceexe = "../ciceexe.\${ICE_TARGET}.\${ICE_ENVNAME}.\${ICE_COMMDIR}.\${ICE_BLDDEBUG}.\${ICE_THREADED}.\${ICE_IOTYPE}"
./cice.build --exe \${ciceexe}
set bldstat = \${status}
if !(-e \${ciceexe}) cp -p \${ICE_RUNDIR}/cice \${ciceexe}
else
./cice.build
set bldstat = \${status}
endif
endif
if (\${dosubmit} == true) then
set jobid = \`./cice.submit\`
echo "\$jobid"
echo "\$jobid \${ICE_TESTNAME} " >> ../suite.jobs
else if (\${dorun} == true) then
./cice.test
if (\$bldstat == 0) then
if (\${dosubmit} == true) then
set jobid = \`./cice.submit\`
echo "\$jobid"
echo "\$jobid \${ICE_TESTNAME} " >> ../suite.jobs
else if (\${dorun} == true) then
./cice.test
endif
endif
cd ..
EOF
Expand Down
Loading