[petsc-users] Eigenvalues always converge to zero when using slepc4py-complex

Jose E. Roman jroman at dsic.upv.es
Mon Oct 4 08:10:21 CDT 2021


Conda supports complex scalars for petsc4py. However, this is not implemented in slepc4py. Lisandro is trying to get this fixed, so if no issues arise this will be available in a couple of days, with slepc4py-3.16.0.

Jose


> El 3 oct 2021, a las 22:45, Yelyzaveta Velizhanina <velizhaninae at gmail.com> escribió:
> 
> Dear all,
> 
> I am having a problem to get EPS run properly with PETSc and SLEPc build with scalar_value=complex. I am using petsc4py and slepc4py. Installed everything, including PETSc and SLEPc, with conda. While real scalar value build works well, when using the complex one, all the eigenvalues always converge to 0 for any matrix and any solver. I’ve tried running examples given in this repo https://github.com/myousefi2016/slepc4py as well - same outcome, only zero eigenvalues. I am running MacOSX BigSur.
> 
> Will appreciate any help,
> 
> Best regards,
> Yelyzaveta Velizhanina.



More information about the petsc-users mailing list