HOW-TO: make your own optimized Windows Seti@Home client!

Message boards : Number crunching : HOW-TO: make your own optimized Windows Seti@Home client!
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · Next

AuthorMessage
Profile BORG
Volunteer tester
Avatar

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 358938 - Posted: 6 Jul 2006, 18:18:51 UTC - in response to Message 358926.  

I'm going mad trying to compile anything. I've followed the instructions and keep getting error message after error message.

Anyone know what this means?

seti_boinc Command line error D2016 : '/GL' and '/YX..\\StdAfx.h' command-line options are incompatible

Thanks in Advance :-)


Linux or Windows? Might be nessicary info for those who can help you.



Windows :-)
ID: 358938 · 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 358942 - Posted: 6 Jul 2006, 18:30:29 UTC
Last modified: 6 Jul 2006, 18:31:21 UTC

BORG,

I got that error as well. To remove it (at the cost of a couple % performance), you will have to disable "Whole Program Optimization" under "General Options" in ALL sub-projects EXCEPT seti_boinc itself. This error only occurs when you're using older versions (like the ones I got as trials) of the Intel tools than the commercial ones I'm using now. The current versions I got when I bought the licenses do not give me this error.

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

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

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 358948 - Posted: 6 Jul 2006, 18:47:52 UTC - in response to Message 358942.  

BORG,

I got that error as well. To remove it (at the cost of a couple % performance), you will have to disable "Whole Program Optimization" under "General Options" in ALL sub-projects EXCEPT seti_boinc itself. This error only occurs when you're using older versions (like the ones I got as trials) of the Intel tools than the commercial ones I'm using now. The current versions I got when I bought the licenses do not give me this error.

HTH,
Simon.


Thanks KWSN - Chicken of Angnor

Now it runs till the end and give more errors LOL! I'll look at it again later tonight. I'm calling it guits for now >:-(
ID: 358948 · Report as offensive
Profile IrishFBall32
Volunteer tester
Avatar

Send message
Joined: 28 May 04
Posts: 11
Credit: 16,993,631
RAC: 0
United States
Message 358950 - Posted: 6 Jul 2006, 18:57:13 UTC - in response to Message 358948.  
Last modified: 6 Jul 2006, 18:57:28 UTC

hrm... and here even... http://setiathome.berkeley.edu/forum_thread.php?id=20892
ID: 358950 · Report as offensive
Profile BORG
Volunteer tester
Avatar

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 359253 - Posted: 7 Jul 2006, 18:54:58 UTC

OK, got it to build - Ran benchmark - OK so far.

Finnished Benchmark - 50% increase - Then I ran rescmp result.sah.default-515-1.txt result.sah.optimized-1.txt

And I get this message - Cannot open result.sah.default-5.15-1.txt

Anyone else have this? Is it bad news?
ID: 359253 · 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 359258 - Posted: 7 Jul 2006, 19:02:28 UTC

You most probably did not run the default-515 client (or it's named incorrectly). What the script is telling you is that it cannot find the result data from the default client, which is what it's checking the result against.

Right-click benchmark.cmd, click edit. Then check the lines near the end where it says "Testing default-515" or the like. Check what name the .exe file has and rename accordingly, then run the benchmark again.

Without a result from the default client, you have no valid work to compare against.

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

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

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 359264 - Posted: 7 Jul 2006, 19:09:48 UTC - in response to Message 359258.  

You most probably did not run the default-515 client (or it's named incorrectly). What the script is telling you is that it cannot find the result data from the default client, which is what it's checking the result against.

Right-click benchmark.cmd, click edit. Then check the lines near the end where it says "Testing default-515" or the like. Check what name the .exe file has and rename accordingly, then run the benchmark again.

Without a result from the default client, you have no valid work to compare against.

HTH,
Simon.


Thanks again.

File should read result.sah.default-5.15-1.txt

But its showing as result.sah.default5.15-1.txt

Working now.



ID: 359264 · 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 359269 - Posted: 7 Jul 2006, 19:16:19 UTC

ID: 359269 · 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 359465 - Posted: 7 Jul 2006, 21:36:02 UTC

Okay,

anyone who's trying to build their own client on Windows -
check out these links:

All Visual C++ compiler options (with ample explanation)

Visual C++ documentation

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

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

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 360735 - Posted: 9 Jul 2006, 2:46:04 UTC - in response to Message 359465.  

Okay,

anyone who's trying to build their own client on Windows -
check out these links:

All Visual C++ compiler options (with ample explanation)

Visual C++ documentation

HTH,
Simon.



Simon

I have question about the released windows apts.

I've noticed that the size of the executable is rather large as is mine, compared to the stock app and the former Crunch3r apps.

1 - Stock - 1248KB
2 - Crunch3r - 1616KB
3 - kwsn - 6984KB Mine is around the same KB.

From the 3 - #2 still seems to be the fastest.

It would seem that we have a some ways to go in improving these early releases.

But I'm sure many will appriciate your efforts and that of those that comtributed.

Great work gang :-)

Borg :-)
ID: 360735 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 361221 - Posted: 9 Jul 2006, 15:32:46 UTC - in response to Message 360735.  

Okay,

anyone who's trying to build their own client on Windows -
check out these links:

All Visual C++ compiler options (with ample explanation)

Visual C++ documentation

HTH,
Simon.



Simon

I have question about the released windows apts.

I've noticed that the size of the executable is rather large as is mine, compared to the stock app and the former Crunch3r apps.

1 - Stock - 1248KB
2 - Crunch3r - 1616KB
3 - kwsn - 6984KB Mine is around the same KB.

From the 3 - #2 still seems to be the fastest.

It would seem that we have a some ways to go in improving these early releases.

But I'm sure many will appriciate your efforts and that of those that comtributed.

Great work gang :-)

Borg :-)

The size issue is interesting. The executable contains huge runs of all zero data with an occasional non-zero run of two or three bytes. I suspect that where ICC sees an array that can be pre-initialized and stored it does so, perhaps that is slightly faster.

Whatever the reason, it may be a difference between ICC 9.0 and ICC 9.1. Crunch3r noted that 9.1 often makes much larger executables in this Einstein@home post.
                                                                Joe
ID: 361221 · 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 361231 - Posted: 9 Jul 2006, 15:41:38 UTC

This may to some extent be due to the "optimize for Win98" setting.

If you set it to "default", it will create 4KB-aligned binaries and zerofill the rest, thereby making a much larger executable. Same when you set it to "Optimize for Win98". Only when you set it to not optimize for Win98 (/OPT:NOWIN98) it uses a smaller (512byte-aligned) chunk size and wastes less space.

Still, the difference between the two methods is not that large (in the order of a few hundred KBs), and yes, ICC 9.0/IPP 5.0 made MUCH smaller binaries.

It is already set up to strip unneeded things from the binary, and I haven't found a way to make the binary much smaller. I tried not linking some libs, but get instant linker errors as soon as I do that - and the symbols those errors reference are inside the libraries I just removed. So well, guess I can't link less.

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

Optimized SETI@Home apps + Information
ID: 361231 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 361685 - Posted: 9 Jul 2006, 22:52:08 UTC - in response to Message 361231.  

This may to some extent be due to the "optimize for Win98" setting.

If you set it to "default", it will create 4KB-aligned binaries and zerofill the rest, thereby making a much larger executable. Same when you set it to "Optimize for Win98". Only when you set it to not optimize for Win98 (/OPT:NOWIN98) it uses a smaller (512byte-aligned) chunk size and wastes less space.

Still, the difference between the two methods is not that large (in the order of a few hundred KBs), and yes, ICC 9.0/IPP 5.0 made MUCH smaller binaries.

It is already set up to strip unneeded things from the binary, and I haven't found a way to make the binary much smaller. I tried not linking some libs, but get instant linker errors as soon as I do that - and the symbols those errors reference are inside the libraries I just removed. So well, guess I can't link less.

Regards,
Simon.

I did notice the increase with the Win98 optimization, about 3% it seems.

The size will be a problem for very few because the zip compressed download keeps it from being a problem for those on dial-up. I did run into a temporary hitch because the partition containing BOINC on my Win95 system ended up being nearly full after installing the optimized app; the Scheduler wouldn't send work for it until I freed up some space.

I know that some users had problems with the Linux apps compressed with UPX, but I'll note that I UPX compressed the Windows generic SSE2 version and MMX version and tested standalone on this Win98 system. Both ran fine, and the compressed SSE2 version is now running with BOINC on this system. The compressed MMX version is on my Win95 system (making even more free space) and will go active in about 4 hours.
                                                        Joe
ID: 361685 · Report as offensive
Profile Misfit
Volunteer tester
Avatar

Send message
Joined: 21 Jun 01
Posts: 21804
Credit: 2,815,091
RAC: 0
United States
Message 365256 - Posted: 13 Jul 2006, 3:44:46 UTC

Synergy has found the greatest optimized app ever created here.
me@rescam.org
ID: 365256 · 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 365291 - Posted: 13 Jul 2006, 4:12:01 UTC

ID: 365291 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 34559
Credit: 79,922,639
RAC: 80
Germany
Message 365445 - Posted: 13 Jul 2006, 8:03:18 UTC

Misfit i saw it too.

Maybe a bug in the xml.

Mike

With each crime and every kindness we birth our future.
ID: 365445 · Report as offensive
pontiaccar

Send message
Joined: 14 May 01
Posts: 41
Credit: 2,264,702
RAC: 0
France
Message 365472 - Posted: 13 Jul 2006, 8:34:39 UTC - in response to Message 365445.  

Doesn't look real to me. By the way, it is not Seti@home but vtu@home which I am not familiar with. I would think he has found a crack for it.


Misfit i saw it too.

Maybe a bug in the xml.

Mike


ID: 365472 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 34559
Credit: 79,922,639
RAC: 80
Germany
Message 365490 - Posted: 13 Jul 2006, 9:06:00 UTC - in response to Message 365472.  

Doesn't look real to me. By the way, it is not Seti@home but vtu@home which I am not familiar with. I would think he has found a crack for it.


Misfit i saw it too.

Maybe a bug in the xml.

Mike



I looked at the stats page yesterday.
I didn´t find any person who get this result.

Mike

With each crime and every kindness we birth our future.
ID: 365490 · 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 366245 - Posted: 13 Jul 2006, 21:24:46 UTC

Hi folks,

I've put a new Windows sources package online. This version is the same that was used to compile my R-1.3 clients.

All source edits now have my name in them - you can easily find all of them by searching for "Simon Zadra" in the Sources. I recommend grep for Windows.

Source Files edited:

analyzeFuncs.cpp
chirpfft.cpp

A lot of project files were edited also, this does not classify as a source edit though. The edits were made so Intel's compiler and libraries are included and linked by default.

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

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

Send message
Joined: 3 Aug 99
Posts: 305
Credit: 6,157,052
RAC: 0
Canada
Message 370140 - Posted: 17 Jul 2006, 15:26:48 UTC

Hi Simon


I have The EM64T for the compiler, IPP and MKL. Can these be used for a 64bit seti client?

Borg :-)
ID: 370140 · Report as offensive
Previous · 1 · 2 · 3 · 4 · 5 · Next

Message boards : Number crunching : HOW-TO: make your own optimized Windows Seti@Home client!


 
©2025 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.