Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Update CIME and testing to use batch system for builds

オープン
#4,100 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

まず run_sys_tests と create_test を読み、既存の qsub フローと issue に記載されている BATCHED_BUILD 設定に注目します。ccs_config 接続と CIME 6.3.6 の更新を確認し、その後 Izumi と Derecho で動作を検証します。新しい --no-batch-build オプションが意図したとおりに動作し、パフォーマンスの比較が行われ、CESM のテスト結果が報告されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

testing

cime6.3.6 brings in changes so that the batch system can be used to build tests. Currently the builds are done per compiler. So all the intel as one job, all gnu as another, and nvhpc as the third. Because the list of tests aren't balanced between compilers this means the intel builds take the longest, gnu in the middle and nvhpc as a distant third. As noted as a box in #275 balancing the test lists would make this more efficient. However, even better would be to send all the builds to the batch system.

In order to do this, we might need to make a couple changes to run_sys_tests. Currently it sends each compiler run of create_test to a batch job using qsub. Without the builds this step will take a fraction of the time. But, it still probably isn't a problem to send it this way, the create_newcase step for each case does take a while to do.

I also thought that we'd need to add settings about this for the build. But, it looks like BATCHED_BUILD is normally default FALSE. But, it assumes TRUE for testing. But, we should probably add the new argument "--no-batch-build" argument to create_test to run_sys_tests.

This might be something that we have turned on by default, by adding a setting for it in ccs_config. See https://github.com/ESMCI/ccs_config_cesm/issues/290

Definition of done:

  • Have @fischer-ncar try this out for CESM on Derecho and report back
  • Update to cime6.3.6
  • Add --no-batch-build argument to run_sys_tests (do we start with it default on or off?)
  • Make sure it turns on correctly
  • Test on Izumi/Derecho compare performance
主要言語
Fortran
スター
352
フォーク
365
平均マージ
2日 14時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ESCOMP/CTSM のほかの issue

ESCOMP/CTSM の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。