[petsc-users] Override PETSc compile options

Matthew Knepley knepley at gmail.com
Wed May 7 21:09:33 CDT 2014


On Wed, May 7, 2014 at 8:53 PM, TAY wee-beng <zonexo at gmail.com> 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 <zonexo at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140507/e5ca4a58/attachment.html>


More information about the petsc-users mailing list