- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a weird one: I put all the options to ifort in an indirect file, it looks like this:
/reentrancy:threaded
/recursive
/Qprec
/heap-arrays:1
/tune:pn4
/architecture:pn4
/compile-only
/extend-source:132
/noaltparam
/optimize:0
/inline:none
/Qprec
/RTCu
/debug:all
/debug-parameters:all
/check:all
/warn:all
/Object:"BinEval.Obj"
/Debug:"DbgEval.pdb"
/Module:"ModEval.Mod"
/include:".Inc"
"E:CnvSrcEvalEval.f90"
... and I run it with: ifort indir.Cmd
And this is what comes out of the compiler:
Intel Fortran Compiler for 32-bit applications, Version 9.1 Build 20070109Z
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
ifort -Qvc8 "-Qlocation,link,e:Program FilesMicrosoft Visual Studio 8VCBin" /reentrancy:threaded /recursive /Qprec /heap-arrays:1 /tune:pn4 /architecture:pn4 /compile-only /extend-source:132 /noaltparam /optimize:0 /inline:none /Qprec /RTCu /debug:all /debug-parameters:all /check:all /warn:all /Object:BinEval.Obj /Debug:DbgEval.pdb /Module:ModEval.Mod /include:.Inc E:CnvSrcEvalEval.f90
ifort: Command line warning: ignoring option '/object'; argument requiredifort: Command line warning: ignoring unknown option '/Oj'
ifort: Command line warning: ignoring unknown option '/Oe
ifort: Command line warning: ignoring unknown option '/Oc'
ifort: Command line warning: ignoring option '/optimize'; argument required
ifort: Command line warning: ignoring option '/object'; argument required
ifort: Command line warning: ignoring unknown option '/On'
ifort: Command line warning: ignoring unknown option '/O'
ifort: Command line warning: ignoring unknown option '/OE'
ifort: Command line warning: ignoring unknown option '/Ov'
ifort: Command line warning: ignoring unknown option '/Ol'
ifort: Command line warning: ignoring unknown option '/O.'
ifort: Command line warning: ignoring unknown option '/OO'
ifort: Command line warning: ignoring option '/object'; argument required
ifort: Command line warning: ignoring unknown option '/Oj'
30 DAY EVALUATION LICENSE
---------------------------------------------------------------
What the heck? Pardon my French.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
my typo, of course i ran it with:
... and I run it with: ifort @indir.Cmd
... looking at the output it looks like the option scanner is taking the first letter of the /O option, then every
other letter after that, one at a time. Weird.
And, no, I don't think I turned on some UniCode option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
never mind!
It seems you cant capitalize "/Object:xxxx" it thinks you mean /Osomething as in "optimize"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you have it exactly correct.
Unlike CVF, with Intel Fortran the switch "/object" is case sensitive.
Moreover, /Oanything is interpreted as several optimize options concatenated together.
I'm glad you were able to figure this out, and sorry about the inconvenience --
- Lorri
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page