Quantcast
Channel: Intel® Software - Intel® Advisor
Viewing all articles
Browse latest Browse all 178

Windows gcc/gfortran usage

$
0
0

Apparently, the developers have enabled Advisor to work with gnu compilers even on Windows.  It took me weeks to get anywhere with it, as I didn't find any explanations.  Here is what I have done:

$ gfortran  -O3  -funroll-loops --param max-unroll-times=4 -ffast-math -march=native -g3 -gdwarf-2 -mno-fma -cpp -fopenmp maind.F loopdfv.F forttime.f90

Open a Windows cmd window and run advisor\advixe-vars.bat then set up gfortran environment e.g. by \cygwin64\cygwin.bat

run advixe-gui, setting OMP_NUM_THREADS and OMP_SCHEDULE in Advisor environment variables (as well as designating the .exe)

Now survey target Collect yields a Survey Report listing the hotspot source line locations (in either Fortran or C++ source).  Clicking on those locations enables view of assembly (but not source) code.


Viewing all articles
Browse latest Browse all 178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>