- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I'm having a strange issue with Intel fortran (2013 XE update2, latest release) under VS2010.
The dependency tracking for f90 modules appears to be broken for some particular formatting of the source code. This suggests a parser error.
In the attached example solutions, my dependencies are as follows:
aaa.f90, includes KINDS and PARMS
kinds.f90
parms.f90, includes KINDS
If parms.f90 is declared as follows:
MODULE parms; USE KINDS; IMPLICIT NONE
INTEGER(KIND=in4), PARAMETER :: NPRINT = 1
END MODULE parms
The dependency tracking fails and the application keeps rebuilding without necessity.
Also, the first compilation fails unless the user builds kinds.f90 first manually.
If on the other hand the formatting is as follows:
MODULE parms
USE KINDS
IMPLICIT NONE
INTEGER(KIND=in4), PARAMETER :: NPRINT = 1
END MODULE parms
Then everything works as expected.
Please note the first line of the module: when using newlines it works but it doesn't when the declaration is on one single line.
Attaching 2 VS2010 solutions, one with the formatting that works ("Right") and one with the defective one ("Wrong"),
When debugging the "Wrong" solution the compiler keeps rebuilding without changing the files, while the other solution works as expected.
I have opened a Premier Support ticket about this, but thought this may be of general interest to explain unexpected behavior.
Regards,
Federico
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the Premier Support ticket number? I think I have seen this issue before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if this is being handled by our support team. I remember an earlier issue where if you used :: in a USE, it didn't see it.
![](/skins/images/06022F5BB6D2F28C8F102671A0F06E85/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page