Closed kiranchandramohan closed 5 years ago
This is the problem with modulewise SAVE attribute. I've hit this problem before when one of my proposed fixes made RAPS16 to fail and I had to close my pull request and propose different solution: https://github.com/flang-compiler/flang/pull/469
I'm able to build m_mixing.F90 of siesta-4.1-b4 without errors or warnings. Can be closed I guess?
Thanks, @pawosm-arm for informing. Thanks, @gklimowicz for the fix.
Siesta (https://launchpad.net/siesta) is an open source application for electronic structure calculations and ab initio molecular dynamics simulations.
The following internal error is produced by the compiler while compiling the file Src/m_mixing.F90 in the Siesta application.
The lines in questions are:
where the module variables are defined higher up in the module initialisation section as:
Note : If the save statement is removed then the compilation passes successfully.