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

-ntasks in Build-namelist?

If I set -ntasks 64 in the configuration section, and set -nosmp.

Do I need add -ntasks 64 as an argument in the Build-namelist section?

What is the difference of the two -ntasks in these two places?
Thankyou
 

eaton

CSEG and Liaisons
The addition of the -ntasks argument to build-namelist is a convenience feature. It is used only to provide a default setting of the namelist variable npr_yz, which describes the decomposition used by the FV dycore only. It is only necessary to set npr_yz if the number of tasks being used is more than can be used by the default 1D decomposition. For example, on the 1.9x2.5 grid the maximum 1D decomposition can only use 32 tasks because there must be at least 3 latitude slices in each latitude subdomain. So to use 64 tasks with that grid it is necessary to specify a 2D decomposition using the npr_yz variable. You could add this to the namelist by, for example, setting -namelist "&atm npr_yz=32,2,2,32 /" on the commandline. An alternative method is to use the -ntasks argument to build-namelist.
 
Top