New CISM time management aborts for leap years
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- fortran
- 領域
- backend
調査の方向性
glad_main.F90 の 650 行目から開始し、グレゴリオ暦のうるう年に “Valid_inputs cannot be .false.” を報告する CISM の時間管理チェックを追跡します。2011–2016 年の FCSD ログと、CISM の時間処理、グレゴリオ暦、glc_mec および SGLC を使用する CLM に関して列挙されている代替案を確認します。abort を回避する、サポートされたアプローチを確立できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Bill Sacks < sacks > - 2017-09-05 12:41:58 -0600
Bugzilla Id: 2507
Bugzilla CC: fyke, lipscomb, mvertens,
A few months ago, Mariana and I put in new CISM time management, where the coupler averages to a year before sending values to CISM. We put in place the following error check to ensure that CISM gets inputs at the time it expects them - because if the coupler and CISM are out of sync, CISM may be running with very wrong forcing values (e.g., always running with 0 values):
else if (time - av_start_time + params%time_step == params%tstep_mbal) then
if (.not. valid_inputs) then
write(message,*) &
'Valid_inputs cannot be .false. if trying to do a mass balance time step'
call write_log(message,GM_FATAL,__FILE__,__LINE__)
end if
However, Louisa Emmons ran into a problem trying to run with a Gregorian calendar:
I am trying to run compset FCSD from 2011-2016, and seem to have gotten stuck because 2012 is a leap year. I guess I could just switch to a 365-day calendar.
My case run directory is:
/glade/scratch/emmons/cesm2alph07_FCSD_09x1_TS1mamsoa/run
which used source code in:
/glade/p/work/fvitt/cesm/cesm2_0_alpha07c/
These are the log error messages:
glc.log:
WARNING: GLINT will not handle leap years correctly!!!
...
- FATAL ERROR : (glad_main.F90:650) Valid_inputs cannot be .false. if trying
to do a mass balance time step
cesm.log:
189: * FATAL ERROR : (glad_main.F90:650) Valid_inputs cannot be .false. if trying
189: to do a mass balance time step
189: Exiting with fatal error: this_rank = 189
0: PARALLEL STOP in glimmer_log.F90 at line 180
Indeed, I don't think we tested this with a Gregorian calendar. CISM has never run correctly with a Gregorian calendar, but we've tried to make sure that it doesn't abort.
We need to determine how to get back to a situation where at least it doesn't abort.
Solutions I can see are:
- Fix the problem robustly to allow gregorian runs with cism, by changing cism's time management
This would likely be a lot of work, and isn't favored by CISM folks, because they have no need for it.
- Bypass the above error checks if running with a Gregorian calendar
This might work, but I think we'll get more and more out of sync over time, which might cause some other problems.
- Some kludgey change to CISM's time handling to sort of do the right thing when running with a Gregorian calendar
This would be non-trivial because of the complexity of CISM's time handling - though would likely be easier than a full, robust reimplementation of time management in CISM.
e.g., we could temporarily modify tstep_mbal and related variables in leap years. It may not do exactly the right thing, but we could probably get it to do approximately the right thing - e.g., still running the CISM dynamics at the end of each year, whether or not it's a leap year.
- Get CLM working with glc_mec with SGLC. Then don't allow CISM with a Gregorian calendar, but provide this alternative so you can run a reasonable glc_mec configuration with a Gregorian calendar.
This is probably my preference (because we want this SGLC support for other reasons, too), as long as there aren't too many people who want to be able to run with a Gregorian calendar.
- 主要言語
- Fortran
- スター
- 4
- フォーク
- 18
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ESCOMP/CISM-wrapper のほかの issue
-
Coupler Updates for Missing Ablation対応中かも @Katetc が 3 日前に担当しました。 オープン
ESCOMP/CISM-wrapper#151 · コメント 1 件 · 担当者 1 名 ·
-
ERI_Ly10.f10_f10_mg37.I1850Clm50SpG.derecho_intel.cism-isostasy_period4 Fail in cism_wrap_3.0.0対応中かも @Katetc が 23 日前に担当しました。 オープン
ESCOMP/CISM-wrapper#148 · 担当者 1 名 ·
-
Update Externals and Tests for CESM3再び着手できるかも @Katetc が 67 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
ESCOMP/CISM-wrapper#145 · コメント 2 件 · 担当者 1 名 ·
-
Consistency of Isotopes in Surface Mass Balance from CLM再び着手できるかも @Katetc が 240 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
ESCOMP/CISM-wrapper#136 · コメント 2 件 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ESCOMP/CISM-wrapper#135 · コメント 1 件 ·
ESCOMP/CISM-wrapper の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug customer-reported data-plane question Service Attention Storage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
Azure/azure-rest-api-specs#47397 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Claude thinking budget can shrink capped Haiku responses to 2,048 tokens対応中かも @DavyMassoneto が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
diegosouzapw/OmniRoute#17109 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
FujiNetWIFI/fujinet-firmware#2045 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
paperclipai/paperclip#16785 ·
メンテナーはふだん 1 日以内に返信