<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 25 Feb 2023, at 11:44 PM, Long, Jianbo <jl7037@mun.ca> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div class="gmail_default" style="font-size:large">Hello,</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">For some of my applications, I need to use petsc without mpi, or use it sequentially. I wonder where I can find examples/tutorials for this ?</div></div></div></blockquote><div><br></div><div>You can run sequentially with just a single MPI process (-n 1).</div><div>If you need to run without MPI whatsoever, you’ll need to have a separate PETSc installation which was configured --with-mpi=0</div><div>In both cases, the same user-code will run, i.e., all PETSc examples available with the sources will work (though some are designed purely for parallel experiments and may error out early on purpose).</div><div><br></div><div>Thanks,</div><div>Pierre</div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-size:large">Thanks very much,</div><div class="gmail_default" style="font-size:large">Jianbo Long<br></div></div>
</div></blockquote></div><br></body></html>