On Sat, 12 Dec 2009, Przemyslaw Kaminski wrote:

> I am a beginner in libMesh. I'm currently studying the examples. I
> cannot find anywhere the option to change the number of processors.
> Currently, example 10 is running on 1 processor. How can I make it use
> more?
> Thanks in advance and sorry for such a silly question ;)

We get the number of processors from the MPI environment; the
specifics of how to set that up depend on your MPI implementation (or
on more complex systems, on your job queueing system).  Typically,
instead of running "./ex10 -some_options" you'd run something like
"mpiexec -np 4 ./ex10 -some_options" to start on 4 processors.

In our example files, you can still run multiprocessor jobs through
"make run" by setting the LIBMESH_RUN environment variable, to
something like "mpirun -np 2" (or whatever else needs to precede the
rest of the command line).
---
Roy

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to