- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
in my project I havetwo DLLs and a main program. One DLL only contains a sharedVariablesmodule, the second DLL initialises the sharedVariables and the main program uses them.
But now I cannot watch the sharedVariables in the debugger, although they are used correctly (i.e. by writing their value ina textfile).
sharedVariables::alpha for example is evaluated as "Undefined variable", the tool tip while moving the mouse over alpha says3.6433238E-29.
Is there a way to watch these values in debugger? I use IVF10.1.025.
Thanks in advance,
Markus
PS: This is why I use thetwo DLL and main program mechanism: Before thatI read a textfile which contained the start values. To preventthe customer can edit this textfile, I wrote a subroutine that initialises the variables. Because I want to be able to substitute these intial values I create a DLL that I could send the customer.
Creating a MD5 hash of the textfile wont do the trick because the MD5 would be different when I manipulate the textfile.
in my project I havetwo DLLs and a main program. One DLL only contains a sharedVariablesmodule, the second DLL initialises the sharedVariables and the main program uses them.
But now I cannot watch the sharedVariables in the debugger, although they are used correctly (i.e. by writing their value ina textfile).
sharedVariables::alpha for example is evaluated as "Undefined variable", the tool tip while moving the mouse over alpha says3.6433238E-29.
Is there a way to watch these values in debugger? I use IVF10.1.025.
Thanks in advance,
Markus
PS: This is why I use thetwo DLL and main program mechanism: Before thatI read a textfile which contained the start values. To preventthe customer can edit this textfile, I wrote a subroutine that initialises the variables. Because I want to be able to substitute these intial values I create a DLL that I could send the customer.
Creating a MD5 hash of the textfile wont do the trick because the MD5 would be different when I manipulate the textfile.
Link Copied
10 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PPS: This is how I declare Alpha in the module sharedVariables...
real(kind=4) :: Alpha
!DEC$ ATTRIBUTES DLLEXPORT :: Alpha
In my main program I dont use the DLLIMPORT attribute because it is not neccesary. Alpha is declared in a module and so the DLLIMPORT is absolete.
Markus
real(kind=4) :: Alpha
!DEC$ ATTRIBUTES DLLEXPORT :: Alpha
In my main program I dont use the DLLIMPORT attribute because it is not neccesary. Alpha is declared in a module and so the DLLIMPORT is absolete.
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try version 11, or at least 10.1.029. We have made improvements in "watching" since 025. 11.0.066 would be my recommendation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My licence expired shortly after 10.1.025, so I have to renew it... Not I by myself but my boss (like every boss)doesnt want to spend extra money :-)
By the way, is this error fixed in the latest IVF version?Tool tip of german Umlaute freezes debugger http://software.intel.com/en-us/forums/showthread.php?t=58552
I just locked in into the Registration center to find out the price for a renewal of my lincense. I have Fortran with MKL right now. I was confused that there is a buy link at the Intel Compiler Suite as well (but not at the Fortran with IMSL version). Can I upgrade to the Compiler Suite through a support renewal?
Markus
By the way, is this error fixed in the latest IVF version?Tool tip of german Umlaute freezes debugger http://software.intel.com/en-us/forums/showthread.php?t=58552
I just locked in into the Registration center to find out the price for a renewal of my lincense. I have Fortran with MKL right now. I was confused that there is a buy link at the Intel Compiler Suite as well (but not at the Fortran with IMSL version). Can I upgrade to the Compiler Suite through a support renewal?
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that the umlaunt problem will be fixed in an update later this month. No, you can't change products using a support renewal. I know some companies offer that sort of upgrade but we don't at present. The Compiler Suite product is not offered with IMSL.
I'm not entirely certain of what you are seeing at the Intel Registration Center. Perhaps you can use the "Live Chat" feature there to get assistance.
I'm not entirely certain of what you are seeing at the Intel Registration Center. Perhaps you can use the "Live Chat" feature there to get assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Try version 11, or at least 10.1.029. We have made improvements in "watching" since 025. 11.0.066 would be my recommendation.
I renewed my license, but I still cant watch variables that were declared in a DLL (IVF 11.0.072).
Is this still on the IVF Integration Teams to do list?
The other problems Ive had in the past (umlaut freeze, crash when watch var*2.1) were fixed, thanks for the good job!
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The watch issues should be fixed, but you have to rebuild the appliication. It isn't just the debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
The watch issues should be fixed, but you have to rebuild the appliication. It isn't just the debugger.
No, I cant watch this variable. My code looks like this:
[cpp]module sharedDLL implicit none real(kind=4) :: variableInDLL = 0.5 !DEC$ ATTRIBUTES DLLEXPORT :: variableInDLL end module sharedDLL[/cpp]
But when I try to watch the value of variableInDLL, it says 2.5305179E-29. When I assign the value to the variable runTime, runTime has the value 0.5

Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does watching sharedll::variableinDLL work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Does watching sharedll::variableinDLL work?
No. In that case the value is "Undefined variable sharedDLL::variableInDLL".
Markus

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Does watching sharedll::variableinDLL work?
With release 74 of IVF11 it works!
Thanks for adding this feature.
Markus

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page