- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is just a curiosity since the code work :-)
I was worried if this warning could affect the effeciency.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!).

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page