- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The documentation says that if I use the -P switch it will supress the generation of:
#line_number file_name
in the processed source file.
This does not appear to work.
However, -EP does work as expected. So as a work around i am doing ifort -EP input.f90 > output.f90
#line_number file_name
in the processed source file.
This does not appear to work.
However, -EP does work as expected. So as a work around i am doing ifort -EP input.f90 > output.f90
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect you might have a pre-11.x revision butin the 11.1docs, -Pequates to -preprocess-only which now correctly states the operation of the option.
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect you might have a pre-11.x revision butin the 11.1docs, -Pequates to -preprocess-only which now correctly states the operation of the option.
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Kevin Davis (Intel)
I expect you might have a pre-11.x revision butin the 11.1docs, -P equates to -preprocess-only which now correctly states the operation of the option.
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
To accomplish what you want, compile with both: ifort -EP -P -fpp file.f90 (this generates the .i90 sans the # indicators).
Thank you for clarifying this.
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