Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
intel和gnu编译器简单比较
deepin Talks
1911
views ·
0
replies ·
To
floor
Go
fuyao
deepin
2018-03-25 21:56
Author
以前用gfortran和ifort编译同一个程序,印象中运算速度ifort要比gfortran快两倍以上,当时的gcc版本应该比较低,毕竟大部分高性能计算集群的操作系统都是centos。
今天测试了c++程序,编译器版本都比较新,结果出乎意料,gcc要比icc的稍微快一些。
Comparison between gcc and icc
Cpu: E3-1231 v3
System: deepin 15.5
Gcc:
gcc (Debian 6.4.0-2) 6.4.0 20170724
Icc: icc (ICC) 18.0.1 20171018
Test code:
https://github.com/wphu/lizCode
Test case: example/tst1d_simple
Test command: mpiexec -n 5 liz data/input.py
Run time unit: second
gcc
icc
1
56.2261
57.5822
2
54.0172
56.471
3
54.3229
55.6649
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
How to fix grub boot menu that has disappeared?
Looking Deepin ci 25.2.0 Developer/Unstable repositories
Popular Events
More
今天测试了c++程序,编译器版本都比较新,结果出乎意料,gcc要比icc的稍微快一些。