Installation Error
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!
On Wed, May 24, 2017 at 12:14 AM, 李瑞 <[email protected]> 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/
What do you have for: which python echo $PYTHONPATH The following might work.. PYTHONPATH='' /usr/bin/python ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich Satish On Wed, 24 May 2017, 李瑞 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!
this problem was already approached.Thank you for your help! :) 在2017-05-24 20:57:09,李瑞<[email protected]>写道:
What do you have for:
which python echo $PYTHONPATH
The following might work..
PYTHONPATH='' /usr/bin/python ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich
Satish
On Wed, 24 May 2017, 李瑞 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!
participants (3)
-
Matthew Knepley -
Satish Balay -
李瑞