reduce compiling for slepc