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
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
Dear Satish, I configured petsc-3.13.2. Is this still the same problem? Thanks! Eda On Fri, Jul 31, 2020, 10:50 AM Satish Balay <[email protected]> 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
On Fri, Jul 31, 2020 at 4:15 AM Eda Oktay <[email protected]> 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 <[email protected]> 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/>
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 <[email protected]>, 31 Tem 2020 Cum, 13:20 tarihinde şunu yazdı:
On Fri, Jul 31, 2020 at 4:15 AM Eda Oktay <[email protected]> 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 <[email protected]> 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
You still get this error message - so its likely not installed. To confirm you [and the admin] can run: python3 -c "import distutils.sysconfig" [and see if you get an error or not] You can also try python2 as I suggested in my earlier e-mail [if distutils is installed for python2] python2 -c "import distutils.sysconfig" python2 ./configure ... Satish On Fri, 31 Jul 2020, Eda Oktay wrote:
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 <[email protected]>, 31 Tem 2020 Cum, 13:20 tarihinde şunu yazdı:
On Fri, Jul 31, 2020 at 4:15 AM Eda Oktay <[email protected]> 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 <[email protected]> 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
participants (3)
-
Eda Oktay -
Matthew Knepley -
Satish Balay