On Mon, 11 Nov 2024, David Jiawei LUO LIANG wrote:

> 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

I don't understand what issue you are having.

If you are using petsc from homebew - perhaps you should also use slepc from 
homebrew.

Or install both PETSc,SLEPc, openmpi from sources

[from PETSc]
./configure --download-openmpi --download-slepc

If you still have issues - please explain in more detail - and send relavent 
logs [for build issues - configure.log, make.log etc..]

Satish

Reply via email to