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

CVF to IVF Conversion Problem

ekelly50
Beginner
630 Views

Hello,

I'm converting a CVF 6.6 app to IVF and I'm having an issue compiling from the command line.I'm running the compiler using abatch file and Ineed the compiler output written to a list file. If there are errors generated during the compilation I need to capture the error messages so they can be reviewed at alater time. In CVF I could use the /List option to send the compiler output to a list file but unfortunately, I see this option is not supported in IVF.

I'vetried using the DOS redirection symbol ">" to accomplish the same thing. No luck. All I get is a 0 byte file. I was really surprised that didn't work.

The other issue I'm having to deal with becauseof the "missing" /list option is that I cannot finda compileroption that willoutput a list of variables along with their types. I'm converting a legacy code with alot of implicit typing and I want positive confirmation of their type. I've re-read the compiler documentations several times and I've tried a few different options but I can't find one that works. Is this type of output supported in IVF?

Any help would be appreciated,

Eric

0 Kudos
4 Replies
Steven_L_Intel1
Employee
630 Views

Use this:

mybatch.bat > mybatch.log 2>&1

There is no option to have the compiler list variables and types. You can use /warn:declarations to have the compiler assume IMPLICIT NONE for all compilations, which will at least tell you if you've declared everything.

0 Kudos
ekelly50
Beginner
630 Views

Thanks for the quick reply.That solved mymain issue. It didn't occur to me that there is more than one output stream.

Is there any plans on adding a option in the future similar to the CVF /list option?

Thanks Again,

Eric

0 Kudos
Steven_L_Intel1
Employee
630 Views
Well, it's on a long list of things people have asked for, but it's not on the schedule yet. My advice is to submit it as a feature request to Intel Premier Support. Include your desire for a variable listing with data types. The more people ask for something, the more likely it is to get implemented.
0 Kudos
ekelly50
Beginner
630 Views

Will do. Thanks -Eric

0 Kudos
Reply