[petsc-users] Override PETSc compile options

Satish Balay balay at mcs.anl.gov
Wed May 7 21:13:54 CDT 2014


On Wed, 7 May 2014, 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

Actually CFLAGS should be used to ovewride -Wall type options

Satish


More information about the petsc-users mailing list