Dear Paolo, > >oops...nice bug. Try to replace PW/update_pot.f90 with the attached one. Thank you very much for your help. Now, the code works perfectly with using local disks. Best wishes, Sergey