- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simple question.
I have a IFX or IFORT project with 50 .f source files. These source files includes a lot of preprossing derivatives such as
#IF DEFINED LBCEL_RAD || DEFINED LBCUV_RAD
INTEGER NTEMP
REAL(KIND=8), PARAMETER :: EPS = 1.0E-20
REAL(KIND=8) :: CE, CX, CFF, DUDE, DUDT, DUDX
#ENDIF
I want to prepross these .f files and save them to anther dirctory.
Is it easy to achieve? I have ifort compiler under both windows and linux system.
Thanks!
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try:
fpp /P /noC infile.f \somewhere\outfile.f
You can do this from a script file (e.g. batch on windows, bash on Linux)
Jim Dempsey
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try:
fpp /P /noC infile.f \somewhere\outfile.f
You can do this from a script file (e.g. batch on windows, bash on Linux)
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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