[petsc-users] How to run a parallel code with mpiexec -np 1
Jed Brown
jed at jedbrown.org
Sun Jun 8 01:33:46 CDT 2014
丁老师 <ztdepyahoo at 163.com> writes:
> 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.
You can (should) write parallel code that behaves correctly on one
process. It should be no extra work and the examples do this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140608/56533ea8/attachment.pgp>
More information about the petsc-users
mailing list