- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am compiling my code like so
ifort -c -check -g -debug extended -debug-parameters -traceback -u -fp-stack-check -warn -guide -qopt-report=5 phenology_driv.f90 ifort: remark #10397: optimization reports are generated in *.optrpt files in the output location
However after compilation ends the file phenology_driv.optrpt only shows
Intel(R) Advisor can now assist with vectorization and show optimization report messages with your source code. See "https://software.intel.com/en-us/intel-advisor-xe" for details. Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.0.104 Build 20170811 Compiler options: -c -check -g -debug extended -debug-parameters -traceback -u -fp-stack-check -warn -guide -qopt-report=5
In the project there are also a couple of C files and despite those being compiled with the same flags they actually contain report details.
Am I doing something wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I guess I was doing something wrong in that I had no optimization flags...
Strange though that for the C files report was produced even with -O0.
However now I am faced with another issue: it takes an extremely long time to produce the outputs. I have one file (which admittedly is too long, around 30k lines) and since a couple of hours the compiler is stuck there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you tacked this on to a subject with little relationship, without any details, you may not get at most generalities for answers. Such a file may be too large to build with full optimizations; in particular, you might set -fno-inline-functions (assuming it has more than 1 procedure of significant size).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page