I’m trying to systematize the compilation of FreeFEM in my machines, making it as clean as possible, and I’d like to build FreeFEM using my own PETSc and SLEPc builds (installed in custom prefixes), but I wasn’t able to succeed. Apparently, you can do --with-petsc="$PETSC_DIR"/lib/conf/petscvariables but there’s no equivalent for SLEPc.
How are you supposed to tell configure where to find SLEPc?
Also, even using the --with-petsc="$PETSC_DIR"/lib/conf/petscvariables, it does find my PETSc build, and shows several lines related to having found PETSc, but however configure ends telling “with PETSC: no”
I’d prefer to avoid FreeFEM building its own PETSc/SLEPc, because that custom build looks like a spaghetti Makefile prone to problems when using the tree in future systems.
Thanks for any suggestions you can give!