Tasks vs threads

TCNasa

Tom Caldwell
Member
I need some help in running CESM faster. Typically my runs use 12 tasks for all of CESM components. I'm not sure I understand the relationship of tasks vs threads.
Each of my nodes has 12 cpus available. Do I need to assign more tasks or more threads to run CESM faster?

Thanks.
 

jedwards

CSEG and Liaisons
Staff member
Tasks are generally much faster than threads but it's highly system dependent. If you are running anything other than a fully coupled component set it generally makes sense to run each component sequentially using all of the available tasks. For fully coupled (B) compsets you can run the ocn concurrently with the other components.
 

TCNasa

Tom Caldwell
Member
So what settings do I change to assign more than 1 task to each component? And how does that affect my MAX_TASK settings?
 
Back
Top