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

Question about execution of CESM 1_2_1

Jlu-zhe2wen

ZhewenXu
New Member
We've successfully completed the execution of CESM 1_2_1 recently, however, we find that the parallelism (ntasks) should be set before ./cesm.setup, and if we change the parallelism (we also delete the locking handle in building scripts) the main program would report error when ATM initalize.

oes anyone know why the ntasks should be locked before building?

I'm computer science major and very interesting in this problem. Thanks
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Some of the CESM components require that the number of tasks be set at build time, as they hardwire the number of tasks into how they are built. Not, all of the CESM components do this however. Many of the components are configured so that the number of tasks is set at run time. But, to make the system consistent regardless of the configuration and because it doesn't hurt anything to require it be set at build-time we set it up that way.
 

Jlu-zhe2wen

ZhewenXu
New Member
Some of the CESM components require that the number of tasks be set at build time, as they hardwire the number of tasks into how they are built. Not, all of the CESM components do this however. Many of the components are configured so that the number of tasks is set at run time. But, to make the system consistent regardless of the configuration and because it doesn't hurt anything to require it be set at build-time we set it up that way.
Thank you for your answer. Further I want know which components can change their ntasks at run time?
 
Top