[petsc-users] Installation Error

李瑞 lirui319 at hnu.edu.cn
Wed May 31 03:29:55 CDT 2017


this problem was already approached.Thank you for your help!  :)  

在2017-05-24 20:57:09,李瑞<lirui319 at hnu.edu.cn>写道:
> 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! 
> > 
> > 
> > 
> > 
> > 
> > 




More information about the petsc-users mailing list