[petsc-users] Is there any method to call multiple mpi run inside program

张国熙 altriaex86 at gmail.com
Wed May 7 08:03:07 CDT 2014


Hi, all

I use SLEPc as part of my program, which means I compile it as .so library.

I want my program work like this: execute serially, reach Point A, parallel
solving, then serially again.

I know I could use mpirun -np 4 in terminal to call the whole program, but
this will let the serial part be executed 4 times. What I want is only call
mpi at the eigensolving part.
Is there any function that could achieve something like that?

Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140507/51604ffc/attachment.html>


More information about the petsc-users mailing list