Open the-hampel opened 11 months ago
Also not giving a tuple in the hopping dictionary gives a hard segfault,
from triqs.lattice.tight_binding import TBLattice
H_r = TBLattice(
units=[(1, 0, 0)],
hoppings={
(0) : [[1.]] # Key is missing a comma and is not a tuple, using (0,) works.
},
)
> python test.py
Warning: could not identify MPI environment!
Starting serial run at: 2023-09-01 21:50:50.026024
zsh: segmentation fault python test.py
With wrong input to TBLattice one can provoke a Segmentation Fault. For a two orbital model if one not specifies orbital positions, or defines them wrong is not protected by an error message:
gives: