Commit Graph

14625 Commits

Author SHA1 Message Date
David Anderson 4595b95c43 svn path=/trunk/boinc/; revision=19305 2009-10-14 20:27:52 +00:00
David Anderson 4537dedcd3 - update cal.h to current ATI code
svn path=/trunk/boinc/; revision=19304
2009-10-14 20:09:41 +00:00
David Anderson 9cd9a028b3 svn path=/trunk/boinc/; revision=19303 2009-10-14 19:29:37 +00:00
David Anderson 9f93535428 - client: bug fixes to the above.
Don't fetch work for an unable resource.

svn path=/trunk/boinc/; revision=19302
2009-10-14 19:11:11 +00:00
David Anderson d6efa7dabb - client: address the situation where GPUs become unusable
for certain periods (e.g. when Remote Desktop is used on Win).
    - add is_usable() member function to COPROC.
        Currently this just calls the respective (CUDA or CAL)
        initialization function.
        We need to check whether this works and/or causes problems.
    - in enforce_schedule(), check whether usability has changed
        for each GPU type.
        If we've gone from usable to unusable,
        flag all jobs for that GPU as coproc_missing
        (so they won't get run, and will quit if they're running).
        If we've gone from unusable to usable, clear the flag.
    This should deal with all cases except where
    the client is started up with GPUs unusable.
- scheduler: more query optimizations for locality scheduling
    (from Oliver Bock)

svn path=/trunk/boinc/; revision=19301
2009-10-14 18:07:49 +00:00
Rom Walton 4506c61ac2 - MGR: Fix initial first connection problem on startup. I'm not sure why
it was only happening at startup, there might have been a few crashes
        because of this issue as well.  The basic problem is that wxWidgets
        had an exception handler around the initial frame creation and when
        the first GUI RPC was issues to detect whether or not we were atached
        to an account manager during menu creation the GUI thread would go
        about doing idle processing while waiting for the GUI RPC thread to
        initialize.  During this time the frame pointer is NULL and was getting
        dereferenced which would halt window construction and stay there until
        some other event was fired.
    - MGR: Initial dose of code cleanup and shuffling.  Order the menu functions
        in the order in which they are displayed in the menu.

    clientgui/
        AdvancedFrame.cpp, .h
        BOINCBaseFrame.cpp
        BOINCBaseView.cpp
        Events.h
        ProjectListCtrl.cpp
        sg_BoincSimpleGUI.cpp, .h
        sg_ProjectsComponent.cpp, .h
        WizardAttachProject.cpp

svn path=/trunk/boinc/; revision=19300
2009-10-14 17:11:57 +00:00
Rom Walton 265de0b15f Quick Updates
svn path=/trunk/boinc/; revision=19299
2009-10-13 22:13:27 +00:00
Rom Walton 553a3a50af - DOC: Update manager_links.php so that it'll compare by numerical
values instead of using string based comparison.
        
    doc/
        manager_links.php

svn path=/trunk/boinc/; revision=19298
2009-10-13 18:56:14 +00:00
David Anderson eae03746de Add manager help redirector.
svn path=/trunk/boinc/; revision=19297
2009-10-13 18:44:58 +00:00
Rom Walton 2a0dbe4e74 - LIB: Make the is_remote_desktop compilable for all VS versions
and SKUs.
        
    lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=19296
2009-10-13 18:12:33 +00:00
David Anderson 511a81a5fd - scheduler: improve efficiency of a locality sched query
svn path=/trunk/boinc/; revision=19295
2009-10-13 17:47:26 +00:00
David Anderson 072fb7e4de - actually, make it
"Tasks checkpoint to disk at most every ..."
    and change it in the advanced prefs dialog too

svn path=/trunk/boinc/; revision=19294
2009-10-13 00:00:57 +00:00
David Anderson b0d44d7564 - client: don't multiply checkpoint interval (i.e., "disk interval" pref)
by # processors.
- web: change description of pref to
    "Applications checkpoint to disk at most every ..."

svn path=/trunk/boinc/; revision=19293
2009-10-12 23:54:02 +00:00
David Anderson 656441dc3b svn path=/trunk/boinc/; revision=19292 2009-10-12 22:45:44 +00:00
David Anderson 483d79b28d svn path=/trunk/boinc/; revision=19291 2009-10-12 20:01:49 +00:00
David Anderson 2f56f16924 - added code for Linux mouse check
svn path=/trunk/boinc/; revision=19290
2009-10-12 19:48:43 +00:00
David Anderson 626d24f5a5 - client: the get_all_projects_list() RPC doesn't require auth
svn path=/trunk/boinc/; revision=19289
2009-10-12 18:01:11 +00:00
David Anderson d5a41cba9c - scheduler/file upload handler: ignore zero-length cmdline args.
Apparently some Apaches pass them.
    From Nils Brause.

svn path=/trunk/boinc/; revision=19288
2009-10-12 16:44:26 +00:00
David Anderson 5e862ac495 - client: on startup, if a coproc needed by a job is missing,
set a "coproc_missing" flag rather than aborting the job.
        If use removes a GPU board while there's a large queue of GPU jobs,
        they'll stay queued (until their deadline passes).

        Note: this doesn't fix the situation where user connects via
        Remote Desktop while GPU jobs are running or queued.
        We should check for Remote Desktop every minute or so, and stop GPU jobs.

svn path=/trunk/boinc/; revision=19287
2009-10-12 16:28:17 +00:00
Charlie Fenton 11911cd6b4 MGR: If aborting multiple tasks, ask "Are you sure?" only once.
svn path=/trunk/boinc/; revision=19284
2009-10-09 05:43:35 +00:00
David Anderson f5de278719 - client: if anonymous platform description (app_info.xml)
doesn't specify FLOPS for a GPU app,
    assume that it runs at CPU peak speed rather than GPU peak speed.
    Better to be conservative, otherwise job might be aborted
    due to time limit exceeded.

svn path=/trunk/boinc/; revision=19282
2009-10-07 20:23:14 +00:00
Bernd Machenschalk 3f38b286d3 lib: some changes to help building the WIN32 library with MinGW/gcc
enable by defining MINGW_WIN32 macro, nothing should change if
this is not set

svn path=/trunk/boinc/; revision=19280
2009-10-07 19:17:52 +00:00
Rom Walton 2905b7fed9 - MGR: Some house keeping.
clientgui/
        ViewMessagesGrid.cpp, .h (deleted)
        ViewProjectsGrid.cpp, .h (deleted)
        ViewTransfersGrid.cpp, .h (deleted)
        ViewWorkGrid.cpp, .h (deleted)

svn path=/trunk/boinc/; revision=19279
2009-10-07 19:05:40 +00:00
Rom Walton b06f468653 - MGR: Fix the Statistics page Save/Restore project display feature.
- MGR: Clean up warnings
    
    clientgui/
        ViewStatistics.cpp

svn path=/trunk/boinc/; revision=19278
2009-10-07 19:00:02 +00:00
David Anderson 54b078d0af - client: add --unsigned_apps_ok cmdline option
and <unsigned_apps_ok> config option.
    This tells the client to allow unsigned apps.
    For testing.
    No file xfers or other network traffic will be allowed if set.
- client: add <exit_after_finish> option (same as cmdline flag)
- client: add <skip_cpu_benchmarks> option (same as cmdline flag)
- client: print message if abort past-deadline unstarted job
- client: improve message when have NVIDIA drivers but no GPU
    

svn path=/trunk/boinc/; revision=19276
2009-10-07 18:42:51 +00:00
Charlie Fenton 45e24fb176 Release Mac BOINC 6.10.13
svn path=/trunk/boinc/; revision=19275
2009-10-07 00:14:09 +00:00
Rom Walton b3f5038edc Quick Updates
svn path=/trunk/boinc/; revision=19274
2009-10-06 22:53:54 +00:00
David Anderson 0e38392885 - scheduler: skip deadline check for non-CPU-intensive projects
svn path=/trunk/boinc/; revision=19273
2009-10-06 20:45:09 +00:00
David Anderson 39f66e6abd - client: remove redundant 0s in job log
- user web: remove some PHP warnings (from Oliver Bock)

svn path=/trunk/boinc/; revision=19272
2009-10-06 20:35:28 +00:00
Rom Walton 4df42a4179 Quick Updates
svn path=/trunk/boinc/; revision=19271
2009-10-06 17:48:51 +00:00
Rom Walton 10fb940425 - client: Fix crash that was introduced 7 months ago.
(From Nicolás Alvarez)
        
    client/
        app_control.cpp


svn path=/trunk/boinc/; revision=19265
2009-10-05 22:42:06 +00:00
David Anderson 94b1dc93c9 svn path=/trunk/boinc/; revision=19263 2009-10-05 21:44:53 +00:00
Rom Walton 87ffbfcea4 - DIAG: Don't resume after the thread has been suspended, otherwise the
thread stack may be trashed after extracting the context.  This should
        still be okay though as by the time the diagnostics framework
        has gotten here it has already downloaded all the symbols it'll need.

    lib/
        diagnostics_win.cpp
        

svn path=/trunk/boinc/; revision=19244
2009-10-05 16:20:39 +00:00
Rom Walton 106f27bc20 svn path=/trunk/boinc/; revision=19243 2009-10-05 15:16:44 +00:00
Rom Walton 6d726159cf - DIAG: Suspend threads right before extracting their context and then
resume them afterwords.  Otherwise we could end up in a deadlock state
        where both the main thread and a support thread are attempting to use
        the same system resource. In the last situation it was way down in
        Winsock.
        
    lib/
        diagnostics_win.cpp

svn path=/trunk/boinc/; revision=19242
2009-10-05 15:07:59 +00:00
Rom Walton c96fce4fdf Quick Updates
svn path=/trunk/boinc/; revision=19241
2009-10-04 18:23:54 +00:00
David Anderson 4ab5685ce4 - client: if a task is running, uses a GPU, and the system has >1 GPU,
append text to its resource string saying which GPU it's using
- manager: tweak Task properties text

svn path=/trunk/boinc/; revision=19240
2009-10-04 02:51:44 +00:00
David Anderson dccb097eff - client: improve coproc_debug messages
svn path=/trunk/boinc/; revision=19239
2009-10-04 00:20:28 +00:00
David Anderson 94cbb0d2dc - client: make the order of the result vector
consistent with the order used to select coproc jobs


svn path=/trunk/boinc/; revision=19238
2009-10-03 03:07:03 +00:00
David Anderson c06c07cf14 - client: if GPU is removed while jobs in progress,
don't show messages as internal errors.


svn path=/trunk/boinc/; revision=19237
2009-10-03 00:20:52 +00:00
David Anderson fb14ff8a7a - client: fix bug where if you change project "no CPU/NVIDIA/ATI"
prefs and update, the change wouldn't take effect until client restart.
	- client: fix bug in enforcement of "no CPU/NVIDIA/ATI" prefs

svn path=/trunk/boinc/; revision=19236
2009-10-03 00:19:11 +00:00
David Anderson 833f417ae5 - client: better behavior if a GPU goes away:
1) if an APP_VERSION is missing a coprocessor,
        don't delete it and its files.
        (If the coprocessor returns, we won't need to re-download)
    2) if a RESULT uses an app version that is missing a coprocessor,
        abort it (rather than deleting it).
        The client will report the result on the next scheduler RPC,
        and the server will make a new instance.

svn path=/trunk/boinc/; revision=19235
2009-10-02 23:39:38 +00:00
David Anderson fca2cb8016 - client: restore calDeviceGetInfo(), add its info to COPROC_ATI struct
(some plan class might need to know this).
    Code cleanup.

svn path=/trunk/boinc/; revision=19234
2009-10-02 22:58:03 +00:00
David Anderson d585913f8e svn path=/trunk/boinc/; revision=19232 2009-10-02 20:57:54 +00:00
David Anderson 12dc1852a7 - wrapper: fix fraction done feature
svn path=/trunk/boinc/; revision=19231
2009-10-02 18:48:50 +00:00
David Anderson b817b8ed7a - admin web: changed protection scheme as follows:
- default: script can be run from command line;
        to run from web you need to be logged in as a particular user.
        (in addition to .htaccess protection).
    - if include $cli_only at start of script:
        can only be run from the command line.
    - if include $skip_auth_ops at start of script:
        can run from web without being logged in
        (this is set ONLY in login_action.php)
- admin web: added $cli_only = true to a bunch of scripts


svn path=/trunk/boinc/; revision=19230
2009-10-02 18:32:40 +00:00
Rom Walton a563b684cb - lib: Fix memory/resource leak.
(From Nicolás Alvarez)
        
    lib/
        shmem.cpp

svn path=/trunk/boinc/; revision=19229
2009-10-01 23:21:03 +00:00
Rom Walton f810629e92 - lib: Add additional ATI descriptions.
- lib: Fix some inaccurate ATI capabilities in certain cards.
        (From: Andreas a.k.a Gipsel)
        
    lib/
        coproc.cpp


svn path=/trunk/boinc/; revision=19228
2009-10-01 20:04:46 +00:00
Rom Walton 72e78dfbac - lib: Fix memory/resource leak.
(From Nicolás Alvarez)
        
    lib/
        shmem.cpp

svn path=/trunk/boinc/; revision=19227
2009-10-01 20:02:06 +00:00
Rom Walton 2b6f430094 - client: fix a handle leak I just introduced.
(From: Andreas a.k.a Gipsel)
        
    lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19226
2009-10-01 19:15:42 +00:00