1 / 11

Làm quen với CESM 1.0

Làm quen với CESM 1.0. Chuyên gia Kiên + Thắng. Các thành phần của CESM. Công cụ cần thiết. Subversion client (1.4.2) Fortran and C compilers (intel 10.1.012) Netcdf library (netcdf 3.6.3) MPI (openmpi or mpich). Các bước cơ bản. Ba bước cơ sở (chỉ cần làm 1 lần)

ownah
Download Presentation

Làm quen với CESM 1.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Làm quen với CESM 1.0 Chuyên gia Kiên + Thắng

  2. Các thành phần của CESM

  3. Công cụ cần thiết • Subversion client (1.4.2) • Fortran and C compilers (intel 10.1.012) • Netcdf library (netcdf 3.6.3) • MPI (openmpi or mpich)

  4. Các bước cơ bản Ba bước cơ sở (chỉ cần làm 1 lần) (A) Đăng ký tài khoản và tải mã nguồn (B) Tạo thư mục chứa dữ liệu đầu vào (C) Porting (chuyên gia Kiên) Khởi tạo và chạy các thí nghiệm (1) Tạo một thí nghiệm mới (2) Cấu hình (3) Biên dịch (4) Chạy lần đầu và dữ liệu đầu ra (5) Chạy nối tiếp

  5. (1) Tạo một thí nghiệm mới Thực hiện lệnh sau trong thư mục scripts: RES = '1.9x2.5_gx1v6' COMPSET = 'A_PRESENT_DAY' MACH = 'generic_linux_intel' ROOT = /mnt/GCRaid5Vol0/cesm/cesm1_0 CASEROOT = $ROOT/1925 ./create_newcase –case $CASEROOT \ -mach $MACH \ -compset $COMPSET \ -res $RES \ -scratchroot $ROOT/bin \ -din_loc_root_csmdata $ROOT/input \ -max_tasks_per_node 8

  6. (1) Tạo một thí nghiệm mới Tạo thành công khi có thông báo sau: Successfully created the case for generic_linux_intel Thư mục $CASEROOT sẽ chứa: • SourceMods • Configure • Env_* • Xmlchange –file env_run.xml \ –id STOP_N –val 20

  7. Thay đổi các biến môi trường • env_conf.xml – thay đổi vật lý mô hình • env_mach_pes.xml – gán số lượng bộ xử lý dành riêng cho mỗi thành phần • env_run.xml– thay đổi các tham số trong khi chạy mô hình

  8. (2) Cấu hình • Vào thư mục mới tạo và thực thi lệnh: cd 1925 configure –case • Lưu ý sửa các file sau trước khi thực hiện: env_conf.xml env_mach_pes.xml • Sau khi cấu hình các file sau được tạo mới: 1925.generic_linux_intel.build 1925.generic_linux_intel.clean_build 1925.generic_linux_intel.run

  9. (3) Biên dịch • 1925.generic_linux_intel.build CESM PRESTAGE SCRIPT STARTING Download dữ liệu từ UCAR bằng svn CESM BUILDEXE SCRIPT HAS FINISHED SUCCESSFULLY • Nếu lỗi thì phải clean_build rồi build lại

  10. (4) Chạy lần đầu và dữ liệu đầu ra • Submit job lên server: qsub 1925.generic_linux_intel.run • Kiểm tra quá trình chạy: qsub –nr • Terminate a job: qdel $job_id

  11. (5) Chạy nối tiếp xmlchange -file env_run.xml -id CONTINUE_RUN -val TRUE qsub 1925.generic_linux_intel.run

More Related