Commit Graph

585 Commits

Author SHA1 Message Date
David Anderson 77ee073f58 - client: show error notice if a GPU exclusion (in cc_config.xml)
has an invalid URL, type, or app
- server, create_work() function: if a <file_info> in input template
    lists URLs, they're directories; append filename to each one
2013-03-05 16:57:51 +01:00
David Anderson 48e1de5348 - remote job submission: bug fixes, and avoid divide by zero
in adjust_user_priority.  From Niclas Lockner.
2013-03-05 16:42:44 +01:00
David Anderson 3c029c7613 - client: job scheduler tweak to avoid CPU idleness in situation
where GPU jobs use different CPU fractions
- single-job submission: default platform is that of server
2013-03-05 15:57:34 +01:00
David Anderson c9ce9eeccc - single job submission: update the setup script to use the
current app version directory structure.
2013-03-05 15:57:34 +01:00
David Anderson d4a40a8841 - admin web: remove outdated code that tried to show SVN version
in the admin main page
2013-03-05 15:05:20 +01:00
David Anderson 6f98cf9dc0 - project setup: create a default gui_urls.xml file 2013-03-05 14:52:38 +01:00
David Anderson 8b25f8ccdc - job submission: show batch priority in web page;
add priority stuff to example job submission script
2013-03-04 17:44:39 +01:00
David Anderson 3d60ae2508 - add PHP script for initializing user submit priorities
based on existing batches
2013-03-04 17:39:23 +01:00
David Anderson 6f962d5b61 - file upload handler: in FCGI version, check for trigger file
each time through loop (from Bernd).
- validator: fix bug that zeroed result.random
2013-03-04 17:24:18 +01:00
David Anderson 834bb6b4d3 - server (start script and server_status.php):
Support projects (e.g. Einstein@home) in which server components run on
    machines with no shared filesystem.
    From Bernd.
2013-03-04 17:19:39 +01:00
David Anderson 165e3bb1d5 - adjust_user_priority: scale FLOP count by app's min_avg_pfc
to account for systematic errors in FLOP count
- adjust_user_priority: get total project RAC by summing RAC
    of app versions where RAC has been updated in past week
- feeder: add --priority_asc option
    (for when wu.priority is a logical time)
2013-03-04 15:23:39 +01:00
David Anderson 2ded3ff67d - fix typo in GUI RPC
- check in some code for multi-user job prioritization
2013-03-04 15:23:39 +01:00
Bernd Machenschalk 7a35b69c64 Limit grep operation to what's relevant and avoid accidental matches
Signed-off-by: Oliver Bock <oliver.bock@aei.mpg.de>
2013-03-04 14:56:57 +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 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
David Anderson f1b4b16bbf - update_versions: get key directory from config file 2013-03-01 16:08:52 +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 5cbccf7126 - server: add stage_file to project setup; add error checking to stage_file 2013-03-01 15:31:42 +01:00
BOINC Admin 3da910bfda - scheduler: when adding a new HOST_APP_VERSION, check if there's already one for that (host, app, platform, plan class). If there is, use it and update the app version ID. This way, when a new app version is released, it will use the runtime and reliability statistics of the previous one, instead of starting from scratch. - add a script "stage_file" for staging an input file. This checks for immutability violations, moves or copies the file to the download hierarchy, computes and stores its MD5, and makes a gzipped version if needed. - add some files missing from git repo 2013-02-26 16:28:17 +01: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 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 1a6cce9647 svn path=/trunk/boinc/; revision=26113 2012-09-14 08:05:16 +00:00
David Anderson 324d582021 svn path=/trunk/boinc/; revision=26111 2012-09-14 07:12:59 +00:00
David Anderson 0a3e2fd553 svn path=/trunk/boinc/; revision=26110 2012-09-14 06:20:10 +00:00
Wenjing Wu 487916c8e9 ICT job submission
svn path=/trunk/boinc/; revision=26073
2012-09-05 14:36:39 +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
David Anderson 8761ed75f7 - lib: fix typo
svn path=/trunk/boinc/; revision=25884
2012-07-22 03:45:47 +00:00
David Anderson 19458ba4de - Compile fixes for Fedora core 17. From Christian B. Fixes #1194.
- Fix various #include issues.

CODING STYLE LAW (minimal inclusion principle):
    If foo.cpp requires <blah.h>,
    #include <blah.h> in foo.cpp, NOT foo.h


svn path=/trunk/boinc/; revision=25837
2012-07-02 18:51:02 +00:00
David Anderson 32a08d27d9 - C++ code: use MAXPATHLEN for char arrays that hold paths
svn path=/trunk/boinc/; revision=25659
2012-05-09 16:11:50 +00:00
David Anderson 6041cb40f9 - update_versions: eliminate PHP warnings when no version.xml file
svn path=/trunk/boinc/; revision=25596
2012-04-24 19:24:31 +00:00
David Anderson f12e82917f - back end: print error messages instead of numbers in several places
svn path=/trunk/boinc/; revision=25584
2012-04-20 17:23:07 +00:00
Wenjing Wu ccad62b912 - wrapper: when reading fraction-done file, read the last line
(or at least the last double).
    This accommodates a particular application (LAMMPS)
    that can only append to this file.
- CAS@home stuff


svn path=/trunk/boinc/; revision=25557
2012-04-13 09:44:01 +00:00
Wenjing Wu bd3d4fee43 - CAS@home stuff
svn path=/trunk/boinc/; revision=25556
2012-04-13 05:45:16 +00:00
Wenjing Wu dfc84b1916 - add script for canceling jobs
- CAS@home stuff


svn path=/trunk/boinc/; revision=25550
2012-04-12 12:20:16 +00:00
Wenjing Wu 6c02937500 - CAS@home stuff
svn path=/trunk/boinc/; revision=25548
2012-04-12 07:30:45 +00:00
David Anderson d35758bedb - CAS@home stuff
svn path=/trunk/boinc/; revision=25547
2012-04-12 05:18:22 +00:00
David Anderson eb52ef9545 - stuff for CAS@home
svn path=/trunk/boinc/; revision=25546
2012-04-12 02:50:53 +00:00
David Anderson 8b9c871002 - API: fix C compile error
- initial checkin of remote job stuff for app from ICT


svn path=/trunk/boinc/; revision=25543
2012-04-10 06:11:19 +00:00
David Anderson ce52c9cf3e - storage stuff
svn path=/trunk/boinc/; revision=25341
2012-02-24 22:55:11 +00:00
David Anderson 000dbadc3d - install antique file deleter as periodic task (24 hours)
when create new project


svn path=/trunk/boinc/; revision=25322
2012-02-24 03:26:30 +00:00
David Anderson 2ed1cfbbb2 - scheduler and create_work: fix bugs that caused targeted jobs
to be sent to non-targeted hosts.
    The feeder was erroneously putting targeted jobs
    in the shared mem cache.
    Changes:
    - The feeder only enumerates jobs for which
        workunit.transitioner_flags is zero.
        NOTE: this field is nonzero iff the job is assigned.
    - create_work: when creating an assigned jobs,
        set workunit.transitioner_flags appropriately


svn path=/trunk/boinc/; revision=25314
2012-02-22 22:13:08 +00:00
David Anderson 1b8d6b098d - storage stuff (work in progress)
- small code shuffle


svn path=/trunk/boinc/; revision=25274
2012-02-16 23:59:26 +00:00
David Anderson 004c5692e3 - create_work tool: change option names for assigned jobs
- admin web: show actual platform name in result summary page


svn path=/trunk/boinc/; revision=25175
2012-01-31 20:25:26 +00:00
David Anderson 130d6ed4f0 - server: revamp the "assigned job" mechanism.
This now supports two main use cases:
    1) there's a job that you want to run once on all hosts,
        present and future
        (or all hosts belonging to a user, or to a team).
        The job is never transitioned, validated, or assimilated.
    2) There's a normal job for which you want to use only
        hosts belonging to a specific user (e.g. cluster or cloud hosts).
        This restriction can be made either when the job is created,
        or on the fly,
        e.g. as part of a scheme for accelerating batch completion.
        For the latter purposes we now provide a function
            restrict_wu_to_user(DB_WORKUNIT&, int userid);

        The job goes through the standard
        transitioner/validator/assimilator path.

    These cases are enabled by config flags
        <enable_assignment_multi/>
        <enable_assignment/>
    respectively.

    Assignment of type 2) are no longer stored in shared mem,
    so there is no limit on their number.

    There is no longer a rule that assigned job names must contain "asgn".

    NOTE: this requires a database update.


svn path=/trunk/boinc/; revision=25169
2012-01-30 22:39:13 +00:00
David Anderson d281e43d6a - update_versions: for gzipped files,
send the size of the compressed file as well.
- client: parse and write the compressed size (FILE_INFO::gzipped_nbytes).
    For get_transfer GUI RPCs, if it's a compressed download send
    the compressed size.
    That way the manager will show the fraction done correctly.


svn path=/trunk/boinc/; revision=25152
2012-01-26 08:39:51 +00:00
Rom Walton 110a18b0a2 Quick Updates
svn path=/trunk/boinc/; revision=25118
2012-01-21 01:36:53 +00:00
Rom Walton 7e593bd53c Quick Updates
svn path=/trunk/boinc/; revision=25117
2012-01-21 01:33:44 +00:00
Rom Walton 563f532eb2 Quick Updates
svn path=/trunk/boinc/; revision=25116
2012-01-21 01:30:35 +00:00