On Tue, Feb 2, 2010 at 5:56 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matt,<br>
<br>
[petsc configure is supporsed to be compatible with python 2.2 and higher].<br>
But I get the following error [apart from missing 'os.path.pathsep'] with python2.2<br>
<br>
Any idea how to fix this? [<br></blockquote><div><br>Pushed the fix.<br><br>  Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

thanks,<br>
Satish<br>
-------<br>
<br>
asterix:/home/balay/tmp/petsc-dev>!py<br>
python2.2 config/configure.py --with-mpi=0<br>
=================================================================================<br>
             Configuring PETSc to compile on your system<br>
=================================================================================<br>
/home/balay/tmp/petsc-dev/config/PETSc/packages/Matlab.py:21: Warning: 'yield' will become a reserved keyword in the future<br>
*********************************************************************************<br>
          CONFIGURATION CRASH  (Please send configure.log to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a>)<br>
*********************************************************************************<br>
<br>
invalid syntax (Matlab.py, line 21)<br>
  File "config/configure.py", line 226, in petsc_configure<br>
    framework = config.framework.Framework(['--configModules=PETSc.Configure','--optionsModule=PETSc.compilerOptions']+sys.argv[1:], loadArgDB = 0)<br>
  File "/home/balay/tmp/petsc-dev/config/BuildSystem/config/framework.py", line 104, in __init__<br>
    self.createChildren()<br>
  File "/home/balay/tmp/petsc-dev/config/BuildSystem/config/framework.py", line 330, in createChildren<br>
    self.getChild(moduleName)<br>
  File "/home/balay/tmp/petsc-dev/config/BuildSystem/config/framework.py", line 315, in getChild<br>
    config.setupDependencies(self)<br>
  File "/home/balay/tmp/petsc-dev/config/PETSc/Configure.py", line 45, in setupDependencies<br>
    utilityObj                    = self.framework.require('PETSc.'+d+'.'+utilityName, self)<br>
  File "/home/balay/tmp/petsc-dev/config/BuildSystem/config/framework.py", line 335, in require<br>
    config = self.getChild(moduleName, keywordArgs)<br>
  File "/home/balay/tmp/petsc-dev/config/BuildSystem/config/framework.py", line 288, in getChild<br>
    type   = __import__(moduleName, globals(), locals(), ['Configure']).Configure<br>
asterix:/home/balay/tmp/petsc-dev>cat configure.log<br>
                            Pushing language C<br>
                            Popping language C<br>
                            Pushing language Cxx<br>
                            Popping language Cxx<br>
                            Pushing language FC<br>
                            Popping language FC<br>
asterix:/home/balay/tmp/petsc-dev><br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>