Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

funny echo

grg99
Beginner
445 Views

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.

0 Kudos
3 Replies
grg99
Beginner
445 Views

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.

0 Kudos
grg99
Beginner
445 Views

never mind!

It seems you cant capitalize "/Object:xxxx" it thinks you mean /Osomething as in "optimize"

0 Kudos
Lorri_M_Intel
Employee
445 Views

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

0 Kudos
Reply