On Tue, 21 Feb 2012, recrusader wrote:

> It seems several modules are using multithread. One more question is if I 
> enable multithread when configuring libmesh, for
> example the number of the threads are 6.
> When I run the codes in MPI mode, 6 CPU cores (in one chip) are used, like 
> mpiexec -n 6....

Just tell MPI to use one rank.  Then tell libMesh to use more than one
thread per rank; IIRC the argument is something like --n_threads=6

> Multithread modules always work? What is the relationship between the number 
> of the CPU cores in MPI and the number of the
> threads?

Number of CPU cores used = number of MPI ranks * number of libMesh
threads per rank.
---
Roy

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to