link to petsc for intel tests as well
@@ -31,10 +31,10 @@ AC_PROG_FC
AC_C_CONST
if test "x$LMOD_FAMILY_COMPILER" = "xintel"; then
- CFLAGS="-I ${SLEPC_INC} -I ${MKLROOT}/include ${CFLAGS}"
- FFLAGS="-I ${SLEPC_INC} -I ${MKLROOT}/include ${FFLAGS}"
- FCFLAGS="-I ${SLEPC_INC} -I ${MKLROOT}/include ${FFLAGS}"
- LDFLAGS="-L${SLEPC_LIB} -lslepc ${LDFLAGS}"
+ CFLAGS="-I ${SLEPC_INC} -I ${PETSC_INC} ${CFLAGS}"
+ FFLAGS="-I ${SLEPC_INC} -I ${PETSC_INC} ${FFLAGS}"
+ FCFLAGS="-I ${SLEPC_INC} -I ${PETSC_INC} ${FFLAGS}"
+ LDFLAGS="-L${SLEPC_LIB} -lslepc -L${PETSC_LIB} -lpetsc ${LDFLAGS}"
else
CFLAGS="-I ${SLEPC_INC} -I ${PETSC_INC} ${CFLAGS}"
FFLAGS="-I ${SLEPC_INC} -I ${PETSC_INC} ${FFLAGS}"
