[petsc-dev] Problem with latest "petsc-dev" change

Carl Ponder CPonder at NVidia.Com
Wed Nov 3 13:19:25 CDT 2010


I just copied thepetsc-dev subtree using the commands

    hg clone http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/petsc-dev
    cd petsc-dev/config
    hg clone http://$USER:$PASSWORD@petsc.cs.iit.edu/petsc/BuildSystem
    cd ..
    export PETSC_DIR=$PWD
    ./configure --with-cc=gcc --with-fc=mpif90
    --download-f-blas-lapack=1 --download-mpich=1 --download-hdf5=1

It looks like the filepetsc-dev/configure has changed in the last day or 
two:

    #!/usr/bin/env python                                              
                 #!/usr/bin/env python
    <
    import sys <
    if sys.version_info.major > 2: <
       print('Configure does not support Python 3 yet, please run as') <
       print('  python2 ' + ' '.join(["'" + a + "'" for a in sys.argv])) <
       sys.exit(1) <
    <
    import os                                                         
                  import os
    execfile(os.path.join(os.path.dirname(__file__), 'config',
    'configure.py'))    
    execfile(os.path.join(os.path.dirname(__file__), 'config',
    'configure.py'))

and no longer works in my environment:

    Traceback (most recent call last):
       File "./configure", line 4, in <module>
         if sys.version_info.major > 2:
    AttributeError: 'tuple' object has no attribute 'major'

If I remove the test, it works.
Are you in the middle of making & testing code changes?
And if so, when do you expect it to be stable?

I'm running Ubuntu Linux 10.04.1 64-bit on i7.
Are there additional parameters I need to pass to./configure or other 
packages I need to install?
Thanks,

                    Carl Ponder


-----------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101103/232edc39/attachment.html>


More information about the petsc-dev mailing list