> tmp_dir = '/home/hamed/Desktop/quartz/out/scf.save' For tmp_dir you should use the same value you used for "outdir" in the input of pw.x. I think it is probably not what you did here. cheers -- Lorenzo Paulatto - Paris