Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Important Update: Community Platform Migration​. Learn more​>

Conflict with USE statement

tmcole
Beginner
1,811 Views
Thanks to Jugoslav, I can now update output to a dialog box without having it disappear or require user interaction. However, when putting my code into the computational area of Jugoslav's example and putting in the appropriate USE statements, I now have a conflict with a variable called DLT. This variable contains the current timestep as I integrate hydrodynamic equations over time.

Needless to say, this variable occurs all over the place in the code. Rather than renaming hundreds of instances of DLT in my code, I was hoping to rename DLT in the appropriate DFxxxxx module, but DLT is nowhere to be found in the CVF modules. Any suggestions as to where else this conflict may be arising?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,811 Views
I'm not aware of a DLT symbol in the CVF-supplied modules. Search the other modules you use. Or better, use ONLY clauses on all the modules to bring in just the symbols you want.

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,811 Views
D'oh, DLT is a stupid PARAMETER defined in DFWINTY.f90, related with DeviceIOCtl API.

Either:
1) USE DFWIN, ONLY:
or
2) USE DFWIN, Fred=>DLT
(to rename the offending symbol into "Fred")

Jugoslav
0 Kudos
Reply