<html>Dear developers,<br />I'am develloping a module that call several times run_pwscf for relaxations.<br /><br />However, in PW/src/run_pwscf.f90, the variable ions_status is defined as <br />INTEGER :: ions_status = 3<br />which do not allow to call run_pwscf for moving ions two consecutives times because it save the final value (which is 0) as global.<br />Hence, during the next call the value of ions_status is not set to 3 but is always 0 and the relaxation cannot be performed.<br /><br />Is it possible to change it into two lines:<br />INTEGER ::ions_status<br />ions_status =3<br />which is the proper way to do and permits to call several times run_pwscf (and of course change nothing for the move_ions code).<br /><br />Thank you very much<br /><br />Antoine Jay<br />LAAS-CNRS<br />Toulouse, France</html>