[petsc-users] error in configuring PETSc

Satish Balay balay at mcs.anl.gov
Wed Nov 8 10:52:54 CST 2023


Suggest attaching text logs (copy/paste) - instead of screenshots.

Try:

./configure --with-cc=gcc-11 --with-cxx=g++-11 --with-fc=gfortran-11 --download-fftw --download-openmpi --download-fblaslapack --with-zlibs=yes --with-szlib=no --with-c2html=0 --with-x=0 --download-hdf5-fortran-bindings=1 --download-hdf5 --download-sowing-cxx=g++-11

If you still have issues - send configure.log for this failure

Satish

On Thu, 9 Nov 2023, 张胜 wrote:

> Dear PETSc developer,
> 
> I use the following commands to configure petsc, but errors occur: 
> ./configure --with-cc=gcc-11 --with-cxx=g++-11 --with-fc=gfortran-11 --download-fftw --download-openmpi --download-fblaslapack --free-line-length-0 -g -fallow-argument-mismatch --enable-shared --enable-parallel --enable-fortran --with-zlibs=yes --with-szlib=no --with-cxx-dialect=C++11 --with-c2html=0 --with-x=0 --download-hdf5-fortran-bindings=1 --download-hdf5
> 
> 
> I tried many times but cannot fix it. So I ask help for you. Thanks in advance. 
> Best regards, 
> Sheng Zhang 
> 
> Ph.D 
> School of Materials Science and Engineering 
> Shanghai Jiao Tong University 
> 800 Dongchuan Road 
> Shanghai, 200240 China
> 


More information about the petsc-users mailing list