Fixing QE compilation issue with the option --enable-legacy_plugins
There was a compilation issue (since QE 7.2 version) when compiling with ./configure --enable-legacy_plugins,
Specifically, there is a line in the PW/src/forces.f90
subroutine:
USE plugin_flags, ONLY: plugin_ext_forces, plugin_int_forces
These subroutines are not present in the plugin_flags
module, they are empty subroutines in the PW/src/
directory, if the line is deleted the code compiles correctly.