how can I modify my input file in order that I will be able to read Highest and Lowest Unoccupied orbitals (HOMO and LUMO) in output file either in scf or relax calculations?
If you specify the nbnd value in your pw.x input file, the HOMO and LUMO values will be printed in the output file. YOu need to choose nbnd, depending on your system, pw.x documentation says;
for an insulator, nbnd = number of valence bands (nbnd = # of electrons /2); for a metal, 20% more (minimum 4 more)
Dear Ahadzadeh you may choose nbnd as half number of electron s for semiconductor. You will het the no. electron from the output file of scf calculation.
Thank you all for your suggestions. But how do you display the HOMO and LUMO for a doped-nanotube? For a pristine nanotube, you just add the nbnd and set the occupations to fixed but that doesn't work for a doped nanotube. Regards