[petsc-users] PETSc Make error
Eda Oktay
eda.oktay at metu.edu.tr
Fri Jul 31 10:49:52 CDT 2020
Dear Matt,
Administrator installed python3-dib-utils but still I am getting the
same error message. I attached configure.log and make.log again.
Thanks!
Eda
Matthew Knepley <knepley at gmail.com>, 31 Tem 2020 Cum, 13:20 tarihinde
şunu yazdı:
>
> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 13372 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200731/fd31cbb2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 7052622 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200731/fd31cbb2/attachment-0003.bin>
More information about the petsc-users
mailing list