Open Message to "KWSN - Chicken of Angnor"

Message boards : Number crunching : Open Message to "KWSN - Chicken of Angnor"
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · 4 . . . 5 · Next

AuthorMessage
Profile RottenMutt
Avatar

Send message
Joined: 15 Mar 01
Posts: 1011
Credit: 230,314,058
RAC: 0
United States
Message 515749 - Posted: 10 Feb 2007, 15:18:10 UTC

My dual 2216 Opteron's would bow down to the KWSN mecca for a General SSE3 optimized app. He's tired of his little brother (Dual Xeon 5120 strapped to 1333 fsb) wiping his a$$. Little brother is also tired of big brother making excuses about his application not matching his capabilities.

thanks,
RM
ID: 515749 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515759 - Posted: 10 Feb 2007, 15:50:30 UTC

RottenMutt,

such a version is within the realm of the possible - however, only achievable by means of questionable legality; therefore, I can't offer such a version on my own, because I would potentially void my (pretty expensive) Intel compiler/library software licenses.

However, at http://www.swallowtail.org/naughty-intel.html you can find something called "ICCPatch" which can, almost magically, make the SSE3-P4 version compatible with your Opterons (always provided they are capable of SSE3, yours are judging by their model number).

HTH,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515759 · Report as offensive
Profile RottenMutt
Avatar

Send message
Joined: 15 Mar 01
Posts: 1011
Credit: 230,314,058
RAC: 0
United States
Message 515764 - Posted: 10 Feb 2007, 16:04:24 UTC

wOw, that was a quick reply! thanks for the suggestion of the ICCPatch application, i will look in to it and report back if it increases my RAC combined with the SSE3 Intel app.

what compiler is used to compile the general SSE2 app?

thanks
RM
ID: 515764 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515775 - Posted: 10 Feb 2007, 16:29:09 UTC

All app versions, no matter which, are compiled with the same compiler and libraries.

I'm using Intel's ICC 9.1.x and IPP 5.1.x (newest released versions).

HTH,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515775 · Report as offensive
Profile zoom3+1=4
Volunteer tester
Avatar

Send message
Joined: 30 Nov 03
Posts: 65837
Credit: 55,293,173
RAC: 49
United States
Message 515870 - Posted: 10 Feb 2007, 19:21:07 UTC - in response to Message 515759.  

RottenMutt,

such a version is within the realm of the possible - however, only achievable by means of questionable legality; therefore, I can't offer such a version on my own, because I would potentially void my (pretty expensive) Intel compiler/library software licenses.

However, at http://www.swallowtail.org/naughty-intel.html you can find something called "ICCPatch" which can, almost magically, make the SSE3-P4 version compatible with your Opterons (always provided they are capable of SSE3, yours are judging by their model number).

HTH,
Simon.

Of course the patch is Not for Windows, As It's not an exe file or bat file or even a dll file, I've downloaded It before, Most likely a Linux file. I'd love to know how It would be usable with a Windows version?
The T1 Trust, PRR T1 Class 4-4-4-4 #5550, 1 of America's First HST's
ID: 515870 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515873 - Posted: 10 Feb 2007, 19:24:36 UTC

Batman,

Perl is not OS-specific ;D

The script is written in Perl, and you could always go grab ActivePerl or a cygwin installation that includes perl and use it just fine on a Windows platform.

I've successfully done this myself, but like I said, cannot share prepatched versions.

HTH,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515873 · Report as offensive
Profile zoom3+1=4
Volunteer tester
Avatar

Send message
Joined: 30 Nov 03
Posts: 65837
Credit: 55,293,173
RAC: 49
United States
Message 515875 - Posted: 10 Feb 2007, 19:32:37 UTC - in response to Message 515873.  
Last modified: 10 Feb 2007, 19:51:09 UTC

Batman,

Perl is not OS-specific ;D

The script is written in Perl, and you could always go grab ActivePerl or a cygwin installation that includes perl and use it just fine on a Windows platform.

I've successfully done this myself, but like I said, cannot share prepatched versions.

HTH,
Simon.

I know You can't. Not a problem. I wonder If It would work under Open Perl IDE? Nevermind I'll stick to active as Open Perl sounds nice, But It may not be all that easy to use as the script is something I just want to execute.
The T1 Trust, PRR T1 Class 4-4-4-4 #5550, 1 of America's First HST's
ID: 515875 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515887 - Posted: 10 Feb 2007, 20:13:36 UTC
Last modified: 10 Feb 2007, 20:15:07 UTC

However,

you may be interested in this.

I used perl2exe lite to compile the ICCPatch perl script to an exe file that should run for you. Simply open a DOS box and run it. Basically, it's "iccpatch file.exe". Straightforward.

A friendly note - make a copy of your file before you start patching.

I personally take ZERO responsibility for any problems, you have been warned. Be careful :)

Regards,
Simon.

P.S.: Executing this perl script is as easy as saying "perl iccpatch.pl file.exe", on Windows. On *nix, it works differently (using the first script line to find an interpreter).
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515887 · Report as offensive
Profile hiamps
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 4292
Credit: 72,971,319
RAC: 0
United States
Message 515960 - Posted: 10 Feb 2007, 22:57:19 UTC - in response to Message 515887.  

However,

you may be interested in this.

I used perl2exe lite to compile the ICCPatch perl script to an exe file that should run for you. Simply open a DOS box and run it. Basically, it's "iccpatch file.exe". Straightforward.

A friendly note - make a copy of your file before you start patching.

I personally take ZERO responsibility for any problems, you have been warned. Be careful :)

Regards,
Simon.

P.S.: Executing this perl script is as easy as saying "perl iccpatch.pl file.exe", on Windows. On *nix, it works differently (using the first script line to find an interpreter).


If someone wants to send me a patched file I would appreciate it as I am an Idiot and have no clue what to do. Downloaded file ran it a black box came up and went real quick but after that?

Official Abuser of Boinc Buttons...
And no good credit hound!
ID: 515960 · Report as offensive
Furex - [Ometti Verdi]

Send message
Joined: 5 Jan 00
Posts: 20
Credit: 62,844
RAC: 0
Italy
Message 515966 - Posted: 10 Feb 2007, 23:00:47 UTC - in response to Message 515759.  
Last modified: 10 Feb 2007, 23:01:05 UTC

Hello Simon,

I thought that SSE3 didn't offer any speed improvement on the A64. Can you confirm this?
ID: 515966 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515967 - Posted: 10 Feb 2007, 23:03:15 UTC
Last modified: 10 Feb 2007, 23:07:27 UTC

hiamps,

put iccpatch.exe somewhere, then put an unpatched copy of your chosen optimized app (SaH-something.exe) in the same directory. For simplicity's sake, let's say you put them both in "c:\\" directly.

Then, open a command prompt - i.e. type "cmd" in start/run and press enter.

A command prompt (black window) should open up.

Only if you're not on C: or you put your files elsewhere, first type "x:" where x is your drive letter.

Navigate to the directory you put the files by typing "cd \\" or "cd \\yourdir", depending, and pressing enter.

Then, run iccpatch like so: "iccpatch.exe yourapp.exe" where yourapp.exe is the optimized app (of course, you'll have to put the real name).

HTH,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515967 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515968 - Posted: 10 Feb 2007, 23:05:37 UTC - in response to Message 515966.  
Last modified: 10 Feb 2007, 23:06:15 UTC

Hello Simon,

I thought that SSE3 didn't offer any speed improvement on the A64. Can you confirm this?

Furex,

that depends a lot on what Athlon64 core revision you have.

On some, it yields nice improvements (later ones), on others it's slower than generic SSE2.

So YMMV - also, for your information, there is no generic SSE3 when using the Intel compiler like I am, which is why this whole patching issue came up in the first place.

Regards,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515968 · Report as offensive
Furex - [Ometti Verdi]

Send message
Joined: 5 Jan 00
Posts: 20
Credit: 62,844
RAC: 0
Italy
Message 515969 - Posted: 10 Feb 2007, 23:07:18 UTC
Last modified: 10 Feb 2007, 23:10:09 UTC

Just tried the supplied script with ActivePerl and cygwin, no matter what it spits out this error:

.\\intel_check_executable_patch -v SaH_5.15_KWSN_SSE3_Ben[..]

Use of uninitialized value in concatenation (.) or string at x:\\cygwin\\home\\noyb\\intel_check_executable_patch.pl line 51.
Patching file ...
WARNING: 10 lines were to be patched in 'SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe':
should be a multiple of 3! Skipping this file.

edit: thanks for the fast reply Simon :) my Opteron is a JH9-E6 so maybe it might benefit a little.
ID: 515969 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515971 - Posted: 10 Feb 2007, 23:10:41 UTC
Last modified: 10 Feb 2007, 23:12:37 UTC

You're welcome, Furex.

Last elaboration from me on this point -

iccpatch expects multiples of 3 to patch but finds an extra because Ben's CPUID code also has "GenuineIntel" somewhere.

So your app might give you some funky CPUID output, though I haven't personally seen such problems. Logic would dictate that you're using this on an AMD system anyway and it shouldn't matter.

Solution - try the modified iccpatch.pl or the .exe inside this zip file.

Crunching should not be affected at all by this issue.

Regards,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515971 · Report as offensive
Furex - [Ometti Verdi]

Send message
Joined: 5 Jan 00
Posts: 20
Credit: 62,844
RAC: 0
Italy
Message 515976 - Posted: 10 Feb 2007, 23:16:27 UTC
Last modified: 10 Feb 2007, 23:16:47 UTC

This is with ICCpatch:

$ ./iccpatch.pl -v SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe
Use of uninitialized value in concatenation (.) or string at ./iccpatch.pl line
51.
Patching file ...
WARNING: 10 lines were to be patched in 'SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe': should be a multiple of 3! YMMV, something may go wrong.
Patching SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe in 10 places...Patch operation for 'SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe' successful, original file at 'SaH_5.15_K
WSN_SSE3_Ben-Joe_2.0_B.exe~'


When I run the patched executable, I receive this error:

X:\\cygwin\\home\\noyb>SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe
Access is denied.

ID: 515976 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515979 - Posted: 10 Feb 2007, 23:19:06 UTC
Last modified: 10 Feb 2007, 23:19:17 UTC

Sorry it doesn't work for you, does for me - forgive me, but I'm not about to offer support for someone else's work ;)

You'll have to play with it, I never got "permission denied" when running an application - usually when it doesn't run, it throws an exception.

Regards,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 515979 · Report as offensive
Furex - [Ometti Verdi]

Send message
Joined: 5 Jan 00
Posts: 20
Credit: 62,844
RAC: 0
Italy
Message 515981 - Posted: 10 Feb 2007, 23:21:56 UTC
Last modified: 10 Feb 2007, 23:26:04 UTC

Hmmmm it might be a perl interpreter issue. I just tried the precompiled version (iccpatch.exe) and THAT worked.

Now it's time to try it on the field :)

edit:

Confirmed! It works with ActivePerl 5.8.8 MSWin32-x86-multi-thread, but not with cygwin's perl 5.8.7 cygwin-thread-multi-64int.
ID: 515981 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 515982 - Posted: 10 Feb 2007, 23:32:54 UTC

ID: 515982 · Report as offensive
Furex - [Ometti Verdi]

Send message
Joined: 5 Jan 00
Posts: 20
Credit: 62,844
RAC: 0
Italy
Message 515983 - Posted: 10 Feb 2007, 23:34:16 UTC

Thank you Simon ;) (been reading that "Opteron and SSE3" thread on lunatics.at)
ID: 515983 · Report as offensive
Profile zoom3+1=4
Volunteer tester
Avatar

Send message
Joined: 30 Nov 03
Posts: 65837
Credit: 55,293,173
RAC: 49
United States
Message 515985 - Posted: 10 Feb 2007, 23:54:43 UTC - in response to Message 515971.  

You're welcome, Furex.

Last elaboration from me on this point -

iccpatch expects multiples of 3 to patch but finds an extra because Ben's CPUID code also has "GenuineIntel" somewhere.

So your app might give you some funky CPUID output, though I haven't personally seen such problems. Logic would dictate that you're using this on an AMD system anyway and it shouldn't matter.

Solution - try the modified iccpatch.pl or the .exe inside this zip file.

Crunching should not be affected at all by this issue.

Regards,
Simon.

One word of caution, Back up Your entire Boinc folder before You do this, This is in case of Computation errors(Copy the entire Boinc folder while Boinc isn't running to the Desktop or somewhere else easy to remember). I did this before I tried Seti w/the patched files and I stopped Boinc before any WU's were reported as Computation errors and restored the backup of Boinc that I made and all is well now. It was an experiment and no harm was done, Nice attempt Chicken.
The T1 Trust, PRR T1 Class 4-4-4-4 #5550, 1 of America's First HST's
ID: 515985 · Report as offensive
1 · 2 · 3 · 4 . . . 5 · Next

Message boards : Number crunching : Open Message to "KWSN - Chicken of Angnor"


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.