Commit Graph

148 Commits

Author SHA1 Message Date
David Anderson 555cecbcae - client: don't request work for backup project for a processor type
unless there are idle instances of that type
        

svn path=/trunk/boinc/; revision=25886
2012-07-22 06:18:24 +00:00
David Anderson b05f02e5aa - small code cleanup
svn path=/trunk/boinc/; revision=25737
2012-06-05 20:13:19 +00:00
Rom Walton 94b6b0299d Quick Updates
svn path=/trunk/boinc/; revision=25555
2012-04-13 01:12:27 +00:00
David Anderson 436415cfe1 - scheduler, back end: add "homogeneous app version" feature.
Lets you specify, on a per-app basis,
    that all instances should be done using the same app version.
    This is for validation in the presence of GPUs.
- scheduler: code cleanup
    - Instead of adding a bunch of non-DB fields to RESULT,
        used a derived class SCHED_DB_RESULT.
    - Instead of storing a pointer to BEST_APP_VERSION in RESULT,
        store the structure itself.
        This simplifies the memory allocation situation.
- client: condition "Got server request to delete file" messages
    on <file_xfer_debug>


svn path=/trunk/boinc/; revision=23636
2011-06-06 03:40:42 +00:00
David Anderson 1c4422985f - client: add <no_info_fetch> config option and --no_info_fetch
cmdline arg.
    Suppresses the fetch of project list and of current client version #.
    Use when running on grid nodes.
- debugging on client simulator.  Not done yet.

svn path=/trunk/boinc/; revision=22414
2010-09-27 20:34:47 +00:00
David Anderson 0255297345 - API: if app can't acquire lock file, tell the client not
to restart app for 10 minutes.
    Hopefully what will happen is:
    - another instance of app is running in slot dir
        (shouldn't happen, but sometimes does)
    - that app will eventually finish, and will write
        a checkpoint file saying so.
        It will call boinc_finish(0), but the client won't notice
        that it has exited.
    - the next time the client starts the app,
        it will acquire lock, see that it's done,
        and call boinc_finish(0).
        This time the client will notice,
        and the job will be reported as correct.
    The downside to all this is that the client won't know
    that the CPU is in use, and will schedule NCPUS jobs.

svn path=/trunk/boinc/; revision=20128
2010-01-11 20:52:55 +00:00
David Anderson d6b6f8d5db - client (Mac): append /usr/local/cuda/lib to LD_LIBRARY_PATH
and DYLD_LIBRARY_PATH
- client simulator: compile fixes

svn path=/trunk/boinc/; revision=20117
2010-01-09 16:41:17 +00:00
David Anderson fb4797adfd - client: Add offset to LTD of non-eligible projects
only if the offset is positive.
- client: some cmdline args set members of config.
    However, config was being cleared after cmdline args were parsed,
    so these args had no effect.
    Instead, clear config before parsing cmdline

svn path=/trunk/boinc/; revision=19776
2009-12-03 19:09:45 +00:00
David Anderson f132ef9790 svn path=/trunk/boinc/; revision=19011 2009-09-07 00:51:25 +00:00
David Anderson 24ffcbc733 svn path=/trunk/boinc/; revision=17982 2009-05-03 12:22:48 +00:00
David Anderson 9c0f9d5bf4 svn path=/trunk/boinc/; revision=16702 2008-12-16 21:33:33 +00:00
David Anderson 1a1a3d20c3 - web: fix typo
svn path=/trunk/boinc/; revision=16227
2008-10-17 16:40:15 +00:00
David Anderson 9f6c4a133e - client: don't leak handles to shared-mem files
- client: don't leak process handles when abort jobs
- client: if an app exits or we kill it, always destroy the shmem segment.
- web: more HTML 4.01 Transitional conformity changes

svn path=/trunk/boinc/; revision=15865
2008-08-16 20:59:53 +00:00
Rom Walton 3a8e188cd6 Quick Updates
svn path=/trunk/boinc/; revision=15713
2008-07-30 15:24:56 +00:00
David Anderson e0f418dbf7 - client: eliminate spurious "unparsed XML" messages
Fixes #664.  Rom, please backport to 6.2
- web: convert some tr() to tra() on BOINC web pages

svn path=/trunk/boinc/; revision=15258
2008-05-20 00:11:28 +00:00
David Anderson ff70bf259e - client: use symlinks only if project has <use_symlinks/> element.
- API: fixed boinc_resolve_filename() bug: didn't work right for symlinks

svn path=/trunk/boinc/; revision=15043
2008-04-14 04:04:45 +00:00
David Anderson 9fa202d8f0 - client: add coprocessor support: i.e., parse the list of coprocs
in <app_version>s from the server,
    keep track of the number free of each type of coproc,
    and don't run an app that needs more than are available.
    (not quite working yet)

svn path=/trunk/boinc/; revision=14992
2008-04-01 15:08:47 +00:00
David Anderson ebed572d4f - API: allow Win apps to have icon
svn path=/trunk/boinc/; revision=14625
2008-01-28 15:48:09 +00:00
David Anderson cf4e42b4a3 - client: restore proper sense of --check_all_logins
(should this be set by default?)
- web: removed addslashes() when building language translation arrays.
    These caused 's to be displayed as \' everywhere.
    They may serve some purpose, but I can't think of what it is.
- web: changed max profile image dimensions from 800x600 to 640x480.
    The new profile page puts a column to the right
    of the image, so it shouldn't be quite that wide.

svn path=/trunk/boinc/; revision=14562
2008-01-15 22:22:08 +00:00
Rom Walton d7e7cd5134 Quick Updates
svn path=/trunk/boinc/; revision=14555
2008-01-15 18:43:00 +00:00
David Anderson c35f02e868 - user web: add a general-purpose user search mechanism.
This lets you lookup up users sorted by
        - descending join time
        - descending total credit, or
        - descending RAC
    and lets you filter them by
        - country
        - presence/absence of team
        - presence/absence of profile
    It's implemented in such a way that no more than N
    DB rows are examined
    (i.e. it doesn't necessarily show you all the results)
- PHP database: add enum_fields() member to DbConn and BoincUser.
    This is to select a limited number of fields
    e.g. to make large queries more efficient.
    Also added BoincTeam::lookup_id_cache(); this is an example
    of how to look up items likely to be repeated
    (like teams when you're showing a list of users)

svn path=/trunk/boinc/; revision=14082
2007-11-05 23:55:33 +00:00
Frank Thomas fbcfeaf456 - Removed the svn:executable property from files that should not be executable,
like source code and text files. I skipped to check most files in html/
  and mac_*/ though.
- Added svn:executable to tools/watch_tcp because it has a shebang.


svn path=/trunk/boinc/; revision=13819
2007-10-10 09:25:40 +00:00
David Anderson bb5f54d31f - feeder/scheduler: fix bug where APP.homogeneous_redundancy
is defined as a bool instead of int
    (see its only nonzero value is 1, so the "coarse" HR type is ignored).

svn path=/trunk/boinc/; revision=13786
2007-10-05 22:32:47 +00:00
David Anderson 2d9df04429 - more team stuff
svn path=/trunk/boinc/; revision=13223
2007-07-26 21:50:45 +00:00
David Anderson 6285969149 - client: if CA bundle file isn't in BOINC directory,
don't tell Curl to look for it there.
        It might be in the default place where Curl looks.

svn path=/trunk/boinc/; revision=13150
2007-07-13 17:25:47 +00:00
David Anderson 4760e6d960 - client simulator: added '--work_fetch_old' option.
If set, the simulator uses an approximation of the old
    work fetch policy, where the client tries to maintain
    an amount of work for each project equal to
    the buffer size times its relative resource share

svn path=/trunk/boinc/; revision=13144
2007-07-11 20:13:53 +00:00
Rom Walton 02828826b9 Mark 5.10.7 as a recommended release.
svn path=/trunk/boinc/; revision=12961
2007-06-19 16:00:59 +00:00
David Anderson c08eddf7fe - GUI RPC: add new element d_boinc to DISK_USAGE;
tells how much disk space BOINC is using
        (not including projects).
    - added project.max_infeasible_count to client simulator

    client/
        gui_rpc_server_ops.C
        sim.C,h
        sim_util.C
    clientgui/
        ViewResources.cpp
    lib/
        filesys.C
        bui_rpc_client.h
        bui_rpc_client_ops.C

svn path=/trunk/boinc/; revision=12615
2007-05-08 23:12:40 +00:00
David Anderson c72634456d - make_project and upgrade now write a file 'local.revision'
in the project home directory.
        It contains the output of /usr/bin/svnversion,
        i.e. the code revision from which the server software was built.
    - Web files that create directories now give them g+rwx permissions

    html/inc/
        cache.inc
        translation.inc
    sched/
        edf_sim.C
    tools/
        make_project
        upgrade

svn path=/trunk/boinc/; revision=12521
2007-05-01 21:21:13 +00:00
Rom Walton 86ca5333be Fix Linux download issues.
svn path=/trunk/boinc/; revision=12455
2007-04-23 22:17:55 +00:00
Rom Walton 4d80f2286e *** empty log message ***
svn path=/trunk/boinc/; revision=12305
2007-04-04 15:37:41 +00:00
David Anderson 2b67a5e84e *** empty log message ***
svn path=/trunk/boinc/; revision=12185
2007-03-04 02:30:48 +00:00
David Anderson ac3e809427 *** empty log message ***
svn path=/trunk/boinc/; revision=12026
2007-02-02 17:12:07 +00:00
David Anderson e260abf969 *** empty log message ***
svn path=/trunk/boinc/; revision=11604
2006-12-01 00:38:36 +00:00
David Anderson 190f7d177a *** empty log message ***
svn path=/trunk/boinc/; revision=11337
2006-10-22 01:46:33 +00:00
David Anderson 0328bd2122 *** empty log message ***
svn path=/trunk/boinc/; revision=10867
2006-08-08 20:32:37 +00:00
David Anderson 1de783dd7d *** empty log message ***
svn path=/trunk/boinc/; revision=10842
2006-08-04 21:39:03 +00:00
David Anderson 56830483c7 *** empty log message ***
svn path=/trunk/boinc/; revision=10830
2006-08-03 17:31:40 +00:00
David Anderson b340041cf5 *** empty log message ***
svn path=/trunk/boinc/; revision=10829
2006-08-03 16:39:57 +00:00
David Anderson b702fd0810 *** empty log message ***
svn path=/trunk/boinc/; revision=10824
2006-08-03 04:07:18 +00:00
David Anderson c94a867c8b *** empty log message ***
svn path=/trunk/boinc/; revision=10820
2006-08-02 21:33:19 +00:00
David Anderson 4a286e54c9 *** empty log message ***
svn path=/trunk/boinc/; revision=10808
2006-08-01 21:22:25 +00:00
Rom Walton d46fef2917 *** empty log message ***
svn path=/trunk/boinc/; revision=10134
2006-05-15 19:31:27 +00:00
Rom Walton 5f555a1cd3 *** empty log message ***
svn path=/trunk/boinc/; revision=10133
2006-05-15 19:24:18 +00:00
Rom Walton 8ed4f938eb *** empty log message ***
svn path=/trunk/boinc/; revision=10127
2006-05-12 00:55:56 +00:00
David Anderson 721de10134 *** empty log message ***
svn path=/trunk/boinc/; revision=10119
2006-05-09 19:34:30 +00:00
David Anderson e238379f90 fraction done bug
svn path=/trunk/boinc/; revision=9719
2006-03-23 22:48:29 +00:00
David Anderson ad996eae4a *** empty log message ***
svn path=/trunk/boinc/; revision=9608
2006-03-06 21:40:07 +00:00
David Anderson c9ea119568 homogeneous redundancy enhancement
svn path=/trunk/boinc/; revision=9552
2006-02-25 00:21:39 +00:00
David Anderson 1959fbe160 don't leak fds to apps
svn path=/trunk/boinc/; revision=9084
2005-12-18 02:00:15 +00:00