Dear Satish > Yes - you can saftely ignore these 'DeprecationWarning:' messages. It > means : "the functionality works now - but it won't with newer > versions".
Thank you very much for the detailed information about Python status. I was relieved to hear the cause of the warnings. Sincerely, Hiroshi Katsurayama On Thu, 9 Apr 2009 09:45:13 -0500 (CDT) Satish Balay <balay at mcs.anl.gov> wrote: > > Are these warnings ignorable? > > Yes - you can saftely ignore these 'DeprecationWarning:' messages. It > means : "the functionality works now - but it won't with newer > versions". > > Python changed considerably between python-2 and the new > python-3. Python-2.6 is supporsed to be a bridge that enables easier > transition to python-3. > > We need to eventually get configure working with both python3 and python2 > > Satish > > On Thu, 9 Apr 2009, Hiroshi Katsurayama wrote: > > > Hello, > > > > I try to use PETSC-3.0.0-p4 on Ubuntu 9.04 linux (present beta version) > > whose python version is 2.6.1. > > > > When ./config/configure.py, the following there "DeprecationWarning"s > > appear before "TESTING:". > > > > ================================================================================= > > Configuring PETSc to compile on your system > > > > ================================================================================= > > /home/hiroshi/local/petsc/petsc-3.0.0-p4/config/BuildSystem/config/compilers.py:7: > > DeprecationWarning: the sets module is deprecated > > import sets > > /home/hiroshi/local/petsc/petsc-3.0.0-p4/config/PETSc/package.py:7: > > DeprecationWarning: the md5 module is deprecated; use hashlib instead > > import md5 > > /home/hiroshi/local/petsc/petsc-3.0.0-p4/config/BuildSystem/script.py:101: > > DeprecationWarning: The popen2 module is deprecated. Use the subprocess > > module. > > import popen2 > > > > TESTING: > > > > The configure process after TESTING seems to finish successfully, > > and next "make all" and "make test" also seem to finish normally. > > > > Are these warnings ignorable? > > > > I attache the detailed log file of my configure (my_linux_gnu_intel.log). > > But these warnings also appear in > > simply > > > > "./config/configure.py" > > > > irrespective of compiler or blas. > > > > When I tried the configure on Ubuntu 8.10 whose python version is 2.5.2, > > these warning did not appear. > > > > Hence the latest python (version 2.6.1) on Ubuntu 9.04 BETA maybe cause > > these warnings. > > > > Thank you. > > > > Sincerely, > > Hiroshi Katsurayama > > > -- ???? ???????????????????????? ??????????????????????? TEL : 0836-85-9108 FAX : 0836-85-9101 E-mail: katsura at yamaguchi-u.ac.jp ?755-8611??????????2-16-1 ??????????????
