[petsc-dev] windows fixes.
Matthew Knepley
knepley at gmail.com
Fri Jun 28 12:26:10 CDT 2013
On Fri, Jun 28, 2013 at 12:20 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Boy those decorators sure saved you a lot of code below. I cannot
> imagine how anyone actually wrote code using python 2.4 without decorators,
> the code must have been so long that it constantly filled the entire
> filesystem and everyone's hands were so tired from typing. Thank god for
> decorators!
Lois says that we can apply for more money to hire out-of-work Globus
programmers when we decide to upgrade to decorators again. I estimate 10
person/years.
We should also bring in a Project Manager from one of the weapons labs.
Matt
>
> Barry
>
>
>
> On Jun 28, 2013, at 10:45 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> > Barry Smith <bsmith at mcs.anl.gov> writes:
> >
> >> Clumsy code it is :-)
> >
> > Fixed in 'next'.
> >
> > commit 96c122f7ff11b2781a634ef7c59f013fab739c6b (jed/config-cleanup)
> > Author: Jed Brown <jedbrown at mcs.anl.gov>
> > Date: Fri Jun 28 10:39:37 2013 -0500
> >
> > config: python-2.4 does not support decorators
> >
> > This amends 2a571ffb5945aee7 to avoid decorators.
> >
> > diff --git a/config/BuildSystem/config/setCompilers.py
> b/config/BuildSystem/config/setCompilers.py
> > index a7c1507..0b3325c 100644
> > --- a/config/BuildSystem/config/setCompilers.py
> > +++ b/config/BuildSystem/config/setCompilers.py
> > @@ -124,8 +124,6 @@ class Configure(config.base.Configure):
> > return 0
> > isNAG = staticmethod(isNAG)
> >
> > - @staticmethod
> > - @config.memoize
> > def isGNU(compiler):
> > '''Returns true if the compiler is a GNU compiler'''
> > try:
> > @@ -148,6 +146,7 @@ class Configure(config.base.Configure):
> > except RuntimeError:
> > pass
> > return 0
> > + isGNU = staticmethod(config.memoize(isGNU))
> >
> > def isClang(compiler):
> > '''Returns true if the compiler is a Clang/LLVM compiler'''
>
>
--
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/20130628/6fd6938a/attachment.html>
More information about the petsc-dev
mailing list