[petsc-users] How to run a parallel code with mpiexec -np 1

丁老师 ztdepyahoo at 163.com
Sun Jun 8 00:32:53 CDT 2014

Dear friends:
    I write a parallel code with Petsc, but it does not work with mpiexec -np 1 .
since Petsc automatically allocate the vec and mat according to the number of cpu, why it does not work.

and how to modify the parallel code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140608/4755fea3/attachment.html>

More information about the petsc-users mailing list