================================================================================ Starting Configure Run at Fri May 7 17:18:10 2021 Configure Options: --with-clean=1 --prefix=/home/xlzheng/bin/FreeFem/ff-petsc/r --download-arpack=https://github.com/prj-/arpack-ng/archive/b64dccb.tar.gz Working directory: /home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/externalpackages/git.slepc Python version: 3.5.1 (default, May 5 2021, 14:34:28) [GCC 4.8.5] make: /usr/bin/gmake PETSc source directory: /home/xlzheng/bin/FreeFem/ff-petsc/r PETSc install directory: /home/xlzheng/bin/FreeFem/ff-petsc/r PETSc version: 3.15.0 SLEPc source directory: /home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/externalpackages/git.slepc SLEPc install directory: /home/xlzheng/bin/FreeFem/ff-petsc/r SLEPc version: 3.14.99 Cleaning arch dir /home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/externalpackages/git.slepc/installed-arch-linux2-c-opt... ================================================================================ Checking PETSc installation... xxx==========================================================================xxx WARNING: PETSc version 3.15 is newer than SLEPc version 3.14 xxx==========================================================================xxx - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Checking link with code: #include "petscsnes.h" int main() { Vec v; Mat m; KSP k; PetscInitializeNoArguments(); VecCreate(PETSC_COMM_WORLD,&v); MatCreate(PETSC_COMM_WORLD,&m); KSPCreate(PETSC_COMM_WORLD,&k); return 0; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Running command: cd /tmp/slepc-uwylgep_;/usr/bin/gmake checklink LINKFLAGS="" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Output: /opt/openmpi/bin/mpicc -o checklink.o -c -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -D_POSIX_C_SOURCE=199309L -O3 -mtune=native -std=c99 -I/home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/include -I/home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/include -I/home/xlzheng/bin/FreeFem/ff-petsc/r/include -std=c99 `pwd`/checklink.c /opt/openmpi/bin/mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -D_POSIX_C_SOURCE=199309L -O3 -mtune=native -o checklink checklink.o -Wl,-rpath,/home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/lib -L/home/xlzheng/local/FreeFem-sources/3rdparty/ff-petsc/petsc-3.15.0/fr/lib -Wl,-rpath,/home/xlzheng/bin/FreeFem/ff-petsc/r/lib -L/home/xlzheng/bin/FreeFem/ff-petsc/r/lib -Wl,-rpath,/opt/openmpi/lib -L/opt/openmpi/lib -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lpetsc -lHYPRE -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lsuperlu -lf2clapack -lf2cblas -lmmg -lmmg3d -lptesmumps -lptscotchparmetis -lptscotch -lptscotcherr -lesmumps -lscotch -lscotcherr -lparmetis -lmetis -ltet -lstdc++ -ldl -lmpi_f90 -lmpi_f77 -lmpi -libverbs -ldat -lrt -lnsl -lutil -lgfortran -lm -lgcc_s -lpthread -lrt -lstdc++ -ldl /usr/bin/ld: cannot find -lHYPRE collect2: error: ld returned 1 exit status gmake[4]: *** [checklink] Error 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: Unable to link with PETSc