for petsc installed by homebrew, the dependency of open-mpi is of version 5.0.5.
But if I configure slepc with petsc, the mpicc compiler link open-mpi of version 5.0.2, defaultly David Jiawei LUO LIANG 南方科技大学/学生/研究生/2024 广东省深圳市南山区学苑大道1088号