[petsc-users] Expecting Explanation

Fazlul Huq huq2090 at gmail.com
Sat Nov 17 13:12:20 CST 2018


Hello PETSc developers,

In example 6 or vec section I don't understand this line:
if (size != 1) SETERRQ(PETSC_COMM_SELF,1,"This is a uniprocessor example
only!");

I tried to run the code with "mpiexec -n 2 ./ex6" or "mpiexec -n 4 ./ex6"
or even "mpiexec -n 1 ./ex6" it the code runs properly.

Thanks.

Sincerely,
Huq

-- 

Fazlul Huq
Graduate Research Assistant
Department of Nuclear, Plasma & Radiological Engineering (NPRE)
University of Illinois at Urbana-Champaign (UIUC)
E-mail: huq2090 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181117/c5b7e19a/attachment.html>


More information about the petsc-users mailing list