[petsc-users] PETSc in PDSLin

Afrah Najib afrah.nacib at gmail.com
Fri Sep 1 04:48:38 CDT 2017


I want to use use PETSc in a hybrid solver(direct- iterative) called PDSLin
2.0.0.[http://portal.nersc.gov/project/sparse/pdslin/]

the version of PETSc used is petsc3.7.6. When running the examples, I got
the following errors:



:~/pdslin_2.0.0/examples$ make all
/usr/share/mpich-install/bin/mpicc -I/usr/share/mpich-install/include
-I/home/afrah/pdslin_2.0.0/include  -I/home/afrah/SuperLU_DIST_5.1.2/SRC
 -I/usr/include  -I/usr/local/include
-I/home/afrah/PETSc-library2/petsc-3.7.6/source/include
-I/home/afrah/PETSc-library2/petsc-3.7.6-complex/source/include
-I/home/afrah/scotch-6.0.4/include -c dtest.c -o dtest.o -g -O0 -fopenmp
-std=c99 -DWITH_PETSC
dtest.c: In function ‘main’:
dtest.c:53:20: warning: implicit declaration of function
‘pdslin_print_input’ [-Wimplicit-function-declaration]
    if ( !proc_id ) pdslin_print_input(&input);
                    ^
dtest.c:127:39: warning: implicit declaration of function
‘pdslin_print_stat’ [-Wimplicit-function-declaration]
    if( input.verbose == PDSLin_VALL ) pdslin_print_stat( &sta
                                       ^
/usr/share/mpich-install/bin/mpicc -fopenmp  dtest.o
 -L/usr/share/mpich-install/lib/libmpi.a
/home/afrah/pdslin_2.0.0/lib/libpdslin.a
-lm -llapack -lblas -Wl,-rpath,/home/afrah/SuperLU_DIST_5.1.2/lib
-L/home/afrah/SuperLU_DIST_5.1.2/lib -lsuperlu_dist
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmetis
-Wl,-rpath,/usr/share/parmetis/lib
-L/usr/share/parmetis/lib -lparmetis -L/home/afrah/PETSc-library2/
petsc-3.7.6/source/lib/libpetsc.so  -o dtest -g -O0 -fopenmp -std=c99
-DWITH_PETSC
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`PetscMPITypeSizeComm':
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:328:
undefined reference to `PetscError'
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:329:
undefined reference to `PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dcomp_schur':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:92: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:92: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:121: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:121: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:129: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o):/
home/afrah/pdslin_2.0.0/src/dpdslin_core.c:129: more undefined references
to `petsc_gather_ct' follow
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dcomp_sol':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:486: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:486: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:495: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:495: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:496: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o):/
home/afrah/pdslin_2.0.0/src/dpdslin_core.c:496: more undefined references
to `petsc_allreduce_ct' follow
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dcomp_sol':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:614: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:614: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:625: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:625: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:625: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:659: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:659: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:793: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:793: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:793: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:795: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:795: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:795: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:803: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:803: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:812: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:812: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:862: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:862: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:891: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o):/
home/afrah/pdslin_2.0.0/src/dpdslin_core.c:891: more undefined references
to `petsc_allreduce_ct' follow
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dallgather_ssol':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1094: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1094: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dsparsify_schur':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1331: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1331: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1357: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o):/
home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1357: more undefined references
to `petsc_gather_ct' follow
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_core.o): In function
`dsparsify_schur':
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1789: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1789: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1861: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_core.c:1861: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`PetscMPITypeSizeComm':
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:328:
undefined reference to `PetscError'
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:329:
undefined reference to `PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dpetsc_init':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:60: undefined reference to
`PetscInitialized'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:62: undefined reference to
`PetscInitialize'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:63: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dpetsc_clean':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:71: undefined reference to
`PetscFinalize'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:72: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dsolve_schur_petsc':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:164: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:164: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:164: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:229: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:229: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:229: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:251: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:251: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:251: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:292: undefined reference to
`VecCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:292: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:293: undefined reference to
`VecSetSizes'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:293: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:294: undefined reference to
`VecSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:294: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:295: undefined reference to
`VecDuplicate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:295: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:296: undefined reference to
`VecDuplicate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:296: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:305: undefined reference to
`MatCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:305: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:306: undefined reference to
`MatSetSizes'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:306: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:308: undefined reference to
`MatSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:308: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:311: undefined reference to
`MatCreateShell'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:312: undefined reference to
`MatShellSetOperation'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:325: undefined reference to
`MatCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:325: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:326: undefined reference to
`MatSetSizes'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:326: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:328: undefined reference to
`MatSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:328: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:346: undefined reference to
`MatMPIAIJSetPreallocation'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:347: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:348: undefined reference to
`MatSeqAIJSetPreallocation'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:349: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:359: undefined reference to
`MatMPIAIJSetPreallocation'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:360: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:361: undefined reference to
`MatSeqAIJSetPreallocation'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:362: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:377: undefined reference to
`MatSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:378: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:383: undefined reference to
`MatAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:383: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:384: undefined reference to
`MatAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:384: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:386: undefined reference to
`MatAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:386: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:387: undefined reference to
`MatAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:387: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:396: undefined reference to
`VecSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:397: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:397: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:398: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:398: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:409: undefined reference to
`KSPCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:410: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:421: undefined reference to
`KSPSetOperators'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:427: undefined reference to
`KSPSetOperators'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:430: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:439: undefined reference to
`KSPSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:439: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:440: undefined reference to
`KSPSetTolerances'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:441: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:450: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:450: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:451: undefined reference to
`KSPGMRESSetRestart'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:451: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:463: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:463: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:468: undefined reference to
`KSPGMRESSetRestart'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:468: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:470: undefined reference to `
KSPGMRESModifiedGramSchmidtOrthogonalization'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:470: undefined reference to
`KSPGMRESSetOrthogonalization'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:471: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:473: undefined reference to `
KSPGMRESClassicalGramSchmidtOrthogonalization'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:473: undefined reference to
`KSPGMRESSetOrthogonalization'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:474: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:481: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:481: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:483: undefined reference to
`KSPSetPCSide'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:483: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:488: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:488: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:495: undefined reference to
`KSPGetPC'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:495: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:502: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:502: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:503: undefined reference to
`PCFactorSetLevels'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:503: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:510: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:510: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:520: undefined reference to
`PCFactorSetDropTolerance'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:522: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:527: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:527: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:528: undefined reference to
`PCASMSetOverlap'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:528: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:535: undefined reference to
`KSPSetUp'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:535: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:536: undefined reference to
`PCASMGetSubKSP'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:536: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:538: undefined reference to
`KSPGetPC'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:538: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:539: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:539: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:540: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:540: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:544: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:572: undefined reference to
`PCShellSetApply'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:573: undefined reference to
`PCShellSetContext'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:589: undefined reference to
`KSPSetInitialGuessNonzero'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:590: undefined reference to
`VecSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:592: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:592: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:593: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:593: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:595: undefined reference to
`KSPSetInitialGuessNonzero'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:601: undefined reference to
`KSPSolve'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:602: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:613: undefined reference to
`KSPGetConvergedReason'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:617: undefined reference to
`KSPGetIterationNumber'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:628: undefined reference to
`KSPGetResidualNorm'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:635: undefined reference to
`PETSC_VIEWER_STDOUT_'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:635: undefined reference to
`KSPView'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:636: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:664: undefined reference to
`VecGetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:677: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:677: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:678: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:678: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:679: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:679: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:680: undefined reference to
`MatDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:680: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:681: undefined reference to
`KSPDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:681: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:707: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:707: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:708: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:708: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dprecond_slu':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:781: undefined reference to
`PCShellGetContext'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:847: undefined reference to
`VecGetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:848: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:858: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:858: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:876: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:876: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:881: undefined reference to
`VecSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:883: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:884: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:884: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:885: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:885: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dmatop':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1025: undefined reference to
`MatShellGetContext'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1064: undefined reference to
`VecGetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1066: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1093: undefined reference to
`VecSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1095: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1096: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1096: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1097: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1097: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dmat_schur':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1161: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1161: undefined reference to
`petsc_gather_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1379: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1379: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1379: undefined reference to
`petsc_send_len'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1399: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1399: undefined reference to
`petsc_allreduce_ct'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_petsc.o): In function
`dpetsc_iluksolver':
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1486: undefined reference to
`PETSC_COMM_WORLD'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1486: undefined reference to
`VecCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1486: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1487: undefined reference to
`VecSetSizes'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1487: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1488: undefined reference to
`VecSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1488: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1489: undefined reference to
`VecDuplicate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1489: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1490: undefined reference to
`VecDuplicate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1490: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1498: undefined reference to
`PETSC_COMM_WORLD'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1498: undefined reference to
`MatCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1498: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1499: undefined reference to
`MatSetSizes'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1499: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1501: undefined reference to
`MatSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1501: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1515: undefined reference to
`MatSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1520: undefined reference to
`MatAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1520: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1521: undefined reference to
`MatAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1521: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1529: undefined reference to
`VecSetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1530: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1531: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1531: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1532: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1532: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1538: undefined reference to
`PETSC_COMM_WORLD'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1538: undefined reference to
`KSPCreate'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1539: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1548: undefined reference to
`KSPSetOperators'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1550: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1557: undefined reference to
`KSPSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1557: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1558: undefined reference to
`KSPSetTolerances'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1559: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1561: undefined reference to
`KSPSetResidualHistory'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1567: undefined reference to
`KSPGetPC'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1567: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1568: undefined reference to
`PCSetType'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1568: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1572: undefined reference to
`PCFactorSetLevels'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1572: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1574: undefined reference to
`KSPSetFromOptions'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1574: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1580: undefined reference to
`KSPSolve'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1581: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1586: undefined reference to
`KSPGetConvergedReason'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1593: undefined reference to
`KSPGetIterationNumber'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1594: undefined reference to
`KSPGetResidualNorm'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1610: undefined reference to
`VecAssemblyBegin'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1610: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1611: undefined reference to
`VecAssemblyEnd'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1611: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1615: undefined reference to
`VecGetValues'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1622: undefined reference to
`PETSC_COMM_WORLD'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1622: undefined reference to
`PETSC_VIEWER_STDOUT_'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1622: undefined reference to
`KSPView'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1623: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1628: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1628: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1629: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1629: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1630: undefined reference to
`VecDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1630: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1631: undefined reference to
`MatDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1631: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1632: undefined reference to
`KSPDestroy'
/home/afrah/pdslin_2.0.0/src/dpdslin_petsc.c:1632: undefined reference to
`PetscError'
/home/afrah/pdslin_2.0.0/lib/libpdslin.a(dpdslin_fgmres.o): In function
`PetscMPITypeSizeComm':
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:328:
undefined reference to `PetscError'
/home/afrah/PETSc-library2/petsc-3.7.6/source/include/petsclog.h:329:
undefined reference to `PetscError'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170901/7bc49980/attachment-0001.html>


More information about the petsc-users mailing list