The cmake in your path is broken
TESTING: locateCMake from config.packages.cmake(/gpfs/fs1/home/h/hngharti/hngharti/lsoft/petsc-gnu/config/BuildSystem/config/packages/cmake.py:53) Looking for default CMake executable Checking for program /scinet/niagara/software/2019b/opt/gcc-9.4.0/openmpi/4.1.1/bin/cmake...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/9.4.0/bin/cmake...not found Checking for program /home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/cmake...found Defined make macro "CMAKE" to "/home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/cmake" Looking for default CTest executable Checking for program /scinet/niagara/software/2019b/opt/gcc-9.4.0/openmpi/4.1.1/bin/ctest...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/9.4.0/bin/ctest...not found Checking for program /home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/ctest...found Defined make macro "CTEST" to "/home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/ctest" Executing: /home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/cmake --version cmake --version failed: Could not execute "['/home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/cmake --version']": /home/h/hngharti/hngharti/lsoft/cmake-3.23.1/bin/cmake: error while loading shared libraries: libfabric.so.1: cannot open shared object file: No such file or directory you need to either install a better cmake or have PETSc install one using --download-cmake > On Nov 7, 2022, at 12:48 PM, Hom Nath Gharti <hng.em...@gmail.com> wrote: > > Dear all, > > I am trying to compile the latest version, but I am getting the following > error: > ******************************************************************************* > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for > details): > ------------------------------------------------------------------------------- > Error configuring METIS with CMake > ******************************************************************************* > > When I remove this package from the configure option, I get the same error > for other packages. Is there something wrong with my configure command or > compilers? > > Attached is the configure log file. > > Best, > Hom Nath > <configure.log>