Commit Graph

14557 Commits

Author SHA1 Message Date
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
Rom Walton 2c9f5ed224 - client: only support one of the ati13* plan classes at a time.
A couple users had not updated their amdcal* runtime libraries
        after upgrading catalyst drivers.  This was leading to crashes
        of the project applications when work was supplied looking
        for the old DLL names.
        
    lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19225
2009-10-01 15:22:01 +00:00
Rom Walton 5cb7accbfa Quick Updates
svn path=/trunk/boinc/; revision=19222
2009-09-30 18:18:42 +00:00
Rom Walton 5824c3cad8 - client: Apparently it is valid for the autoproxy to return
successful API completeion but a null proxy list.  Check
        for the null instead of crashing.
        
    client/
        sysmon_win.cpp

svn path=/trunk/boinc/; revision=19221
2009-09-30 18:13:03 +00:00
David Anderson a762e222cc - client: if downloaded project list file is garbage, ignore it.
- all: accept <foo /> as an XML bool

svn path=/trunk/boinc/; revision=19220
2009-09-30 17:13:45 +00:00
Charlie Fenton 1c8e49c54e Release Mac BOINC 6.10.11
svn path=/trunk/boinc/; revision=19219
2009-09-30 03:21:18 +00:00
David Anderson c76d166344 - user web: forum_preferences.{low_rating_threshold, high_rating_threshold}
were deprecated, but were still used in deciding whether to show a post.
    This broke the "ignore list" function.

svn path=/trunk/boinc/; revision=19218
2009-09-29 21:58:54 +00:00
David Anderson 14a88dd54b - user web: show ATI GPUs correctly; show multiple GPUs correctly.
svn path=/trunk/boinc/; revision=19217
2009-09-29 19:46:14 +00:00
Rom Walton 37eefe628a Quick Updates
svn path=/trunk/boinc/; revision=19215
2009-09-29 17:55:01 +00:00
Rom Walton 5a54302bf6 - client: fix bug in coproc summary string.
lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19209
2009-09-29 15:28:56 +00:00
David Anderson a7b32b486e - client: fix crash with <ncpus>0</ncpus>
svn path=/trunk/boinc/; revision=19208
2009-09-29 02:12:35 +00:00
Charlie Fenton 796e3be9be Release BOINC Mac 6.10.10
svn path=/trunk/boinc/; revision=19207
2009-09-28 21:07:22 +00:00
Rom Walton 17d2a6e3ae Quick Updates
svn path=/trunk/boinc/; revision=19205
2009-09-28 18:46:51 +00:00
David Anderson 8e51669769 - tweak to start
svn path=/trunk/boinc/; revision=19201
2009-09-28 16:19:20 +00:00
Rom Walton 3e5aa9834c - client: add missing Windows SKUs.
From Robert Kreß
    
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=19195
2009-09-28 15:46:27 +00:00
David Anderson 71c7e7a74b - client/scheduler/web: add per-project preferences for whether
to accept CPU, NVIDIA and ATI jobs.
    These prefs are shown only where relevant:
    e.g., only for processor types for which the project has app versions,
    and if it has versions for only one type, no pref is shown.

    These prefs affect both client and scheduler.
    The client won't ask for work for a device blocked by prefs,
    and the scheduler won't send it.

    This replaces earlier optional project-specific prefs for
    "no CPU jobs" and "no GPU jobs".
    (However, these prefs continue to be honored on the server side).

- client: if NVIDIA driver is unknown, say that rather than 0


svn path=/trunk/boinc/; revision=19194
2009-09-28 04:24:18 +00:00
David Anderson 0a1322af6e - client: fix bug in CPU prefs enforcement:
enforce "suspend if no recent input" and "exclusive apps"
    only if overall mode if RUN_MODE_AUTO (run according to prefs) 

svn path=/trunk/boinc/; revision=19193
2009-09-26 20:23:39 +00:00
David Anderson 35c6e2ee1b - client: fix crashing bug in GPU message display
- client: show a couple more config flags on startup

svn path=/trunk/boinc/; revision=19191
2009-09-26 05:23:05 +00:00
David Anderson 4e63946ea2 - admin web: show plan class in "manage app versions" page
from Jon Sonntag.


svn path=/trunk/boinc/; revision=19190
2009-09-26 04:39:50 +00:00