Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to improve the running speed of CESM2.0.1

Mingjun

Mingjun
New Member
Hi, everyone!

I am using the BHIST compset with a resolution of f19_g17. I have made many attempts to modify the pe-layout, but the fastest speed I could achieve is only 12~14 model years per day. The current "env_mach_pes.xml" file is attached. I aim to reach at least 50 years per day or more (because I need a very long period simulation). Is this feasible, and how should I modify the "env_mach_pes.xml" file to achieve my goal? Any suggestions would be helpful to me. Thank you!

Best regards.
 

Attachments

  • env_mach_pes.xml.txt
    7.1 KB · Views: 2

jedwards

CSEG and Liaisons
Staff member

You have all of the ROOTPES > 396 which means that pes 0-395 are doing nothing at all.
Look in file cesm/cime_config/config_pes.xml for some suggested pe layouts to start from.
The OCN and ATM should run concurrently and the ICE and LND should run sequentially with atm and
concurrently with OCN. So
NTASKS_ATM = NTASKS_ICE + NTASKS_LND
ROOTPE_OCN = NTASKS_ATM
ROOTPE_ICE=NTASKS_LND
NTASKS_ROF=NTASKS_LND
NTASKS_CPL=NTASKS_ATM
All other ROOTPE_*=0

once you get this basic configuration running you should fine tune it for your hardware.
 

Mingjun

Mingjun
New Member

You have all of the ROOTPES > 396 which means that pes 0-395 are doing nothing at all.
Look in file cesm/cime_config/config_pes.xml for some suggested pe layouts to start from.
The OCN and ATM should run concurrently and the ICE and LND should run sequentially with atm and
concurrently with OCN. So
NTASKS_ATM = NTASKS_ICE + NTASKS_LND
ROOTPE_OCN = NTASKS_ATM
ROOTPE_ICE=NTASKS_LND
NTASKS_ROF=NTASKS_LND
NTASKS_CPL=NTASKS_ATM
All other ROOTPE_*=0

once you get this basic configuration running you should fine tune it for your hardware.

Thank you very much for your response. I have referenced the official timing document and combined it with the principles you provided. Currently, my speed can reach 23 model years per day (although it hasn't reached my expectations yet, I will continue trying :)
 

wfc1102@163_com

New Member
Thank you very much for your response. I have referenced the official timing document and combined it with the principles you provided. Currently, my speed can reach 23 model years per day (although it hasn't reached my expectations yet, I will continue trying :)
Your MAX_TASKS_PER_NODE=56, I think NTASKS_??? and ROOTPE_??? = 56 * N, where N is integer, would save your computing resources and may speed up a little bit.
 
Top