Error in cmake for installing PETSc
I am going to install PETSc with hip offline .
my configuration command is as follows:
./configure --with-64-bit-indices --with-cxx-dialect=C++17 --with-debugging=no --with-fortran-bindings=0 --with-mpi=1 --with-openmp=1 --with-shared-libraries=1 --with-sowing=0 --with-hip=1 --download-fblaslapack=1 --download-hypre=1 --download-metis=1 --download-mumps=1 --download-ptscotch=1 --download-parmetis=1 --download-scalapack=1 --download-slepc=1 --download-strumpack=1 --download-superlu_dist=1 --with-hipc=/opt/dtk-23.10/bin/hipcc --with-hip-arch=gfx906 --download-fblaslapack=/opt/petsc/v3.4.2-p3.tar.gz --download-metis=/opt/petsc/v5.1.0-p11.tar.gz --download-parmetis=/opt/petsc/v4.0.3-p9.tar.gz --download-ptscotch=/opt/petsc/scotch-v7.0.3.tar.gz --download-bison=/opt/petsc/bison-3.8.2.tar.gz --download-superlu_dist=/opt/petsc/v8.2.1.tar.gz
I've already downloaded the installer for the build, and I run the command to get an error:
=============================================================================================
Configuring PETSc to compile on your system
=============================================================================================
=============================================================================================
***** WARNING *****
Found environment variable: CC=mpicc. Ignoring it! Use "./configure CC=$CC" if you really
want to use this value
=============================================================================================
=============================================================================================
***** WARNING *****
Found environment variable: CXX=mpicxx. Ignoring it! Use "./configure CXX=$CXX" if you
really want to use this value
=============================================================================================
=============================================================================================
***** WARNING *****
Found environment variable: FC=mpif90. Ignoring it! Use "./configure FC=$FC" if you
really want to use this value
=============================================================================================
=============================================================================================
***** WARNING *****
Found environment variable: F77=mpif77. Ignoring it! Use "./configure F77=$F77" if you
really want to use this value
=============================================================================================
=============================================================================================
***** WARNING *****
Found environment variable: F90=mpif90. Ignoring it! Use "./configure F90=$F90" if you
really want to use this value
=============================================================================================
=============================================================================================
***** WARNING *****
Using default C optimization flags "-g -O". You might consider manually setting optimal
optimization flags for your system with COPTFLAGS="optimization flags" see
config/examples/arch-*-opt.py for examples
=============================================================================================
=============================================================================================
***** WARNING *****
Using default Cxx optimization flags "-g -O". You might consider manually setting optimal
optimization flags for your system with CXXOPTFLAGS="optimization flags" see
config/examples/arch-*-opt.py for examples
=============================================================================================
=============================================================================================
***** WARNING *****
Using default FC optimization flags "-g -O". You might consider manually setting optimal
optimization flags for your system with FOPTFLAGS="optimization flags" see
config/examples/arch-*-opt.py for examples
=============================================================================================
=============================================================================================
***** WARNING *****
Using default CUDA optimization flags "-g -O3". You might consider manually setting
optimal optimization flags for your system with CUDAOPTFLAGS="optimization flags" see
config/examples/arch-*-opt.py for examples
=============================================================================================
=============================================================================================
***** WARNING *****
Using default HIP optimization flags "-g -O3". You might consider manually setting
optimal optimization flags for your system with HIPOPTFLAGS="optimization flags" see
config/examples/arch-*-opt.py for examples
=============================================================================================
=============================================================================================
Configuring SUPERLU_DIST with CMake; this may take several minutes
=============================================================================================
*********************************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
Error configuring SUPERLU_DIST with CMake
*********************************************************************************************
The version of cmake is 3.28.0-rc5,and hipcc is 5.4. The configure.log have been attached below, and I hope to receive your help. configure.log