Commit Graph

17000 Commits

Author SHA1 Message Date
Rom Walton e989999593 Quick Updates
svn path=/trunk/boinc/; revision=23305
2011-03-31 21:47:12 +00:00
Rom Walton d049739cd8 Quick Updates
svn path=/trunk/boinc/; revision=23304
2011-03-31 19:56:47 +00:00
Rom Walton de7e97cc32 - lib: Bring header and implementation files into sync over the coproc parsing
function.
        
    lib/
        coproc.cpp, .h

svn path=/trunk/boinc/; revision=23303
2011-03-31 15:34:05 +00:00
Rom Walton 26fe6c5d2b Quick Updates
svn path=/trunk/boinc/; revision=23302
2011-03-31 15:06:34 +00:00
Charlie Fenton 74218d5a4d client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23301
2011-03-31 10:11:24 +00:00
Charlie Fenton b85d87ef9f client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23300
2011-03-31 10:02:34 +00:00
Rom Walton 6653312340 - client: Beef up the trace logging when attempting to match OpenCL devices to their
native counterparts.

    client/
        coproc_detect.cpp

svn path=/trunk/boinc/; revision=23299
2011-03-30 23:50:13 +00:00
Rom Walton 662517d08f - client: OpenCL Profile Version wasn't being used anywhere and trying to get it
was causing a crash on Windows.  Remove for now.
    - client: Fix ATI OpenCL detection so that the coproc test messages will appear.
    
    client/
        coproc_detect.cpp
    lib/
        coproc.h

svn path=/trunk/boinc/; revision=23298
2011-03-30 21:58:55 +00:00
Charlie Fenton e3dfbbf595 Mac: Eliminate unused source files UserDisagreesPage.cpp, .h from Mac project
svn path=/trunk/boinc/; revision=23297
2011-03-30 07:49:42 +00:00
Rom Walton 1c8e7a1feb Quick Updates
svn path=/trunk/boinc/; revision=23295
2011-03-29 21:05:51 +00:00
Rom Walton d8b9b8b268 - WINSCR: So after looking over all the logs from WCG and now from Jacob
Klein a pattern started to emerge.  At the end of the log files the last
        message logged was 0x12 which translates into WM_QUIT.  The latest
        documentation on WM_QUIT states it should never show up in the message
        loop to begin with.
        
        The docs now say that WM_QUIT should not be sent to the message loop by
        way of PostMessage.  We have been doing things this way for over 5 years.
        For all I know, this could have been carried over from the original screen
        saver sample application.
        
        Change the shutdown logic so that only the primary curtain window can call
        PostQuitMessage() and all other curtain windows just exit when they receive
        a WM_DESTROY message.
        
        I'm not sure what causes this to be a problem on some machines and not
        others.  But preliminary results from Jacob are encouraging.
        
    clientscr/
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=23294
2011-03-29 20:59:09 +00:00
Rom Walton f696d90893 - MGR: Remove UserDisagreesPage from the wizard, replace functionality
by enabling/disabling the next button as needed.
    - MGR: Fix a couple of warnings.

    clientgui/
        sg_CustomControls.cpp
        sg_DlgMessages.cpp
        TermsOfUsePage.cpp
        UserDisagreesPage.cpp, .h (Deleted)
        WizardAttach.cpp, .h

svn path=/trunk/boinc/; revision=23293
2011-03-29 19:28:27 +00:00
Rom Walton 44dc2df81d - client: prevent client from crashing in OpenCL code
- client: fix function prototypes for dynamically calling
        OpenCL functions.
    
    client/
        coproc_detect.cpp

svn path=/trunk/boinc/; revision=23292
2011-03-29 18:35:27 +00:00
Rom Walton 1fddbea7d6 Quick Updates
svn path=/trunk/boinc/; revision=23291
2011-03-29 16:50:23 +00:00
Rom Walton 1d2ecd8223 Quick Updates
svn path=/trunk/boinc/; revision=23290
2011-03-29 14:56:06 +00:00
Charlie Fenton 93170b9793 client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23289
2011-03-29 11:55:49 +00:00
Charlie Fenton b4b2287c3d client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23288
2011-03-29 11:46:11 +00:00
Charlie Fenton 94c05cdfb8 MGR: Fix compile break
svn path=/trunk/boinc/; revision=23287
2011-03-29 07:42:51 +00:00
Rom Walton 3f8cc63c8f - API: Flush buffers before terminating.
- SCR: Flush buffers before terminating.
    
    api/
        boinc_api.cpp
    clientscr/
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=23286
2011-03-28 17:53:43 +00:00
Rom Walton 53177644f7 - MGR: Handle the link click events from the notices control for the
Simgle GUI notices dialog box.
        
    clientgui/
        sg_DlgMessages.cpp, .h

svn path=/trunk/boinc/; revision=23285
2011-03-28 15:21:36 +00:00
David Anderson c7a2191570 - client: Win OpenCL fix from [P3D] Crashtest
svn path=/trunk/boinc/; revision=23284
2011-03-27 11:24:39 +00:00
Charlie Fenton d7e5d32137 Release BOINC 6.12.19 for Mac to alpha test
svn path=/trunk/boinc/; revision=23283
2011-03-26 09:18:35 +00:00
David Anderson 4a4ee2a013 - API: compile fixes for MinGW. Fixes #955. from Matt Arsenault
svn path=/trunk/boinc/; revision=23282
2011-03-26 02:19:21 +00:00
David Anderson 597320db39 - scheduler: compile fixes
svn path=/trunk/boinc/; revision=23281
2011-03-25 22:47:49 +00:00
Rom Walton 8293a95637 Quick Updates
svn path=/trunk/boinc/; revision=23280
2011-03-25 20:03:51 +00:00
Charlie Fenton 99bbddf467 client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23260
2011-03-25 14:08:50 +00:00
David Anderson b24bfbba3d - manager: fix the above to detect premature EOF correctly
svn path=/trunk/boinc/; revision=23259
2011-03-25 13:24:03 +00:00
Charlie Fenton 8655dac6d5 client: Continue adding OpenCL support
svn path=/trunk/boinc/; revision=23258
2011-03-25 13:02:22 +00:00
Charlie Fenton a82319a2f9 client: Continue adding OpenCL support. lib: Fix inconsistent line endings in coproc.cpp
svn path=/trunk/boinc/; revision=23257
2011-03-25 12:30:49 +00:00
David Anderson 6c058551e0 - client: Unix compile fixes
svn path=/trunk/boinc/; revision=23256
2011-03-25 09:51:39 +00:00
David Anderson 3db221b912 - manager: fix crashing bug when notices (or other text parsed by XML_PARSER)
contain non-ASCII characters.
		Rom: please port to 6.12

svn path=/trunk/boinc/; revision=23255
2011-03-25 09:41:10 +00:00
Charlie Fenton 75894e461b client: Temporarily work around compile breaks
svn path=/trunk/boinc/; revision=23254
2011-03-25 08:19:43 +00:00
David Anderson 3b906a191c - client: generalize the GPU framework so that
- new GPU types can be added easily
		- users can specify GPUs in cc_config.xml,
			referred to by app_info.xml,
			and they will be scheduled by BOINC
			and passed --device N options
			Note: the parsing of cc_config.xml is not done yet.
		- RPC protocols (account manager and scheduler)
			can now specify GPU types in separate elements
			rather than embedding them in tag names
			e.g. <no_rsc>NVIDIA</no_rsc> rather than <no_cuda/>
	- client: in account manager replies, parse elements of the form
		<no_rsc>NAME</no_rsc>
		indicating the GPUs of type NAME should not be used.
		This allows account managers to control GPU types
		not hardwired into the client.
		Note: <no_cuda/> and <no_ati/> will continue to be supported.
	- scheduler RPC reply: add
		<no_rsc_apps>NAME</no_rsc_apps>
		(NAME = GPU name)
		to indicate that the project has no jobs for the indicated GPU type.
		<no_cuda_apps> etc. are still supported 
	- client/lib: remove set_debts() GUI RPC
	- client/scheduler RPC
		remove <cuda_backoff> etc. (superceded by no_app)
		Exception: <ip_result> elements in sched request
		still have <ncudas> and <natis>.
		Fix this later.

	Implementation notes:
	- client/lib: change "CUDA" to "NVIDIA" in type/variable names, and in XML
		Continue to recognize "CUDA" for compatibility
	- host_info.coprocs no longer used within the client;
		use a global var (COPROCS coprocs) instead.
		COPROCS now has an array of COPROCs;
		GPUs types are identified by the array index.
		Index zero means CPU.
	- a bunch of other resource-specific structs (like RSC_WORK_FETCH)
		are now stored in arrays, with same indices as COPROCS
		(i.e. index 0 is CPU)
	- COPROCS still has COPROC_NVIDIA and COPROC_ATI structs to hold vendor-specific info
	- APP_VERSION now has a struct GPU_USAGE to describe its GPU usage

svn path=/trunk/boinc/; revision=23253
2011-03-25 03:44:09 +00:00
Charlie Fenton e41b7f523c client: Begin adding OpenCL support
svn path=/trunk/boinc/; revision=23252
2011-03-24 12:29:23 +00:00
Charlie Fenton 53e92e0da0 client: Begin adding OpenCL support
svn path=/trunk/boinc/; revision=23251
2011-03-24 12:16:54 +00:00
David Anderson d6c99b43d0 - define MAXPATHLEN, if needed, in filesys.h
- fix typo in a GUI RPC handler


svn path=/trunk/boinc/; revision=23250
2011-03-24 09:32:02 +00:00
Charlie Fenton 76e5a78767 client: Define MAXPATHLEN if not defined for compatibility with HURD
svn path=/trunk/boinc/; revision=23249
2011-03-23 08:11:58 +00:00
Rom Walton d6749af703 Quick Updates
svn path=/trunk/boinc/; revision=23248
2011-03-23 03:02:09 +00:00
Rom Walton 57d7883c35 Quick Updates
svn path=/trunk/boinc/; revision=23247
2011-03-23 03:01:18 +00:00
Rom Walton 3622966641 - VBox: Checkpoint for Windows
* Creates/registers virtual machine
        * Starts/Stops virtual machine
        * Suspends/Resumes virtual machine
        * Deletes/deregisters virtual machine
      
      TODO:
        * Fraction done properly
        * Standard error streams from virtualized applications
        * Find a way to hide the VBoxHeadless application window (It can be minimized manually)

    samples/vboxwrapper/
        vbox.cpp, .h
        vbox_win.cpp
        vboxwrapper.cpp
        vm.cpp, .h

svn path=/trunk/boinc/; revision=23246
2011-03-23 02:43:28 +00:00
David Anderson 64187672cc - wrapper: macro-substitute $NTHREADS with the --nthreads option value
in job.xml


svn path=/trunk/boinc/; revision=23244
2011-03-21 09:30:29 +00:00
David Anderson 02e7aa6678 - client and API: pass "network suspended" flag from client to app;
make it available as part of BOINC_STATUS


svn path=/trunk/boinc/; revision=23243
2011-03-20 07:04:32 +00:00
Bernd Machenschalk 4a4a43790e - (locality) scheduler: omit confusing message & backoff in 'mixed' scheduling
svn path=/trunk/boinc/; revision=23242
2011-03-18 08:39:48 +00:00
Bernd Machenschalk 4fa5f4bd8c Einstein@home extensions:
- protect malloc.h
- validator: allow to update 'random' result field
- assimilator: add global variables results_prefix and transcripts_prefix

svn path=/trunk/boinc/; revision=23241
2011-03-18 08:20:11 +00:00
David Anderson eaff1b16cc - wrapper: improved subprocess cleanup, Unix
svn path=/trunk/boinc/; revision=23240
2011-03-17 05:56:54 +00:00
David Anderson 4bf163581d - client simulator stuff
svn path=/trunk/boinc/; revision=23239
2011-03-15 19:16:13 +00:00
Rom Walton 78a1feb553 Quick Updates
svn path=/trunk/boinc/; revision=23238
2011-03-15 14:32:03 +00:00
Charlie Fenton acd948e94b SCR: Fix compile breaks
svn path=/trunk/boinc/; revision=23237
2011-03-15 07:09:15 +00:00
David Anderson 47f89ea688 - update script that counts GPUs
svn path=/trunk/boinc/; revision=23236
2011-03-14 23:57:38 +00:00
David Anderson 3c74717d04 - client simulator stuff
svn path=/trunk/boinc/; revision=23235
2011-03-14 23:56:14 +00:00