[petsc-users] Ignore command line arguments with fortran code using PETSc
Matthew Knepley
knepley at gmail.com
Wed Jul 27 09:04:52 CDT 2016
On Wed, Jul 27, 2016 at 4:59 AM, Tim Steinhoff <kandanovian at gmail.com>
wrote:
> Hi all,
>
> we coupled PETSc with our fortran code. Is there any way to let PETSc
> (PetscInitialize) ignore all arguments passed by the command line?
> Since our code is controlled by command line arguements as well, it
> leads to a mess, when those arguments are read twice.
>
1) You can use PetscInitializeNoArguments()
2) What goes wrong? PETSc should just ignore any options it does not
recognize.
Thanks,
Matt
> Thanks and kind regards,
>
> Volker
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160727/5ee8292e/attachment-0001.html>
More information about the petsc-users
mailing list