[petsc-dev] Petsc-dev compilation: error because of underscore.
Matthew Knepley
knepley at gmail.com
Tue Jan 26 18:48:21 CST 2010
On Tue, Jan 26, 2010 at 6:44 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 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.
>
But it ugly, and a false positive only impacts our kludgy "debugging".
Matt
> Satish
>
--
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-dev/attachments/20100126/2bd0b808/attachment.html>
More information about the petsc-dev
mailing list