Commit Graph

76 Commits

Author SHA1 Message Date
David Anderson 6af9f66b4e - DB/feeder/scheduler: change app_version.xml_doc from blob to mediumblob,
and change the correspending structure field from 64KB to 256KB
    (could increase this if needed).
    This is needed to handle app versions with lots (> 100) of files
- change LARGE_BLOB_SIZE to BLOB_SIZE a bunch of places
- Change COPROCS from vector<COPROC> to vector<COPROC*>.
    Otherwise the right virtual functions of COPROCs don't get called

svn path=/trunk/boinc/; revision=14986
2008-03-31 16:19:45 +00:00
David Anderson 95772cba77 - removed boinc_ncpus_available() and boinc_nthreads() calls.
The design has been changed to constant #threads per app version
    Various changes from Kevin Reed/WCG:
    - server: add workunit.rsc_bandwidth_bound: if nonzero,
        send this WU only to hosts with that much download bandwidth
    - assimilators: if a handler returns DEFER_ASSIMILATION,
        the WU remains in INIT state and will be handled when the
        next instance completes.
        Useful if you want the assimilator to see all instances.
    - scheduler: when setting result.outcome = DETACHED,
        set received_time to now
    - scheduler: removed the reliable_time and reliable_min_avg_credit
        options
    - scheduler/web: add optional <allow_non_preferred_projects>
        in project preferences.
        If present, user will accept work from non-selected apps
        if no work is available for selected apps
    - scheduler: improved messages for projects with multiple apps
    - scheduler: added config options
        <granted_credit_weight> and <granted_credit_ramp_up>.
        Used in calculating host.claimed_credit_per_cpu_sec,
        but I'm not sure how.
    - Added two new credit-granting formulas (validate_util.C):
        stddev_credit() and two_credit()
    - server DB: add rollback_transaction() and affected_rows() to DB_CONN

    NOTE: DB update required

svn path=/trunk/boinc/; revision=14870
2008-03-07 21:13:01 +00:00
David Anderson 4e3764df34 - server: debugged single-job submission feature.
It works, at least in my test case.
- boinc_submit script:
    show status every 10 seconds until completed
    add --wait option to show status for previous submission
- Added get_logical_name() in validate_util.C
- create_work: change default target_nresults from 5 to 2,
    max_error_results from 10 to 3,
    max_total_results from 20 to 10,
    max_success_results from 10 to 6
- boinc_cmd: show full usage if no args
- project setup: copy single_job_assimilator

svn path=/trunk/boinc/; revision=14847
2008-03-05 20:16:10 +00:00
David Anderson b20f2d915c - server: added a mechanism for submitting jobs as:
> boinc_submit --infile foo --outfile blah program --args
    This will run "program" on a remote host,
    with the given input, output files, and command-line args

    It manages everything for you.
    You don't have to worry about apps, app_versions,
    template files, wrapper job files, etc.
    See: http://boinc.berkeley.edu/trac/wiki/SingleJob

    Initial checkin - not debugged yet.

svn path=/trunk/boinc/; revision=14842
2008-03-04 23:50:38 +00:00
David Anderson 1106da6ec6 - transitioner: we're not supposed to ever see "assigned" WUs.
But if we do, set their transitioner time to plus infinity
    so that we don't see them again.
    (otherwise we go into an infinite loop)
- DB code: remove "high_priority" from queries not from scheduler
    (should probably remove them from there too)
- file_deleter: print error msg if apache user doesn't exist

svn path=/trunk/boinc/; revision=14835
2008-03-03 19:33:32 +00:00
David Anderson c8384113e4 - changes to many files to fix gcc4.3 compile
svn path=/trunk/boinc/; revision=14811
2008-02-27 23:26:38 +00:00
David Anderson 86857a5452 - Scheduler: fix bugs in work assignment feature
svn path=/trunk/boinc/; revision=14810
2008-02-27 22:26:37 +00:00
David Anderson b6cc885abf - server: make the special substring for assigned WUs
into a #define's symbol (ASSIGNED_WU_STR)
- scheduler: when send client command to abort a WU,
    include a reason code in the scheduler log

svn path=/trunk/boinc/; revision=14798
2008-02-26 17:24:29 +00:00
David Anderson 54519a4ee1 - Server: add "job assignment" feature.
Lets you assign a WU to a particular host,
    to one or all hosts belonging to a user or team, or to all hosts.
    See http://boinc.berkeley.edu/trac/wiki/AssignedWork
    Disabled unless you include <enable_assignment> in config.xml
    Uses a new DB table.
    Tested but only a little.
- Server: code cleanup; moved result-handling to a new file,
    and removed the PLATFORM_LIST arg to everything
    (put it in SCHEDULER_REQUEST instead)

svn path=/trunk/boinc/; revision=14767
2008-02-21 00:47:50 +00:00
David Anderson daac96c05f - create_work: added -opaque option (to specify workunit.opaque)
svn path=/trunk/boinc/; revision=14605
2008-01-21 14:02:22 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson 6b4e912b27 - random compile warning fixes
client/
    auto_update.C
    file_names.h
    scheduler_op.C
    time_stats.C
lib/
    util.C,h
tools/
    create_work.C
    updater.C

svn path=/trunk/boinc/; revision=12971
2007-06-20 23:16:30 +00:00
David Anderson ff91c8450f *** empty log message ***
svn path=/trunk/boinc/; revision=12004
2007-01-30 18:19:30 +00:00
Bruce Allen 7eae628fc8 Compile fix
svn path=/trunk/boinc/; revision=9130
2005-12-23 04:12:24 +00:00
David Anderson 53919051a9 -command_line arg to create_work
svn path=/trunk/boinc/; revision=9112
2005-12-21 21:46:22 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson 319328e169 *** empty log message ***
svn path=/trunk/boinc/; revision=4620
2004-11-22 19:17:13 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
David Anderson 156930d204 *** empty log message ***
svn path=/trunk/boinc/; revision=4003
2004-08-06 11:42:41 +00:00
David Anderson b937c3a84b *** empty log message ***
svn path=/trunk/boinc/; revision=3902
2004-07-19 23:05:44 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson 9a7d418eb7 *** empty log message ***
svn path=/trunk/boinc/; revision=3845
2004-07-10 07:27:00 +00:00
Jeff Cobb 07870d11d5 *** empty log message ***
svn path=/trunk/boinc/; revision=3838
2004-07-10 00:12:06 +00:00
David Anderson d82d04506f *** empty log message ***
svn path=/trunk/boinc/; revision=3761
2004-07-02 22:48:33 +00:00
David Anderson e0ddccfb44 *** empty log message ***
svn path=/trunk/boinc/; revision=3753
2004-07-02 19:17:53 +00:00
David Anderson 267d4b5370 *** empty log message ***
svn path=/trunk/boinc/; revision=3383
2004-05-14 23:08:33 +00:00
David Anderson 61099a071a *** empty log message ***
svn path=/trunk/boinc/; revision=3382
2004-05-14 22:58:58 +00:00
David Anderson 9c8fb41c4d *** empty log message ***
svn path=/trunk/boinc/; revision=3341
2004-05-05 17:48:39 +00:00
David Anderson c06295936c *** empty log message ***
svn path=/trunk/boinc/; revision=3259
2004-04-14 17:34:55 +00:00
David Anderson d15a9b27cf *** empty log message ***
svn path=/trunk/boinc/; revision=3188
2004-03-29 22:57:43 +00:00
David Anderson 76aa070555 *** empty log message ***
svn path=/trunk/boinc/; revision=2989
2004-02-15 18:34:10 +00:00
David Anderson 86b1ed228d *** empty log message ***
svn path=/trunk/boinc/; revision=2949
2004-02-03 22:11:55 +00:00
Karl Chen 7519dc516c *** empty log message ***
svn path=/trunk/boinc/; revision=2889
2004-01-15 23:53:13 +00:00
David Anderson d3b4ab4212 *** empty log message ***
svn path=/trunk/boinc/; revision=2852
2004-01-06 18:38:39 +00:00
David Anderson fe6a504d70 *** empty log message ***
svn path=/trunk/boinc/; revision=2781
2003-12-11 19:15:14 +00:00
David Anderson 8bb76936a1 *** empty log message ***
svn path=/trunk/boinc/; revision=2753
2003-12-07 18:58:08 +00:00
David Anderson a06fa48bf4 *** empty log message ***
svn path=/trunk/boinc/; revision=2491
2003-10-16 19:03:49 +00:00
Karl Chen f40d30ad41 *** empty log message ***
svn path=/trunk/boinc/; revision=2339
2003-09-19 07:54:11 +00:00
Eric J. Korpela e6a02ad49b Added const qualifiers to create_work and process_result_template_upload_only
prototypes.

svn path=/trunk/boinc/; revision=2332
2003-09-16 21:50:03 +00:00
David Anderson 29d24d7a57 *** empty log message ***
svn path=/trunk/boinc/; revision=2327
2003-09-12 19:59:15 +00:00
Karl Chen 41d262b095 *** empty log message ***
svn path=/trunk/boinc/; revision=2269
2003-09-05 22:12:34 +00:00
David Anderson f325f0b7d8 resource description
svn path=/trunk/boinc/; revision=2243
2003-09-04 00:41:51 +00:00
David Anderson f1eceb8605 *** empty log message ***
svn path=/trunk/boinc/; revision=2220
2003-09-02 21:16:55 +00:00
David Anderson f6771bac8c docs
svn path=/trunk/boinc/; revision=2196
2003-08-26 18:33:21 +00:00
Karl Chen 8cd084fdaf *** empty log message ***
svn path=/trunk/boinc/; revision=2124
2003-08-15 23:04:36 +00:00