Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Update CIME and testing to use batch system for builds

Đang mở
#4,100 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi

Hướng nghiên cứu

Bắt đầu bằng cách đọc run_sys_tests và create_test, tập trung vào luồng qsub hiện có và thiết lập BATCHED_BUILD được mô tả trong issue. Kiểm tra kết nối ccs_config và bản cập nhật CIME 6.3.6, sau đó xác thực hành vi trên Izumi và Derecho. Công việc được xem là hoàn tất khi tùy chọn --no-batch-build mới hoạt động như dự kiến và hiệu năng đã được so sánh, với kết quả kiểm thử CESM được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Fortran
Star
352
Fork
365
Merge trung bình
4 ngày 12 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ESCOMP/CTSM

Tất cả issue của ESCOMP/CTSM

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.