Ok, so basically ifort is complaining about some re-ordering it has done.
Do you also have -g in the compilation flags?
Secondly, if this is the only error message ifort produces for us I am in no position to check what causes this (my guess is yet another compiler bug for high optimizations with intel, same as e.g. atom.F). I can compile with a very high optimization level in gnu fortran, with no problems. I also made a pedantic syntax check using gfortran, with no errors (-fsyntax-only -pedantic).
For the record, which intel version are you using?
Lastly, have you checked the results, i.e. does the commit fix the PDOS calculations?
Ok, so basically ifort is complaining about some re-ordering it has done.
Do you also have -g in the compilation flags?
Secondly, if this is the only error message ifort produces for us I am in no position to check what causes this (my guess is yet another compiler bug for high optimizations with intel, same as e.g. atom.F). I can compile with a very high optimization level in gnu fortran, with no problems. I also made a pedantic syntax check using gfortran, with no errors (-fsyntax-only -pedantic).
For the record, which intel version are you using?
Lastly, have you checked the results, i.e. does the commit fix the PDOS calculations?