I'm trying to generate supercell with yambopy using the qepy tools:
with a very simple code:
Code: Select all
from qepy import *
pwinput=PwIn("diamond.scf.in")
print pwinput
mycell=supercell(pwinput,R=[2,2,2],mode='diagonal',write=True)
mycell.qe.write("diamond2x2x2.in")

Claudio
ps in attachment my diamond input file