[petsc-dev] test harness needs a start_in_debugger option

Scott Kruger kruger at txcorp.com
Mon Feb 13 15:56:58 CST 2017



On 2/13/17 10:27 AM, Satish Balay wrote:
> On Sat, 11 Feb 2017, Matthew Knepley wrote:
>
>> On Sat, Feb 11, 2017 at 1:41 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>
>>>
>>>
>> It would save some time, but right now you can do
>> EXTRA_OPTIONS="-start_in_debugger lldb"
>
> or PETSC_OPTIONS?

It's EXTRA_OPTIONS to denote append.  There is OPTIONS=
which does override.  (OPTIONS is not in any generated makefile
rules so I think it is OK as is).
>
> Also - isn't '-on_error_attach_debugger' more suitable than
> '-start_in_debugger'?  And one always need to list exta options with
> it. [like -debugger_nodes or lldb - as Matt indicated]
>
> A special hook in the test harness doesn't look useful to me.

I'll let you and Barry sort it out, although I do like it at the shell 
script level when you are doing debugging (and I am actually wanting
some generated shell script files in the subdirectories that will allow
me to copy and paste the individual commands for working at
the commandline more easily).

Scott

>
> Satish
>

-- 
Tech-X Corporation               kruger at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
Boulder, CO 80303                Fax:   (303) 448-7756



More information about the petsc-dev mailing list