<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    I just copied the<tt> petsc-dev </tt>subtree using the commands<br>
    <blockquote><tt>hg clone <a class="moz-txt-link-freetext"
          href="http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/petsc-dev">http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/petsc-dev</a><br>
        cd petsc-dev/config<br>
        hg clone
        <a class="moz-txt-link-freetext" href="http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/BuildSystem">http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/BuildSystem</a><br>
        cd ..<br>
        export PETSC_DIR=$PWD<br>
        ./configure --with-cc=gcc --with-fc=mpif90
        --download-f-blas-lapack=1 --download-mpich=1 --download-hdf5=1</tt><br>
    </blockquote>
    It looks like the file<tt> petsc-dev/configure </tt>has changed in
    the last day or two:<br>
    <blockquote><tt>#!/usr/bin/env python                              
                                    #!/usr/bin/env python</tt><br>
      <tt>                                                             
                       <</tt><br>
      <tt>import sys                                                    
                      <</tt><br>
      <tt>if sys.version_info.major > 2:                            
                          <</tt><br>
      <tt>  print('Configure does not support Python 3 yet, please run
        as')            <</tt><br>
      <tt>  print('  python2 ' + ' '.join(["'" + a + "'" for a in
        sys.argv]))          <</tt><br>
      <tt>  sys.exit(1)                                                 
                      <</tt><br>
      <tt>                                                             
                       <</tt><br>
      <tt>import os                                                     
                         import os</tt><br>
      <tt>execfile(os.path.join(os.path.dirname(__file__), 'config',
        'configure.py'))    
        execfile(os.path.join(os.path.dirname(__file__), 'config',
        'configure.py'))</tt><br>
    </blockquote>
    and no longer works in my environment:<br>
    <blockquote><tt>Traceback (most recent call last):</tt><br>
      <tt>  File "./configure", line 4, in <module></tt><br>
      <tt>    if sys.version_info.major > 2:</tt><br>
      <tt>AttributeError: 'tuple' object has no attribute 'major'</tt><br>
    </blockquote>
    If I remove the test, it works.<br>
    Are you in the middle of making & testing code changes?<br>
    And if so, when do you expect it to be stable?<br>
    <br>
    I'm running Ubuntu Linux 10.04.1 64-bit on i7.<br>
    Are there additional parameters I need to pass to<tt> ./configure</tt>
    or other packages I need to install?<br>
    Thanks,<br>
    <br>
                       Carl Ponder<br>
    <br>
  
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may 
contain confidential information.  Any unauthorized review, use, disclosure 
or distribution is prohibited.  If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message. </DIV>
<DIV>
<HR>
</DIV>
<P></P>
</body>
</html>