[petsc-users] PETSc Make error
Satish Balay
balay at mcs.anl.gov
Fri Jul 31 02:50:03 CDT 2020
>>>>>>>>
File "./config/gmakegen.py", line 4, in <module>
from distutils.sysconfig import parse_makefile
ModuleNotFoundError: No module named 'distutils.sysconfig'
<<<<<
For one - if you used petsc-3.13.3 - it would have also tried python2 - or given a reasonable error message.
If you have python2 - you can try:
python2 ./configure ...
Or you can ask sysadmin on this machine to install python3-distutils or equivalent package.
Satish
On Fri, 31 Jul 2020, Eda Oktay wrote:
> Hi all,
>
> I configured petsc-3.13.2 with following options:
>
> ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
> --download-mpich --download-openblas --download-metis
> --download-parmetis --download-chaco --download-slepc --with-X=1
>
> However, I got a make error.
>
> I attached make.log and configure.log, how can I fix that problem?
>
> Thanks!
>
> Eda
>
More information about the petsc-users
mailing list