[petsc-dev] debugging server

Åsmund Ervik asmund.ervik at ntnu.no
Mon Apr 28 03:09:45 CDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27. april 2014 07:12, Jed Brown wrote:
> 
> If you don't pass argc and argv to PetscInitialize, then
> command-line arguments are not parsed.

You don't need to pass argc and argv in Fortran. And I'd hazard a
guess that C/C++ programmers don't really stop and reflect on the
meaning of this when they start using PETSc. Everything is Deep Magic
the first time you use it, especially numerical libraries.

> 
>> 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?
> 

This probably varies wildly between people, but I used to rely much
more on the FAQ on the website when I first started, whereas now I'm
mostly using the man pages. I think in the "Execution" section of the
FAQ, at the very top, there could be a bullet point explaining it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTXgzJAAoJED+FDAHgGz19LTUH/1YnfRDRzg2sJv7cn5mxp5n1
tl1ZswifmgEav0ks/JVLu4V/301bGMtbVMKZ1liSrUkhhXMKO33fk+sXuI3HUMbt
ngVn0bITnoiwKA1Vr3QLsd1rRBcgVdWpDNVMDQAnRsl6P5fEyOoAlr0NWl2WvrhI
TxMe6J5T+H4W+tBmS4FI3+mTTocq+L2iHQ0VeMRgHLCpvvd1UrrFizUfIMuydHzg
t1Daf/LvSvAlG8tuWmEa3EHI33dy5jIt5cRhV5w6iPUNDdrAPBhhGceh80XXNlQF
91U90Y0B3/w7PLKMtVFF5XxYrYhgD22+6sVoFDmsqfmxdaEh4sh2917ocQT0aF4=
=uZbu
-----END PGP SIGNATURE-----



More information about the petsc-dev mailing list