Closed AleksBL closed 1 month ago
Hmm.. how was the HSX
file created? I.e. if you only stored HSX
just after initialization, the fermi-level is not defined, and hence it will be inf.
Hi, It is created using the "HSetupOnly True", which the siesta seems to accept But yes, I guess it actually doesnt determine the Fermi level at any point... Is there any way to avoid making the read_hamiltonian use the Fermi-level?
its a good point, I'll fix it...
Fixed in 0f589e94d
@AleksBL try latest commit!
Thanks, I'll try!
I'll close so I don't forget... ;)
I am trying to use sisl v15.1 to read a .HSX file generated by siesta-rel-5.0. However, when reading the file using the read_hamiltonian function
Hload = sisl.get_sile('siesta.HSX').read_hamiltonian()
returns a matrix with inf values throughout. It seems to come down to the read_fermi_level function returning an inf value.
Should I try another siesta version, or is it a problem with sisl?