- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as you see I am new here in this forum.
I have a project comparing ICC vs GCC. I am looking for the best way to start this project. any links/ tutorial/ documentations are more than welcome.
thinking to do some benchmarking with both compilers using SPECInt or any other type of workloads/ programs.
Thanks for your help.
-Lx
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all of you.
I would like to do some optimization using the ICC. which flags you are recommending vs GCC (optimized version as well).
the idea is to have the spec perfromance for GCC vs ICC (baseline), GCC vs ICC (optimized version)?
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kittur.
I guess its the same thing for C and CXX?
ICC
COPTIMIZE = -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
CXXOPTIMIZE = -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
GCC
COPTIMIZE = -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
CXXOPTIMIZE = -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks Kittur.
in my config file I have wrote this and it's not working?! can you help?
for GCC:
#Optimization AVX
int=base=gcc345-yahoo-opt=default:
notes0080= Baseline C: -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
COPTIMIZE = -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
notes0080= Baseline C++: -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
CXXOPTIMIZE = -Ofast-march=core-avx2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
for ICC
int=base=icc=default:
notes0080= Baseline C: icc -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
COPTIMIZE = -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
notes0080= Baseline C++: icpc -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
CXXOPTIMIZE = -xCORE-AVX2 -ipo -O3 -no-prec-div -opt-prefetch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MrB, I searched the spec site and I have attached a config file (to this thread, that you can download) used for one of the hw vendor's cpu2006 test run. You can see clearly there how the general default values are set, and then how for each individual unit tests the values are changed accordingly and you can create one on similar lines.
BTW, the attached config file also shows usage of avx2 and other options like settings for CC, CXX, SSE used (avx, avx2, sse4.2 etc) and set proper values for each unit test and override defaults if need be explicitly. BTW, make sure your system supports avx if you're using avx? To check if your system supports avx, you can do %cat /proc/cpuinfo and look at the values in the 'flags" output. It will have avx or avx2 depending on the system. Hope this helps...
_Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your answer
I have the results for GCC, GCC with optimization, ICC and ICC with Optimization flags:
the base rate for SPECInt2000 for GCC = 358, GCC with OPT= 359 and ICC=364/ ICC with OPT=385.
observation: no difference between the optimized and none optimized versions for GCC and ICC?
any thoughts? any suggestions for GCC or ICC default or optimized flags? Thanks.
GCC with opt:
###########################
# Optimization flags #
###########################
int=default=default=default:
notes0080= Baseline C: -O3 -march=core2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
COPTIMIZE = -O3 -march=core2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
notes0081= Baseline C++: -O3 -march=core2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
CXXOPTIMIZE = -O3 -march=core2 -mfpmath=sse -funroll-loops -fasynchronous-unwind-tables
ICC with opt:
#OPTIMIZATION
int=default=default=default:
notes0080= C: -xAVX -ipo -O3 -no-prec-div -opt-prefetch -opt-mem-layout-trans=3
COPTIMIZE= -xAVX -ipo -O3 -no-prec-div -opt-prefetch -opt-mem-layout-trans=3
notes0081= C++: -xAVX -ipo -O3 -no-prec-div -opt-prefetch -opt-mem-layout-trans=3
CXXOPTIMIZE= -xAVX -ipo -O3 -no-prec-div -opt-prefetch -opt-mem-layout-trans=3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Trying to install SPEC2006. following ./install.sh I have this:
benchspec/CPU2006/998.specrand/data/ref/input/control: FAILED open or read
benchspec/CPU2006/998.specrand/data/ref/output/rand.234923.out: FAILED open or read
benchspec/CPU2006/998.specrand/data/ref/reftime: FAILED open or read
benchspec/CPU2006/998.specrand/data/test/input/control: FAILED open or read
benchspec/CPU2006/998.specrand/data/test/output/rand.24239.out: FAILED open or read
benchspec/CPU2006/998.specrand/data/test/reftime: FAILED open or read
benchspec/CPU2006/998.specrand/data/train/input/control: FAILED open or read
benchspec/CPU2006/998.specrand/data/train/output/rand.3.out: FAILED open or read
benchspec/CPU2006/998.specrand/data/train/reftime: FAILED open or read
benchspec/CPU2006/998.specrand/src/Makefile: FAILED open or read
benchspec/CPU2006/998.specrand/src/main.c: FAILED open or read
benchspec/CPU2006/998.specrand/src/specrand.c: FAILED open or read
benchspec/CPU2006/998.specrand/src/specrand.h: FAILED open or read
......
Is that normal???
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MrB,
Just back from my vacation and saw your question. Well, it's been sometime ago that I ran spec but you shouldn't be getting such errors and I quickly checked on the Errata for Spec and it doesn't show such errors you mention so something else must be going on. I'll need to investigate this and may be check with our dev team who run spec bmarks with our compiler and will let you know, appreciate much.
Thanks,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MrB,
I chatted with Jin Lin my peer and was told that you now have no issue with Spec install. Let me know otherwise, appreciate much.
Regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kittur,
Yes I am working with Jin. he is helping me :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, I'll sync up with Jin MrB, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mourad,
I'll consider this issue resolved as we sync-ed up and all's taken care of, thanks!
Regards,
Kittur
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »