[petsc-users] PETSc Make error

Matthew Knepley knepley at gmail.com
Fri Jul 31 05:20:45 CDT 2020


On Fri, Jul 31, 2020 at 4:15 AM Eda Oktay <eda.oktay at metu.edu.tr> wrote:

> Dear Satish,
>
> I configured petsc-3.13.2. Is this still the same problem?
>

Yes, you need the distutils package installed.

  Thanks,

     Matt


> Thanks!
>
> Eda
>
> On Fri, Jul 31, 2020, 10:50 AM Satish Balay <balay at mcs.anl.gov> wrote:
>
>>
>> >>>>>>>>
>>   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
>> >
>>
>>

-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200731/50a0f606/attachment.html>


More information about the petsc-users mailing list