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

threads, tasks and processor

Hi,
I want to run cam5 on parallel mode using 36 processors, but i m not getting the thread and task concept. Can somebody explain how by defining the tasks and threads alone or using both (hybrid mode) i can able to use 36 processors.
 

jedwards

CSEG and Liaisons
Staff member
I recommmend that you start by running with MPI tasks only.   I would not expect any benefit from using threads with only 36 processors.   
 
Thank you, i will work on it. But can you tell me what actually tasks and threads is referred to, and if i want to work on 36 processors how MPI tasks is better than OPENMP threads. -Manish Manjhi
 

jedwards

CSEG and Liaisons
Staff member
Tasks refer to the number of MPI elements in the model run, threads to the number of openmp threads per mpi element.   Spanning processors with threads requires that theprocessors share memory.    MPI communicates through the network and does not have this requirement.    Most large machines do not share memory across all processors andso the primary parallelization strategy in the model is MPI. 
 
Top