Commit Graph

10839 Commits

Author SHA1 Message Date
David Anderson f127526c68 - lib: Win compile fix for boinc_allocate_file() 2013-03-04 15:23:37 +01:00
David Anderson 3cf17049b5 - server: fix create_forums.php 2013-03-04 15:23:37 +01:00
David Anderson fdc085264a - client (Win) preallocate large files to avoid file fragmentation
when you write to them incrementally
    (workaround for shoddy filesystem design)
- admin web: remove line that limited mass emails to 10
2013-03-04 15:23:37 +01:00
Charlie Fenton a999f935b4 client: add new files app_config.cpp,h to Xcode project 2013-03-04 15:23:37 +01:00
David Anderson a46d93f566 - client: bug fixes for app config feature 2013-03-04 15:23:37 +01:00
David Anderson d4c1e932a4 - fix mysterious problems in Windows build 2013-03-04 15:20:32 +01:00
David Anderson ad93afacd5 - user web: don't show fraction done in list of batches.
It slows things down too much.
2013-03-04 15:20:32 +01:00
David Anderson 5383f13bf0 - client: add the above to VS project 2013-03-04 15:20:32 +01:00
David Anderson 952a495fb7 - client: add "client app configuration" feature; see
http://boinc.berkeley.edu/trac/wiki/ClientAppConfig
    This lets users do the following:
    1) limit the number of concurrent jobs of a given app
        (e.g. for WCG apps that are I/O-intensive)
    2) Specify the CPU and GPU usage parameters of GPU versions
        of a given app.
    Implementation notes:
    - max app concurrency is enforced in 2 places:
        1) when building the initial job run list
        2) when enforcing the final job run list
        Both are needed to avoid possible starvation.
    - however, we don't enforce it during RR simulation.
        Doing so could cause erroneous shortfall and work fetch.
        This means, however, that work buffering will not work
        as expected if you're using max concurrency.
2013-03-04 15:20:32 +01:00
Oliver Bock 439ca150c4 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 15:18:20 +01:00
Charlie Fenton 5217479bab Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:18:05 +01:00
Charlie Fenton 9ffbe44aae Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01:00
Charlie Fenton 1561c35146 Mgr: Fix Windows hangs and simplify code for notices display 2013-03-04 15:16:59 +01:00
David Anderson 8ae9680134 - server programs: allow config.xml to be a symlink 2013-03-04 15:16:59 +01:00
David Anderson 3af9309894 - admin web: change revalidate function to revalidate
valid as well as invalid results
2013-03-04 15:16:58 +01:00
David Anderson de71ae7f7f - client: when reset a project, clear its scheduler URL list
(force a reload of the master page)
2013-03-04 15:16:58 +01:00
David Anderson 6205ffed08 - scheduler: add extra check for not sending homogeneous app version
jobs to anonymous platform clients
- remote job submission: add DB table for keeping track of files
2013-03-04 15:16:58 +01:00
Oliver Bock 5f8d2ac8d1 - wrapper: compile fixes for Win
Conflicts:
	checkin_notes
2013-03-04 15:08:51 +01:00
David Anderson 016b11e522 - client: fix uninitialized vars in CPU feature detection (from RustyBSD) 2013-03-04 15:06:32 +01:00
David Anderson f31a63b0c8 - scheduler: if primary platform is anonymous, ignore alternate platforms. 2013-03-04 15:06:32 +01:00
David Anderson 959aee51d0 - client: if a project is anonymous platform,
don't send list of alternate platforms in scheduler RPC.
2013-03-04 15:06:32 +01:00
David Anderson 0760461e93 - Unix build: add configure option for minimal make output 2013-03-04 15:06:32 +01:00
David Anderson 374ee55113 - wrapper: compile fixes for Win 2013-03-04 15:04:51 +01:00
David Anderson d8b7e4347f - wrapper: add feature for unzipping input files and zipping output files 2013-03-04 15:04:51 +01:00
Charlie Fenton bee578e76a WIN: Fix Debug configuration which was corrupted 2013-03-04 15:04:51 +01:00
David Anderson bb0ced01ba - wrapper: add source files for a regular expression library
(too be used soon)
- boinc_zip: add makefile for test program
2013-03-04 15:04:51 +01:00
Charlie Fenton 92521b8be8 boinc_zip: Add teszlibconflict target to boinc_zip Xcode project 2013-03-04 15:04:51 +01:00
Charlie Fenton ab6c3e5b1f Mac: remove deleted files from Xcode project 2013-03-04 15:04:51 +01:00
David Anderson aa31777003 - client: if a project has 64 or more ready-to-report tasks,
report them.
    64 is chosen a bit arbitrarily, but the idea is to
    limit the number of tasks reported per RPC,
    and to accelerate the reporting of small tasks.
2013-03-04 15:04:51 +01:00
David Anderson 7366c8bb43 - remove deprecated MAC address code 2013-03-04 15:04:51 +01:00
David Anderson fa8945fda9 - compile fix for FreeBSD 2013-03-04 15:04:51 +01:00
Charlie Fenton 093ad0ab12 boinc_zip: Fix linker conflicts zlib and boinc_zip are both used in a project 2013-03-04 15:01:44 +01:00
Charlie Fenton c1ae4c4dec Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 15:01:35 +01:00
Charlie Fenton d5c9ee8abf boinc_zip: Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 14:59:23 +01:00
Rom Walton 43c55fd34b - VBOX: Add the ability to specify both the type and model of disk
controller to use.  It can be specified by adding the following
        tags to vbox_job.xml:

        <vm_disk_controller_type></vm_disk_controller_type>
        <vm_disk_controller_model></vm_disk_controller_model>

      Executing vboxmanage --help will list the available options in the
        storeagectl section.
2013-03-04 14:59:23 +01:00
Rom Walton a0c6e534e0 - ZIP: Add missing preprocessor symbols to the 64-bit build targets. 2013-03-04 14:59:23 +01:00
Charlie Fenton a07e0dac43 boinc_zip: minor cleanup of Xcode project 2013-03-04 14:59:23 +01:00
Charlie Fenton 19e8e62e6c Fix typo 2013-03-04 14:59:23 +01:00
Charlie Fenton 1211bf976d boinc_zip: fixed boinc_zip and test_boinc_zip windows projects 2013-03-04 14:59:23 +01:00
Rom Walton a13163aa15 - ZIP: Use only one variant of the C Runtime Library
- ZIP: Remove test_boinczip from the default solution.
2013-03-04 14:59:23 +01:00
Charlie Fenton ec16ac4ccb boinc_zip: updated boinc_zip xCode project for unix.c -> z_unix.c 2013-03-04 14:59:22 +01:00
David Anderson 678ee52458 - boinc_zip: fix Unix build 2013-03-04 14:59:22 +01:00
Charlie Fenton a1cb39fa55 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:57:05 +01:00
Rom Walton 18ef4ed069 - WIN: Introduce updated project files for the boinc_zip library used
by the slide_show project.
    - WIN: Adjust the slide_show project so that it will build both 32-bit
        and 64-bit versions and use the boinc_zip library.
2013-03-04 14:14:06 +01:00
David Anderson e538c8c303 - client: TIME_STATS fields go in <time_stats> part of state file
- scheduler: parse TIME_STATS fields (e.g., uptime)
- admin web: small fix for manage_apps.php
2013-03-04 14:14:05 +01:00
David Anderson a1b3935b21 - web: update .pot file for project web site translations 2013-03-04 14:09:44 +01:00
David Anderson b4408c9585 - build fixes for OpenBSD, from rustyBSD 2013-03-04 14:09:43 +01:00
David Anderson 7768f6da60 - client: fix bug where, when updating a project, we fail to request work even though higher-priority projects are marked as no-new-tasks or are otherwise ineligible for work fetch. 2013-03-04 14:09:43 +01:00
Oliver Bock a180e89fd8 Merge commit 'c15267a' into master
Conflicts:
	checkin_notes

Modified by author during merge:
	lib/network.cpp
2013-03-04 14:05:41 +01:00
David Anderson 10f7576416 - remove job submission: fix SQL typo and error messages.
From Niclas Lockner.
2013-03-04 14:01:20 +01:00
David Anderson c15267ad3a - client: Win build fix
- add Visual Studio project for slide_show
	NOTE: this currently doesn't build because boinc_zip is missing.
	I'll fix this soon.
2013-03-01 16:26:09 +01:00
David Anderson 33e33abd08 - fix typo in mass email script 2013-03-01 16:26:09 +01:00
Charlie Fenton bee911811a Mac: add slide-show screensaver to example_app Xcode project and Mac example_app build scripts
example app: fix compiler warnings in slide_show.cpp
2013-03-01 16:26:09 +01:00
Charlie Fenton c2a0a0fbe9 Mac: update Xcode project for building boinc_zip 2013-03-01 16:26:09 +01:00
David Anderson a93d8d1e4f - scheduler: compile fix for wu_is_infeasible_custom() 2013-03-01 16:26:09 +01:00
David Anderson 18716b0bda - scheduler: remove redundant call to wu_is_infeasible_custom()
introduced in yesterday's commit
2013-03-01 16:26:09 +01:00
David Anderson 109661f912 - user web: fix bug when showing last page of thread 2013-03-01 16:26:08 +01:00
David Anderson 3f8357fc92 - add slide-show screensaver (from David Coss) 2013-03-01 16:26:08 +01:00
David Anderson 7076ae9e3d - remove execute permissions from various files that shouldn't have them 2013-03-01 16:26:08 +01:00
David Anderson 01c0a9a4b0 - scheduler: when resend jobs:
- don't use devices for which work is not being requested
    - obey wu_is_infeasible_custom()
        (e.g. don't send SETI@home VLAR jobs to GPUs)
- scheduler: add <debug_array_detail> log flag for slot-level messages
- admin web: show and allow control of app.beta
2013-03-01 16:26:08 +01:00
David Anderson 471e3b229e - a bunch of skin files had execute permissions (??). Clear them. 2013-03-01 16:26:08 +01:00
David Anderson ca652519cf - scheduler: log message tweaks
- Some C++ files in client had execute permissions (??).  Clear them.
2013-03-01 16:26:08 +01:00
David Anderson 9fb0328d9b - scheduler: add separate log flag for locality sched lite 2013-03-01 16:26:08 +01:00
David Anderson 6391a8c401 - remote job submission: show 20 batches, with link to show all
- XML parser: make low-level functions inline, in an attempt
    (unsuccessful, as far as I can tell) to boost performance
2013-03-01 16:26:08 +01:00
Rom Walton 3eaaea887a - VBOX: Ugh, if sleep_time is greater than zero, increment elapsed_time by the poll interval. 2013-03-01 16:23:13 +01:00
Rom Walton edfa1deae1 - VBOX: Do not count the sleep time as part of the elapsed time when the VM is supposed to be suspended. 2013-03-01 16:23:13 +01:00
David Anderson 42756406f5 - example app: get the graphics app to build on Fedora Core 14
Note: this required installing various packages,
    and tweaking the Makefile in various ways,
    some of them FC14-specific ways
2013-03-01 16:23:13 +01:00
Eric J Korpela 8454d1ffe8 none 2013-03-01 16:19:16 +01:00
Eric J Korpela 4dcd5a3a11 - Allow sysconfdir to be specified rather than hardcoded at '$prefix/etc' (submitted by Alexander Kruppa) - Fix for compiles on os without xlocale.h 2013-03-01 16:19:16 +01:00
David Anderson 5457b6b77f - client: in checking reasons for not requesting work,
look at backoff last.
    Otherwise the user can get a misleading message if they
    update a project that's backed off
2013-03-01 16:17:19 +01:00
David Anderson 95621d4008 - fix checkin notes 2013-03-01 16:17:19 +01:00
David Anderson 1e06eb2fda - fix a few unlikely but possible file-descriptor leaks
- remote job submission: always compute fraction done when showing
    batch list; check for nonexistent user
2013-03-01 16:17:19 +01:00
David Anderson 5b740acee0 - client/manager: move the conditional define of MAXPATHLEN
from boinc_win.h to filesys.h,
	so that the client will hopefully build on Hurd,
	which doesn't define MAXPATHLEN.
2013-03-01 16:17:19 +01:00
Rom Walton 7621fd21fe - VBOX: Make adjustments to the clean-up procedure for Vbox 4.2. 2013-03-01 16:17:19 +01:00
Rom Walton ba7a0b5945 - VBOX: Cleanup all the snapshots before unregistering the VM. 2013-03-01 16:17:19 +01:00
Rom Walton dc47fe956d - VBOX: Remove extra arguments to the enumerate snapshot command.
Copy and paste was not my friend.
2013-03-01 16:17:19 +01:00
David Anderson cb663cbc8b - Fix MinGW build: generate_svn_version.sh only works on top level 2013-03-01 16:14:13 +01:00
David Anderson 51bdd803d1 - client: message tweaks for failed app startup 2013-03-01 16:14:13 +01:00
Rom Walton 527cf846b8 - VBOX: Make deleting a snapshot a non-terminal event.
Deleting stale snapshots now consists of enumerating the existing
        snapshots and deleting all but the most recent snapshot.  This fixes
        the problem where, for one reason or another, a snapshot could not
        be deleted at one point in time.  The wrapper would just continue to
        create new ones and was unable to successfully deal with the older
        ones.  Disk space would eventually run out.
2013-03-01 16:08:53 +01:00
Eric J Korpela 999f4ba966 None 2013-03-01 16:08:52 +01:00
Rom Walton 4b57572a87 - VBOX: Don't report any error messages when unregistering the VM.
VirtualBox 4.2 no longer requires certain commands to be executed
        to unregister a VM while older versions do.  Just ignore any error
        codes, if it becomes a problem we can always make it conditional
        on what version of VirtualBox is installed.
2013-03-01 16:08:52 +01:00
David Anderson b3e244c9c3 - wrapper: compile fix for new gcc 2013-03-01 16:08:52 +01:00
David Anderson 9cf10b400a - GUI RPC: expose TIME_STATS info (e.g. on_frac) in
the binding of the get_state() RPC
- client: move client_start_time and previous_uptime
    from CLIENT_STATE to TIME_STATS,
    so that these are also visible in GUI RPC
- scheduler RPC: move uptime and previous_uptime
    into <time_stats>
- client: condition an RR simulation message on <rrsim_detail>
- boinccmd: show TIME_STATS info in --get_state
2013-03-01 16:08:52 +01:00
David Anderson f1b4b16bbf - update_versions: get key directory from config file 2013-03-01 16:08:52 +01:00
David Anderson c8bc624553 - client, Unix: make Curl sockets close-on-exec,
so that app processes don't inherit them.
- client: fix bug that makes client exit if a slot dir contains
    finish file on startup
2013-03-01 16:08:52 +01:00
David Anderson 0f5fcca435 - client: if exiting because of exit_after_finished flag,
write state file before exiting so we don't restart the job later.
2013-03-01 16:08:52 +01:00
David Anderson 56868ced49 - client: fix bug in handling proxy info in cc_config.file 2013-03-01 16:08:52 +01:00
Rom Walton 243db13d3a - VBOX: Remove timeouts for creating and deleting snapshots. 2013-03-01 16:08:52 +01:00
Rom Walton db00158cb0 - VBOX: Increase elapsed_time if we were forced to sleep after executing the main loop 2013-03-01 16:08:52 +01:00
Rom Walton 14948c99f6 VBOX: Change the way elapsed_time is calculated in vboxwrapper.
Previously: elapsed_time was just incremented with the value of the polling
          period each iteraction through the main loop.  This introduced issues
          when vboxmanage lagged for whatever reason.  This lag could go as high as 5
          seconds.  Over the timespan of a day this could increase the wall clock time
          of a task a great deal.

        Now: elapsed_time is incremented with the time it took to execute the main
          loop.
2013-03-01 16:05:09 +01:00
Rom Walton 876e90a053 - WINSETUP: Add the account manager auth logic from the 6.8 installer to current generation installers. - WINSETUP: Make whether or not to create start menu items configurable via the command line. Useful for mass deployment installs. 2013-03-01 16:03:32 +01:00
Rom Walton e3327452e3 - API: Use CloseWindow() to respond to the API Defined WM_SHUTDOWNGFX event just in case CloseWindow() does something more than just send the WM_CLOSE event to the window proc. 2013-03-01 16:03:32 +01:00
David Anderson 962a7ff6bf Fix DB version scripts
- db_update.php is not executable, db_schemaversion.php is
    NOTE: I suggest that we not use .php for executable scripts
2013-03-01 16:03:32 +01:00
Rom Walton 02e70da914 - Fix the db schema check functionality so that it will work with make_project and upgrade correctly. We no longer rely on svnversion for this sort of thing. 2013-03-01 15:58:42 +01:00
David Anderson 83211fd1c6 client: kill lingering apps
- client: if an app's finish file has existed for 10 seconds, kill it;
    it must be hung in boinc_finish().
    This behavior has been seen with LHC@home and maybe other projects.
2013-03-01 15:56:12 +01:00
Oliver Bock d77b114c43 Merge branch 'rom/master' into master
Conflicts:
	checkin_notes
2013-03-01 15:53:00 +01:00
Rom Walton d4cf16944e - API: Remove the call to SendMessage(WM_QUIT, ...) after destroying the window.
There is no guarantee what order the event queue will be processed in and if
        WM_QUIT is processed before WM_DESTROY something might linger around.
2013-03-01 15:51:33 +01:00
David Anderson 5cbccf7126 - server: add stage_file to project setup; add error checking to stage_file 2013-03-01 15:31:42 +01:00
Rom Walton d3fbcaf8d5 Quick fix 2013-03-01 15:31:41 +01:00
Rom Walton 34cb41198b - SCR: Fix bug in X11 screensaver. 2013-03-01 15:31:41 +01:00
Rom Walton b1f1a22381 - SCR: Fix bug in X11 screensaver. 2013-03-01 15:31:41 +01:00
David Anderson afb7dcf83f - remote job submission tweak 2013-03-01 15:31:41 +01:00
David Anderson 777f1f11e8 - client: change work fetch policy to avoid starving GPUs in situations where GPU exclusions are used. - client: fix bug in round-robin simulation when GPU exclusions are used.
Note: this fixes a major problem (starvation)
    with project-level GPU exclusion.
    However, project-level GPU exclusion interferes with most of
    the client's scheduling policies.
    E.g., round-robin simulation doesn't take GPU exclusion into account,
    and the resulting completion estimates and device shortfalls
    can be wrong by an order of magnitude.

    The only way I can see to fix this would be to model each
    GPU instance as a separate resource,
    and to associate each job with a particular GPU instance.
    This would be a sweeping change in both client and server.
2013-03-01 15:31:41 +01:00
Oliver Bock 02213ba568 Merge branch 'charlie/master' into master
Conflicts:
	checkin_notes
2013-03-01 15:31:10 +01:00
Rom Walton f5111aba49 - Add missing references to psapi.lib for various build configurations. 2013-03-01 15:30:08 +01:00
Charlie Fenton 062e401816 lib: don't clear entire APP_VERSION struct in APP_VERSION::parse_coproc() 2013-03-01 15:29:31 +01:00
Charlie Fenton 6550c6927a lib: fix unmatched parentheses which confused source file editor 2013-02-28 15:58:01 +01:00
Charlie Fenton d6accd5437 MGR: Fix bug which can cause Manager to quit when started in Simple View 2013-02-28 15:58:01 +01:00
David Anderson e54b0ae02e - web: if showing a thread in oldest-first order, default to showing the last page of posts. 2013-02-28 15:58:01 +01:00
David Anderson 5cdc6f3efd - tweaks 2013-02-28 15:56:43 +01:00
David Anderson 690c494612 - web: add "Validation inconclusive" state for task lists 2013-02-26 16:53:20 +01:00
David Anderson 36c304e7d3 - client: maintain current and previous uptime, and include them in scheduler RPC request. - scheduler: parse them Note: this is to support a future feature where the scheduler will send non-checkpointing jobs only clients likely to be able to complete them. 2013-02-26 16:53:20 +01:00
Oliver Bock 61ab02d443 Merge branch 'charlie/master' into master
Conflicts:
	checkin_notes
2013-02-26 16:52:36 +01:00
David Anderson 3017ed943f - scheduler: debug the above 2013-02-26 16:44:26 +01:00
Charlie Fenton f4b57b4024 MGR: Add Control-Shift_E shortcut (Command-Shift-E on Mac) to show Event Log in Simple View, for the convenience of tech suppport volunteers 2013-02-26 16:40:31 +01:00
BOINC Admin c8b8c6155f need to add files? 2013-02-26 16:37:26 +01:00
Rom Walton 4df017de3c - MGR: We don't save Simple View's width & height since it's
window is not resizable, so don't try to read them back.

svn path=/trunk/boinc/; revision=26153
2012-10-15 19:17:13 +00:00
David Anderson 282af6effc - user web: show the right page/message after the following actions:
- rate a post
    - moderate a post
    - edit a post
    - report a post


svn path=/trunk/boinc/; revision=26152
2012-10-15 18:47:55 +00:00
David Anderson 76282d0a20 - Win compile fixes.
For now, include psapi.lib in various project properties.
		Try to figure out a different way.

svn path=/trunk/boinc/; revision=26149
2012-10-11 19:22:34 +00:00
David Anderson 7d40c46923 - client and API: improve the way an app checks for the death of the client
Old: heartbeat mechanism
    Problem: if the client is blocked for > 30 secs
        (e.g. because it takes a long time to write the state file,
        of because it's stopped in a debugger)
        then apps exit.
        This is bad is the app doesn't checkpoint and has been
        running for a long time.
    New: the client passes its PID to the app.
        The app periodically (10 sec) checks that the process still exists.
    Notes:
    - For backward compatibility (e.g. new API w/ old client,
        or vice versa) the client still sends heartbeats,
        and the API checks heartbeats if the client doesn't pass a PID.
    - The new mechanism works only if the client's PID isn't assigned
        to a new process within 10 secs of the client exiting.
        Windows 2000 reuses PIDs immediately, so check for Win2K
        and don't use this mechanism if so.

TODO: For Unix multithread apps,
    critical sections aren't currently being enforced.
    Need to fix this by masking signals.


svn path=/trunk/boinc/; revision=26147
2012-10-11 16:41:31 +00:00
David Anderson acd1ad07ae - tweaks
svn path=/trunk/boinc/; revision=26146
2012-10-11 05:37:23 +00:00
Eric J. Korpela 33962b77e1 - sched: 2 bug fixes in credit.cpp
- It was possible if all results for a workunit were PFC_MODE_INVALID
          that NaN pfc would be used causing database update errors.  Solved
          by using wu_estimated_pfc() as pfc in that case.
        - Sanity check was comparing raw_pfc directly to rsc_fpops_bound.  That
          was causing problems GPUs with high performance estimates.  Fixed by
          including the app_version scale factor in the check.  I thought I had
          already committed this...
        - Removed a few lines of commented out experimental code accidentally
          comitted earlier.
        - Committed to git repository on 8/24


svn path=/trunk/boinc/; revision=26144
2012-10-02 15:20:13 +00:00
David Anderson be540c8318 - API: if get a resume message from client while in a critical section,
clear the suspend_request flag.
    Otherwise we'll end up doing two suspends,
    and on Win the app will be suspended forever.


svn path=/trunk/boinc/; revision=26143
2012-09-30 20:30:58 +00:00
David Anderson 7d3bc3e3cf - web: add global prefs reset button
- change default disk prefs to:
    - no absolute limit on disk usage (we need to work with future disks)
    - keep 100 MB min free space
    - use up to 90% of total space


svn path=/trunk/boinc/; revision=26141
2012-09-24 06:35:38 +00:00
David Anderson 925f029556 - Unix startup script fixes, from Andrew Stevenson
svn path=/trunk/boinc/; revision=26140
2012-09-22 20:29:21 +00:00
David Anderson ea59dd4ff0 - Manager: fix "exclusive GPU app running" message logic.
svn path=/trunk/boinc/; revision=26136
2012-09-21 20:11:10 +00:00
David Anderson f0b331e0d2 - client: MAXPATHLEN tweak
svn path=/trunk/boinc/; revision=26135
2012-09-21 16:17:42 +00:00
Charlie Fenton 6b2268e0d9 Mac: Fix build breaks
svn path=/trunk/boinc/; revision=26134
2012-09-21 09:02:14 +00:00
David Anderson aa289f0916 - A bunch of tweaks from Steffen Moller, e.g. using MAXPATHLEN
svn path=/trunk/boinc/; revision=26133
2012-09-21 03:52:24 +00:00
David Anderson 7cc750e616 - cancel_jobs tool: add --name option to cancel job by name.
From David Coss.


svn path=/trunk/boinc/; revision=26132
2012-09-20 18:28:29 +00:00
David Anderson fdf6629f4c - client simulator compile fix
svn path=/trunk/boinc/; revision=26131
2012-09-20 16:37:55 +00:00
David Anderson b9f138b4f4 - client: message tweak
svn path=/trunk/boinc/; revision=26129
2012-09-20 06:51:01 +00:00
David Anderson 1db61a208c - Client/manager: if a GPU app is suspended because a GPU-exclusive
app is running, show an appropriate message.


svn path=/trunk/boinc/; revision=26128
2012-09-20 06:09:02 +00:00
David Anderson b2f9e30570 - scheduler: fix bug that cause NCI to be sent even when
client is not requesting work
- client: parse the <vbox_window> option in cc_config.xml


svn path=/trunk/boinc/; revision=26127
2012-09-19 23:21:04 +00:00
David Anderson 5e5ec6f367 - client: enforce excluded app at startup
- win compile fix

svn path=/trunk/boinc/; revision=26120
2012-09-16 20:22:15 +00:00
Rom Walton 26f9e380d9 - client: Initialize the total mem size_t.
svn path=/trunk/boinc/; revision=26116
2012-09-14 18:00:06 +00:00
David Anderson cc13f2ee6f - scheduler: fix logic error limited locality scheduling.
In LLS array pass, skip file-on-host check if host
    doesn't have any sticky files.
    TODO: it should actually be "any sticky files for this app".
    But we currently don't have any way to know that.


svn path=/trunk/boinc/; revision=26108
2012-09-13 17:38:55 +00:00
David Anderson 96b8bc39d0 - user web: fix bug when do forum search on Google
svn path=/trunk/boinc/; revision=26101
2012-09-12 22:31:23 +00:00
Charlie Fenton aff3b7675c client: Don't support CUDA on dual-GPU MacBooks with automatic GPU switching to save battery power
svn path=/trunk/boinc/; revision=26088
2012-09-12 10:05:41 +00:00
Eric J. Korpela b7741c880e -fixed bug in plan_class_spec.cpp the resulting in GPU performance
not being included in scheduler or credit calculations.


svn path=/trunk/boinc/; revision=26087
2012-09-10 22:56:46 +00:00
Rom Walton 2882d5bc29 - client: initialize memfree and memtotal before use for Nvidia
cards.  It appears that the Nvidia API was only setting 32-bits
        of the 64-bit value.  The remaining 32-bits were whatever
        was on the stack.
        
    client/
        gpu_nvidia.cpp

svn path=/trunk/boinc/; revision=26084
2012-09-10 17:56:09 +00:00
Charlie Fenton a02ceae225 client: work around a nasty bug which crashes OSX (!) on some dual-gpu MacBooks with CUDA
svn path=/trunk/boinc/; revision=26082
2012-09-08 13:04:37 +00:00
David Anderson 77f44e521c - scheduler: more detailed msgs for NCI job sending
svn path=/trunk/boinc/; revision=26080
2012-09-08 04:05:50 +00:00
David Anderson 6b81e2ffc3 - scheduler: fix sending of NCI jobs.
We were failing to mark the cache entries as free.
- API: initialize GPU device # to -1;
    If client doesn't give us a device number, something is wrong
    and it's better to not start computing.


svn path=/trunk/boinc/; revision=26079
2012-09-06 23:44:03 +00:00
David Anderson 455dd3bb95 - scheduler: fix bug in homogeneous app version.
We were using a static BEST_APP_VERSION in
    check_homogeneous_app_version(),
    and it wasn't being initialized on each call
    (e.g. its HOST_USAGE was not being cleared).


svn path=/trunk/boinc/; revision=26076
2012-09-06 19:25:05 +00:00
David Anderson d339beb76e - admin web: credit browser tweaks
svn path=/trunk/boinc/; revision=26075
2012-09-06 17:13:35 +00:00
David Anderson 19602f45f0 - admin web: improve script for browsing credit info
- client: add a coproc-missing message


svn path=/trunk/boinc/; revision=26074
2012-09-06 03:58:24 +00:00
David Anderson b412b9d172 - client: fix bug that broke file signing with X.509 certificates.
From matszpk.  Fixes #1168.


svn path=/trunk/boinc/; revision=26071
2012-09-02 20:05:20 +00:00
David Anderson 11a6e85632 - scheduler: support for projects with some non-CPU-intensive apps
(but not all) wasn't finished.
    New logic: if the project has an NCI app then:
    - make a list of NCI apps for which the client doesn't have
        a job in progress.
    - try to send one job for each of these apps
    - do this even if no work is being requested.
    - don't send jobs for NCI apps by other mechanisms

NOTE: the client logic isn't quite right for mixed NCI projects.
    If there's no job for a given NCI app,
    the client should do a scheduler RPC.
    This isn't critical so we won't do this now.


svn path=/trunk/boinc/; revision=26068
2012-09-01 04:58:12 +00:00
David Anderson b1d1e21de4 - remote job submission: start writing a general-purpose
cmdline tool for remote job submission (not done)
- remote job submission: support the 4 file modes described
    in the documentation (not done)


svn path=/trunk/boinc/; revision=26067
2012-08-31 06:11:06 +00:00