Error of using standard modules during compilation
Posted: Mon Jul 31, 2017 7:38 pm
Hello everyone,
I work on the simulation of electric arc in DC plasma torch with electrodes included into the domain. Before I have used Code_Saturne 4.2 and recently I've decided to switch to Code_Saturne 5.0 because I need internal coupling for electrodes simulation.
I compared user code examples for CS5.0 with my code files for CS4.2 and adapted my code files for CS5.0. But if I start compilation, I encounter 27 similar problems as following:
Please find compilation log attached.
I encounter this problem on Ubuntu with CS5.0 and on Windows with CS4.3.
Does somebody know how can I compile my code with using standard modules and start calculation with CS5.0?
Best regards,
Rodion
I work on the simulation of electric arc in DC plasma torch with electrodes included into the domain. Before I have used Code_Saturne 4.2 and recently I've decided to switch to Code_Saturne 5.0 because I need internal coupling for electrodes simulation.
I compared user code examples for CS5.0 with my code files for CS4.2 and adapted my code files for CS5.0. But if I start compilation, I encounter 27 similar problems as following:
Code: Select all
use numvar
1
Error: ‘cs_user_initialization’ of module ‘numvar’, imported at (1), is also the name of the current program unit
/home/rodion/TransfArc/Case3_Argon/RESU/20170731-2002/src_saturne/cs_user_initialization.f90:89:4:
use optcal
1
Error: ‘cs_user_initialization’ of module ‘optcal’, imported at (1), is also the name of the current program unit
/home/rodion/TransfArc/Case3_Argon/RESU/20170731-2002/src_saturne/cs_user_initialization.f90:90:4:
use cstphy
1
Error: ‘cs_user_initialization’ of module ‘cstphy’, imported at (1), is also the name of the current program unit
/home/rodion/TransfArc/Case3_Argon/RESU/20170731-2002/src_saturne/cs_user_initialization.f90:92:4:
I encounter this problem on Ubuntu with CS5.0 and on Windows with CS4.3.
Does somebody know how can I compile my code with using standard modules and start calculation with CS5.0?
Best regards,
Rodion