Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Warning message with openMP and ifort

bilel
Beginner
686 Views
Hello
When I compile fortran files with -openmp option ,I get this warning .
ifort: Command line warning: openmp requires C style preprocessing; using fpp to preprocess
Have you an idea about this ?
0 Kudos
3 Replies
Lorri_M_Intel
Employee
686 Views
Hi Bill -
Yes, it does that for a variety of "historical" reasons.
We hope to remove that requirement soon, but I can't commit to which version.
In the meantime - is it a problem for you, or just a curiousity?
- Lorri
0 Kudos
bilel
Beginner
686 Views
It is just a curiosity since the code work :-)
I was worried if this warning could affect the effeciency.
0 Kudos
hughmerz
Beginner
686 Views
It shouldn't make a difference to the code - it is just a warning indicating that it must execute the fortran preprocessor (-fpp) before compiling with the -openmp flag. I expect that the intel compiler uses the preprocessor to identify openmp directives. The preprocessor only makes macro substitutions and should not affect the resulting efficiency of the code (unless you have preprocessor directives that are normally not included!).
0 Kudos
Reply