Skip to content

Instantly share code, notes, and snippets.

@AladW
Created April 14, 2022 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AladW/50bd935e8e65de00a216a9fe2af57508 to your computer and use it in GitHub Desktop.
Save AladW/50bd935e8e65de00a216a9fe2af57508 to your computer and use it in GitHub Desktop.
================================================================================
Starting Configure Run at Thu Apr 14 20:23:41 2022
Configure Options: --prefix=/home/archie/.cache/aurutils/sync/slepc/pkg/slepc/opt/slepc/linux-c-opt --with-clean=1
Working directory: /home/archie/.cache/aurutils/sync/slepc/src/slepc-3.17.1
Python version:
3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]
make: /usr/bin/make
PETSc source directory: /opt/petsc/linux-c-opt
PETSc install directory: /opt/petsc/linux-c-opt
PETSc version: 3.17.0
SLEPc source directory: /home/archie/.cache/aurutils/sync/slepc/src/slepc-3.17.1
SLEPc install directory: /home/archie/.cache/aurutils/sync/slepc/pkg/slepc/opt/slepc/linux-c-opt
SLEPc version: 3.17.1
================================================================================
Checking PETSc installation...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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-7zs90ke3;/usr/bin/make checklink LINKFLAGS=""
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output:
/usr/bin/mpicc -o checklink.o -c -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I/opt/petsc/linux-c-opt/include -I/usr/include/superlu -I/usr/include/scotch `pwd`/checklink.c
/usr/bin/mpicc -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -o checklink checklink.o -Wl,-rpath,/opt/petsc/linux-c-opt/lib -L/opt/petsc/linux-c-opt/lib -Wl,-rpath,/usr/lib/openmpi -L/usr/lib/openmpi -Wl,-rpath,/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0 -lpetsc -lspqr -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lsuperlu -lfftw3_mpi -lfftw3 -llapack -lblas -lesmumps -lptscotch -lptscotcherr -lscotch -lscotcherr -lbz2 -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lparmetis -lmetis -lm -lX11 -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl
/usr/bin/ld: cannot find -lsuperlu: No such file or directory
/usr/bin/ld: cannot find -lesmumps: No such file or directory
/usr/bin/ld: cannot find -lptscotch: No such file or directory
/usr/bin/ld: cannot find -lptscotcherr: No such file or directory
/usr/bin/ld: cannot find -lscotch: No such file or directory
/usr/bin/ld: cannot find -lscotcherr: No such file or directory
/usr/bin/ld: cannot find -lparmetis: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [makefile:2: checklink] Error 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR: Unable to link with PETSc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment