[petsc-dev] Petsc-dev compilation: error because of underscore.

Satish Balay balay at mcs.anl.gov
Tue Jan 26 18:44:47 CST 2010


On Tue, 26 Jan 2010, Matthew Knepley wrote:

> On Tue, Jan 26, 2010 at 6:41 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > The following change gets configure going.
> >
> > But I think Barry is looking at a different fix.. [if not - I can push
> > this]
> >
> > Satish
> >
> > -      for exc in ['superlu_dist', 'PETSC_ARCH', 'PETSC_DIR',
> > 'CXX_CXXFLAGS', 'LD_SHARED', 'CC_LINKER_FLAGS', 'CXX_LINKER_FLAGS',
> > 'FC_LINKER_FLAGS', 'AR_FLAGS', 'C_VERSION', 'CXX_VERSION',
> > 'FC_VERSION','qd_dd', 'void_p']:
> > +      for exc in ['superlu_dist', 'PETSC_ARCH', 'PETSC_DIR',
> > 'CXX_CXXFLAGS', 'LD_SHARED', 'CC_LINKER_FLAGS', 'CXX_LINKER_FLAGS',
> > 'FC_LINKER_FLAGS', 'AR_FLAGS', 'C_VERSION', 'CXX_VERSION',
> > 'FC_VERSION','qd_dd',
> > 'known-sizeof-void_p','known-sizeof-long_long','known-sizeof-size_t']:
> >
> 
> Just use void_p, long_long, size_t since it does a find().

I thought of using full options to minimize false positives.

Satish



More information about the petsc-dev mailing list