On Fri, 17 Aug 2012, Kyunghoon Lee wrote:

> I noticed that my workstation uses only one core for reduced basis training
> despite having eight cores, so I guess I may use more CPU power by
> utilizing parallel.  I checked two examples, introduction_ex4.C and
> transient_ex1.C, to see if how it works, but I couldn't tell which part of
> codes take care of the parallel run.  I'd appreciate if someone can briefly
> describe steps to make a code run in parallel.

1. Make sure it's written to run in parallel (e.g. use local iterators
rather than global iterators where appropriate).

2. Make sure it's configured to run in parallel (i.e. use MPI along
with Trilinos or PETSc).

3. Make sure it's run in parallel (e.g. use "mpirun" or "mpiexec" or
"qsub" depending on your MPI and/or job control implementation).
---
Roy

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to