[petsc-dev] debugging server

Jed Brown jed at jedbrown.org
Sun Apr 27 00:12:39 CDT 2014


Åsmund Ervik <asmund.ervik at ntnu.no> writes:

> Just a quick comment re: users being incapable of using
> -start_in_debugger etc.: when I started using PETSc a couple of years
> ago, it was very surprising and strange to me that PETSc augmented my
> code such that it now accepted command line arguments. It probably
> took me quite a few months to figure this out, it was simply
> unexpected. 

If you don't pass argc and argv to PetscInitialize, then command-line
arguments are not parsed.

> Perhaps it could be spelled out more clearly?

Where exactly do you think would be appropriate?  Some extra text in the
man page for PetscInitalize, or elsewhere?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140426/0a6fac50/attachment.sig>


More information about the petsc-dev mailing list