On Wed, May 7, 2014 at 8:53 PM, TAY wee-beng <[email protected]> wrote:

>  Hi Matt,
>
> Sorry, I mean during the compilation of my own codes using my own makefile.
>

I know, this is how you change the default PETSc compile flags.

   Matt


> Thank you
>
> Yours sincerely,
>
> TAY wee-beng
>
> On 8/5/2014 9:46 AM, Matthew Knepley wrote:
>
>  On Wed, May 7, 2014 at 8:35 PM, TAY wee-beng <[email protected]> wrote:
>
>> Hi,
>>
>> I want to override PETSc compile options. During compile, PETSc
>> automatically uses -Wall etc
>>
>> How can I change that?
>
>
>  All the options are given in -help for configure. That compiler options
> can be overridden using --COPTFLAGS
>
>     Matt
>
>
>>
>> --
>> Thank you
>>
>> Yours sincerely,
>>
>> TAY wee-beng
>>
>>
>
>
>  --
> 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
>
>
>


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

Reply via email to