[petsc-dev] windows fixes.

Satish Balay balay at mcs.anl.gov
Mon Jul 1 14:03:50 CDT 2013


Hm - I thought I tested this - but this is still failing in nightly builds :(

Satish

================================================================================
TEST configureCompilerFlags from config.compilerFlags(/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerFlags.py:65)
TESTING: configureCompilerFlags from config.compilerFlags(/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerFlags.py:65)
  Get the default compiler flags
        Pushing language C
Executing: gcc --version
stdout:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
getCompilerVersion: gcc gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

<snip>

*******************************************************************************
        CONFIGURATION CRASH  (Please send configure.log to petsc-maint at mcs.anl.gov)
*******************************************************************************
'gcc'  File "/sandbox/petsc/petsc.clone/config/configure.py", line 293, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/framework.py", line 942, in configure
    child.configure()
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerFlags.py", line 113, in configure
    self.executeTest(self.configureCompilerFlags)
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/base.py", line 126, in executeTest
    ret = test(*args,**kargs)
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerFlags.py", line 97, in configureCompilerFlags
    flags = options.getCompilerFlags(language, self.setCompilers.getCompiler(), bopt)
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerOptions.py", line 212, in getCompilerFlags
    flags = self.getCFlags(compiler, bopt)
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/compilerOptions.py", line 19, in getCFlags
    if config.setCompilers.Configure.isGNU(compiler) or config.setCompilers.Configure.isClang(compiler):
  File "/sandbox/petsc/petsc.clone/config/BuildSystem/config/util.py", line 68, in __call__
    return self[args]


On Fri, 28 Jun 2013, Satish Balay wrote:

> Appears to work now.
> 
> thanks!
> 
> Satish
> 
> On Fri, 28 Jun 2013, Jed Brown 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'''
> > 
> 
> 




More information about the petsc-dev mailing list