Guetti wrote:Does somebody have good compile options for crafty using the latest Intel compiler 10.1.012 on linux for amd64/Opteron?
I tried make linux-icc but the compiler tells me that -xN and -Ob2 are not supported anymore.
An can I just compile with 'make profile'?
Use the make linux-64 target. That is what I am using on my 64 bit box with the latest intel compiler... (version 10.whatever)...
Even better:
edit the "profile" target (profile: label) and at the top, change the make target to
"make linux-64-profile" and at the bottom of that section, change the make target to "make linux-64".
Now type "make profile", sit back for about 2 minutes, and you will have a profile-guided version that is built exactly as I build mine...
If you want, email me and I can email you a copy of the make file for my core-2 laptop that is set up to do exactly that already...
Guetti wrote:Does somebody have good compile options for crafty using the latest Intel compiler 10.1.012 on linux for amd64/Opteron?
I tried make linux-icc but the compiler tells me that -xN and -Ob2 are not supported anymore.
An can I just compile with 'make profile'?
Use the make linux-64 target. That is what I am using on my 64 bit box with the latest intel compiler... (version 10.whatever)...
Even better:
edit the "profile" target (profile: label) and at the top, change the make target to
"make linux-64-profile" and at the bottom of that section, change the make target to "make linux-64".
Now type "make profile", sit back for about 2 minutes, and you will have a profile-guided version that is built exactly as I build mine...
If you want, email me and I can email you a copy of the make file for my core-2 laptop that is set up to do exactly that already...
Hm, there seem to be no linux-64 in the Makefile that I downloaded with crafty.
I only have linux-icc and linux-icc-profile targets, but they are for 32-bit.
Guetti wrote:Does somebody have good compile options for crafty using the latest Intel compiler 10.1.012 on linux for amd64/Opteron?
I tried make linux-icc but the compiler tells me that -xN and -Ob2 are not supported anymore.
An can I just compile with 'make profile'?
Use the make linux-64 target. That is what I am using on my 64 bit box with the latest intel compiler... (version 10.whatever)...
Even better:
edit the "profile" target (profile: label) and at the top, change the make target to
"make linux-64-profile" and at the bottom of that section, change the make target to "make linux-64".
Now type "make profile", sit back for about 2 minutes, and you will have a profile-guided version that is built exactly as I build mine...
If you want, email me and I can email you a copy of the make file for my core-2 laptop that is set up to do exactly that already...
Hm, there seem to be no linux-64 in the Makefile that I downloaded with crafty.
I only have linux-icc and linux-icc-profile targets, but they are for 32-bit.
It worked thanks, I just had to replace -xP with -xW. (no SEE3)
I'm not sure however if ICC is a good option for Athlon64. Here are the results I get using craftys bench command:
crafty-22.0 Athlon64 3400+ 96M hash
Linux gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
gcc:
Raw nodes per second: 2110330.425710
gcc profile:
Raw nodes per second: 2297297.455702
icc:
Raw nodes per second: 2224527.804663
icc profile:
Raw nodes per second: 2256292.592593
crafty-22.0 PowerPC G5 96M hash
Apple gcc version 4.2.1 (Apple Inc. build 5531)
Guetti wrote:It worked thanks, I just had to replace -xP with -xW. (no SEE3)
I'm not sure however if ICC is a good option for Athlon64. Here are the results I get using craftys bench command:
I didn't notice your AMD processor. Yes, I found the same thing. I would tend to use gcc with AMD. I have never tried to see what is wrong, but when I have tried ICC on opterons, I have always gotten unsatisfactory speed results... On Intel processors, icc is better than gcc by a wide margin... just not on AMD processors, which is strange...
crafty-22.0 Athlon64 3400+ 96M hash
Linux gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
gcc:
Raw nodes per second: 2110330.425710
gcc profile:
Raw nodes per second: 2297297.455702
icc:
Raw nodes per second: 2224527.804663
icc profile:
Raw nodes per second: 2256292.592593
crafty-22.0 PowerPC G5 96M hash
Apple gcc version 4.2.1 (Apple Inc. build 5531)