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

Printout Color Coding for f90 files

rasa
Beginner
758 Views
I have two questions:

I am using Intel Visual Fortran Compiler XE 12.1.3.300 (Update 9).

a) Under version 11, when I open the project and print a *.f90 file to printer or PDF, I used to get the printout in color. In Version 12, only the line number is printed out in color and everything else is in B&W. Is there a special setting I need to use in VS2010 + XE Update 9 ?

b) I use '/Qopenmp-link:static' for linking. In the new version, I get a warning that it is deparcated. What's the equivalent in the new version?

Thanks.
0 Kudos
4 Replies
Anonymous66
Valued Contributor I
758 Views
Hi Sara,

a) Color printing was removed in Visual Studio 2010, but Microsoft is offering a color printing extension.

b) The static openmp libraries are depreciated. If you can it is better to use the dynamic libraries which are the default.
0 Kudos
jimdempseyatthecove
Honored Contributor III
758 Views
FWIW you can:

open the file in VS 2010
click on file window
Ctrl-A
Open Word for Windows
Ctrl-V
File | Print

Jim Dempsey
0 Kudos
rasa
Beginner
758 Views
Thanks annalee and jimdempseyatthecove. The color printing issue is resolved after installing the add on.

Regarding the Static linking for OpenMP: I have to do a static linking as the executable is going to be used on different computers that do not have the supporting dynamic DLLs for OpenMP. Would it be best to link statically or dynamically. If I link dynamically don't I have to put "libiomp5md.dll" in the same directory as the EXE? With version 10, I was able to do the static linking without getting the deprecated message.



0 Kudos
Steven_L_Intel1
Employee
758 Views
I recommend that you not try to link to the static OpenMP library as it will be removed as of a release later this year. Yes, you will need to have libiomp5md.dll in the executable folder, or somewhere on PATH. You could also install the Intel Compiler Redistributables package on the target system.
0 Kudos
Reply