[petsc-users] Petsc parallel processing from a library, without "mpiexec -np ..."
Jed Brown
jed at 59A2.org
Tue Jul 6 12:07:46 CDT 2010
On Tue, 6 Jul 2010 18:43:16 +0200, "=?utf-8?b?0J3QtdC80LDRmtCwINCY0LvQuNGb?= (Nemanja Ilic)" <nemanja.ilic.81 at gmail.com> wrote:
> Hello,
>
> I am currently working on a project involving Petsc library. My core
> library that uses Petsc has several functionalities that are invoked
> via function calls. Is there a way to call these functions from
> another library and to have parallel processing, without using
> "mpiexec -np ..." command line format?
This is more of an MPI question, and it's relatively advanced usage, but
you can see the process management chapter (10) of the MPI-2.2 standard.
It's often easier to have a parallel program that does most of it's work
redundantly (or on process 0), than to have a serial program that
"calls" a distributed memory library, since that "call" usually involves
spawning processes on remote hosts.
Jed
More information about the petsc-users
mailing list