[petsc-users] Installation Error

Matthew Knepley knepley at gmail.com
Wed May 24 06:54:18 CDT 2017


On Wed, May 24, 2017 at 12:14 AM, 李瑞 <lirui319 at hnu.edu.cn> wrote:

>
> Dear professor or engineer:
>    I meet a problem about installation to petsc.
>    When I type the code "./configure --with-cc=gcc --with-cxx=0
> --with-fc=0 --download-f2cblaslapack --download-mpich" on my terminal,the
> answer reveals the following results.
>
> >>>ERROR:root:code for hash md5 was not found.
> Traceback (most recent call last):
>     File "/home/zhuizhuluori/lirui/software/vapor-2.5.0-Linux_
> x86_64/vapor/vapor-2.5.0/lib/python2.7/hashlib.py", line 139, in <module
>       globals()[__func_name] = __get_hash(__func_name)
>     File "/home/zhuizhuluori/lirui/software/vapor-2.5.0-Linux_
> x86_64/vapor/vapor-2.5.0/lib/python2.7/hashlib.py", line 91, in
> __get_builtin_constructor
>     raise ValueError('unsupported hash type ' + name)
> ValueError: unsupported hash type md5
>     ERROR:root:code for hash sha1 was not found .....
>
>    I have used petsc for a long time,and never see the this problem.my
> laptop is installed an old version of petsc and I wanna change it to a new
> version.How can I fix it?Thanks for your heartful suggestion!
>

We are asking Python to do md5 and yours cannot. Is this the entire error
message? Can you send configure.log?

I think upgrading your Python will fix this.

  Thanks,

    Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

http://www.caam.rice.edu/~mk51/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170524/ba18a5fa/attachment.html>


More information about the petsc-users mailing list