[petsc-users] Redo PetscOptions From Commandline

Derek Gaston friedmud at gmail.com
Thu Apr 4 17:53:27 CDT 2013


On Tue, Apr 2, 2013 at 12:09 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>     You can use PetscGetArgs() followed by by PetscOptionsInsert(). Let us
> know if you have any troubles with this.
>

Hmmm... any chance of getting a version of that function that takes an
MPI_Comm?  It is using PETSC_COMM_WORLD implicitly inside it.... and I need
to call it asynchronously on sub-communicators.

For now I have it working by swapping out PETSC_COMM_WORLD with my
sub-communicator before calling that function.... but that's less than
ideal ;-)

Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130404/3f72a29a/attachment.html>


More information about the petsc-users mailing list