Seti@Home optimized science apps and information
Optimized Seti@Home apps => Windows => Topic started by: Raistmer on 13 Jan 2008, 03:58:48 am
-
Hi all.
I had to reinstall OS completely so chose to continue with last versions of IDE and compiler and installed SP1 for VS2005 and ICC 10.1.13 with IPP 5.3.1.64.
But now SETI app that compiled fine with old VS2005 refuses to be built with single error from resource compiler ".\seti_boinc.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'." If that string is commented out much more errors appear but there is no such include file in project indeed.
Anyone met such error with VS2005 SP1 ? Any suggestions welcome :)
-
That's what I run .. I'll check ...
-
Okay, It's a MS include. On my machine :
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include
You may need to look at how your standard include search paths are set up. Did you make sure the Paths CheckBox was ticked when you setip Intel Compiler too?
Jason
-
Yes i checked all boxes about include and lib paths.... Maybe just need to reboot.... :)
Will try, thank you!
-
Well, it seems I did mistake at VS2005 installation time chose not to install MFC class library... Thought SETI app not needed MFC at all but ::)
So there are no that include path on my side now, will reinstall VS. Thanx again !
-
Hi all.
I had to reinstall OS completely so chose to continue with last versions of IDE and compiler and installed SP1 for VS2005 and ICC 10.1.13 with IPP 5.3.1.64.
But now SETI app that compiled fine with old VS2005 refuses to be built with single error from resource compiler ".\seti_boinc.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'." If that string is commented out much more errors appear but there is no such include file in project indeed.
Anyone met such error with VS2005 SP1 ? Any suggestions welcome :)
This file is part of the "Software Developement Kit" (SDK), if all is properly installed you will find it in C:\I\SDK\Include
where "I" is the directory of your choise during installation.
Maybe you did forget to define the include path to this directory.... ;)
heinz ~setibritta
-
Hey Raistmer! Are you going to take the plunge into version 6 seti code with us ?
-
@Heinz
Think VS has SDK incorporated with its distributives so no need to install separate SDK. In fact SETI app finally is compiled fine after installation MFC static ANSI libraries and MFC source code (although think the last was unneeded :) ).
And even more good news that calculation resume errors that my build had before just disappeared! Maybe SP1 did his work? :D (at least new build is capable to continue from checkpoint that crashed prev build :) sure need more testing to ensure stability)
@Jason
With great pleasure :) Are sources available for download? I was absent here pretty long so not in touch with last news but it seems Downloads section doesnt have v6 sources.
-
@Jason
With great pleasure :) Are sources available for download? I was absent here pretty long so not in touch with last news but it seems Downloads section doesnt have v6 sources.
They are Stock Special Beta [from berkeley Downloads]... We're Going to Make them.... From Scratch ;D Have you a SVN tool ?
-
To incorporate all optimizations of 2.4 not included in 6.0 - that means from scratch? ;) If so it seems biiiig work :) Will download sources... later. Too late here, really late :)
-
Yep, And maybe put some SSE4 ones in ..... We'll see, getting stock build to work is the first part, it's going just now first time, I think they have cleaned up many things in boinc and sah code, I like It so far, though it is of course very slow compared to what we're used to ....
Jason
-
Sources: [SaH 6.00beta (SVN tagged, rev 95) , Boinc (SVN trunk,rev 14544)] seem to build with the least problems for me so far.
-
Are they available as tarballs and what date if yes?
-
Are they available as tarballs and what date if yes?
Apparently not tarballs anymore (I was using those). You need a SVN client like TortoiseSVN under Windows. If you try boinc SVN first then it has detailed information on the web page about how to get a local working copy with TortoiseSVN.
So first trying out to get boinc source helps to figure out the new storage method. With seti v6 Beta For Boinc revision I am using 14th Jan 2008, revision 14544 (HEAD REVISION last I checked, of the trunk) from http://boinc.berkeley.edu/svn/trunk/boinc
For the seti source: (THE ONE WE DON'T WANT) .. This one builds with Boinc version 13904, Oct '07
normal 5.28 main source is at https://setisvn.ssl.berkeley.edu/svn/seti_boinc (SVN Client connects Here)
But for6.00 Beta (THE ONE WE WANT), 'almost' builds with HEAD revision boinc
https://setisvn.ssl.berkeley.edu/svn/tags/seti_boinc/Windows_6.00beta/ (SVN Client connects here)
If just looking at a certain file ...Those locations can be browsed to from the Porting & Optimization page from SaH main page.
-
Oh Once some sort of branch is decided on and started we may use a better method! (Some have been discussed behind the scenes, such as CVS repository on sourceforge... )... This is all 'poking around' to make the v6 stock code build ...
Jason
-
Thanx for detailed giude :) nstalled TortouseSVN (it needs 64-bit version to work with 64-explorer %) ) will become familiar with it a little and check out
P.S. seti betta has invalid certificate by now. Think it's ok to use but...
-
Maybe it' worth to start new thread for beta 6 build?
Anyway there are a ot of warnings about type conversion and unreferenced variable and 5 errors:
d:\btr\seti6\seti_boinc\client\analyzefuncs.cpp(51) : error C2146: syntax error : missing ';' before identifier 'PACKAGE_VERSION'
d:\btr\seti6\seti_boinc\client\analyzefuncs.cpp(51) : error C2143: syntax error : missing ';' before 'string'
d:\btr\seti6\seti_boinc\client\analyzefuncs.cpp(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
----FFTW----
d:\btr\seti6\seti_boinc\client\analyzefuncs.cpp(293) : error C2146: syntax error : missing ')' before identifier 'PACKAGE_VERSION'
d:\btr\seti6\seti_boinc\client\analyzefuncs.cpp(293) : error C2059: syntax error : ')'
-
Hi Raistmer, I have several Threads going in prerelease applications area .... I will paste important stuff here that you might need .... maybe ask Gecko_R7 about possibility of Access ? Much more has happened in the same thread discussions, as Joe has chipped in with helpful stuff too, confirming the GFX is actually okay and some other details...
From my first trys in a thread in discussion with Heinz....
---------------------------
Well I did sleep I promise ;D, But here is new information... Much easier to use Eric's Tagged 6.00 beta as baseline, It works with boinc current Head, but is a tad cranky on some minor issues (detailed below):
Test-WU1 result "Strongly Similar" with default 515 result:
-nographics 23Mins 09 secs---> about the same execution time as the last, more troublesome build (Was Incorrect Branch!). ::)
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Compiler Environment: MSVS2005wSP1
Sources: [SaH 6.00beta (SVN tagged, rev 95) , Boinc (SVN trunk,rev 14544)]
(Internalay marked as something like 6.1.6? must check that)
Build Configuration: Std "Release"
Added Preprocessor directives: USE_MMX on seti_boinc project only.
Additional project configuration: Multiple Include Directory adjustments, esp. libgraphics & seti_graphics projects
Using FFTW Dll.
Resulting executable size 548kb ( :o pretty small... )
There are 9 projects now in the stock source:
GLUT
IMAGE_LIBS
JPEGLIB
LIBBOINC
LIBBOINCAPI
LIBGRAPHICS2
SETIGRAPHICS
SETIBOINCDB
SET_BOINC
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Issues adjusted for Build: (Now minor ;D, looking for better ways, Though this is manageable IMO, I think this might be a useful Start build to branch our optimizations from)
win-sah_config.h (361)
- CUSTOM_STRING definition problematic: replaced with hard string
seti_boinc_private.rc (11)
- Minor Manifest Issue : commented out line for now (not best solution)
analyzeFuncs.cpp (51)
- CUSTOM_STRING definition problematic: replaced with hard string
boinc_api.h
(128) Added missing extern declarations for thread/process controls:
extern void boinc_exit(int);
extern int suspend_activities(void);
extern int restore_activities(void);
boinc_api.C - adjusted prototypes (removing "static:) and function headers for
int suspend_activities();
int resume_activities();
void boinc_exit(int); left them static, commented out the 3 Redundant Function prototypes from this file(now externs in .h )
graphics_impl.h(32):
- Changed set_worker_timer_hook to start_timer_thread_hook (alternative would mean altering .C file in several places, This was easiest)
---------------------------------------------------------------------------------------------------------------------
-
Hi Raistmer, I have several Threads going in prerelease applications area .... I will paste important stuff here that you might need .... maybe ask Gecko_R7 about possibility of Access ?
No problem. Should have that sorted shortly.
-
Now That's Service ;D