Function naming issue in module, duplicate symbol: matrixswitch_m_copy_
Summary:
Issue is coming when compiler is mangaling name of module and subroutine, already a same name of module/subroutine is existing.
Code version:
commit fff55c5a
SIESTA_VERSION = 5.0.0-alpha-35-gb4f28c33
System information:
PGI and AOCC compiler have this issueCompilation output: ld.lld: error: duplicate symbol: matrixswitch_m_copy_
Possible fixes
**In MatrixSwitch.F90 file can we change the name of subroutine m_copy to avoid this error in the compiler. As in MatrixSwitch_m_copy.F90 already there is module name MatrixSwitch_m_copy, which is conflicting with mangled name of module(MatrixSwitch) and subroutine(m_copy) in MatrixSwitch.F90 **
Edited by Deepali