- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Adrian
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having trouble coming up with a scenario where the include would work but the USE would not. If the problem persists, please report it to Intel Premier Support and attach a ZIP of your project.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ie. a simple program such as:
program test
include 'fgraph.fd'
end
fails when compiled with:
ifort /c test.for /INCLUDE:D:
The message is:
C:PROGRA~1IntelCompilerFortran9.0IA32includefgraph.fd(18) : Error: Error in opening the Library module file. [IFQWIN]
It finds fgraph.fd just fine in C:Program FilesIntelCompilerFortran9.0IA32Include (which is in the INCLUDE env. variable), but somehow can't find ifqwin.mod even though it is in the same place.
If the user uses a lowercase include, as:
ifort /c test.for /free /include:C:the program works fine.
The uppercase is being interpreted as -I
I just checked CVF, and it allows both upper and lowercase spellings of "include", so I'll fix up the ifort driver to do the same.
In the meantime - if the customer really needs a workaround, have them either lowercase the "INCLUDE" or use simply /I:
======================================================
- 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
ifort /nologo /c /iface:cvf /Z7 /TfD:adrian-nsfpds_place2file_dump.for /define:INTEL9 /Qsave /Fods_place2file_dump.obj /include:D:adrian-nsfp,u:debug,u:source,baseline1sglomniworksclient6.1E444win32_95_x86 /fpconstant /real_size:64
D:adrian-nsfpds_place2file_dump.for(1065) : Error: Error in opening the Library module file. [DFLIB]
use DFLIB
----------^
include=D:Program FilesIntelCompilerFortran9.0IA32include;d:adrian-nsfp;u:debug;u:source;D:VS7.1Vc7include; D:VS7.1Vc7atlmfcinclude;D:VS7.1Vc7PlatformSDKinclude;C:WINNTDeveloperScriptIfxInclude; C:WINNTinclude;baseline1sglomniworksclient6.1E444win32_95_x86;D:wingpdversion3;C:WINNT;C:Program FilesCommon FilesSystemado;D:VS6VC98ATLINCLUDE;D:VS6VC98INCLUDE;D:VS6VC98MFCINCLUDE;D:VS6DF98include;D:VS7.1SDKv1.1include;D:microsoft platform sdksrcwtlinclude
Adrian
Message Edited by sblionel on 09-15-2005 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahhhhhh I think I see the problem.
The syntax for /include is
/include:
and you use multiple /include switches, such as:
/include:adrian-nsfp /include:u:debug /include:u:source /include:baseline1sglomniworksclient6.1E444
I would not be surprised at all if the include processing within the compiler became "confused" by incorrect syntax, and refused to look in any of the include directories. That was what happened with the capitalized /INCLUDE from a few posts back.
Please try changing your command line as suggested, and let us know if it worked.
- Lorri
Message Edited by sblionel on 09-15-2005 12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lorri,
Yes that does work, however it is a change from the syntax allowed with DF.EXE, which means lots of changes to our scripts - is there any reason the previous syntax does not work?
Adrian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lorri,
I have worked around this by adding a batch file wrapper around the ifort.exe call which translates the comma separated include directories into separate include statements. However I not happy with this solution as it requires everyone to use this batch file instead of the compiler executable.
Do you know if this will be fixed in later versions of the product?
Adrian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The best way to get this fixed is to submit a problem report via support. Please also point out that it's an incompatibility with CVF, OK?
- Lorri

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