[QE-developers] Variable ions_status in run_pwscf
Stefano de Gironcoli
degironc at sissa.it
Thu Dec 19 07:55:11 CET 2019
Hi Antoine,
I think the change you suggest should be fine. It should allow for
multiple calls of run_pwscf without modifying its internal behavior.
thank you
stefano
On 18/12/19 17:45, Antoine Jay wrote:
> Dear developers,
> I'am develloping a module that call several times run_pwscf for
> relaxations.
>
> However, in PW/src/run_pwscf.f90, the variable ions_status is defined as
> INTEGER :: ions_status = 3
> 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.
> 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.
>
> Is it possible to change it into two lines:
> INTEGER ::ions_status
> ions_status =3
> 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).
>
> Thank you very much
>
> Antoine Jay
> LAAS-CNRS
> Toulouse, France
>
> _______________________________________________
> developers mailing list
> developers at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20191219/0eff1bc5/attachment.html>
More information about the developers
mailing list