[petsc-users] pkg-config
Adrian Croucher
a.croucher at auckland.ac.nz
Sun Oct 7 20:09:06 CDT 2018
hi
I am experimenting with using pkg-config to help build my code, and
using the PETSc.pc file in $PETSC_DIR/$PETSC_ARCH/lib/pkgconfig.
At present it is not working, because the PETSc.pc file sets Libs:
-L${libdir} -lpetsc
where libdir=${prefix}/lib, and (in my case at least) prefix is equal to
$PETSC_DIR.
But the PETSc library is not in $PETSC_DIR/lib, it is in
$PETSC_DIR/$PETSC_ARCH/lib.
Have I messed something up in my PETSc config so that the PETSc.pc file
is not quite right?
- Adrian
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
More information about the petsc-users
mailing list