Commit Graph

3129 Commits

Author SHA1 Message Date
David Anderson 7a63c1bb71 web: PHP warning fix 2013-05-08 23:08:50 -07:00
David Anderson 78c6cac276 web: fix PHP warnings 2013-05-08 22:42:43 -07:00
David Anderson b0555bbf24 web: fix some PHP warnings 2013-05-07 00:53:06 -07:00
David Anderson 82b153b75d admin web pages: validate some input values 2013-05-06 16:41:55 -07:00
David Anderson c93b12dd60 web: fix PHP warnings 2013-05-04 10:15:04 -07:00
David Anderson 6b22ba2902 web: fix PHP warning 2013-05-04 00:01:20 -07:00
David Anderson 4f7bd9e7ad web: user $x = new StdClass instead of $x = null for new objects 2013-05-03 22:12:26 -07:00
David Anderson 0c430ce1fa Add support for multi-size apps
See http://boinc.berkeley.edu/trac/wiki/MultiSize
The components of this include:
- DB changes:
    add size_class to workunit and result
    n_size_classes to app; >1 means multi-size
- size_regulator daemon program: change results states
    from INACTIVE to UNSENT carefully
- size_census program; writes quantile info in flat files
- transitioner: when creating results for multi-size apps,
    set server state to INACTIVE
- sched shmem (feeder): read quantile info from flat files,
    store in shared memory
- scheduler (score-based scheduling): for multi-size apps,
    add component to score function for size class.
- show_shmem: show result size class
- make_work (and other callers of count_unsent_results()):
    count both INACTIVE and UNSENT
- create_work: add --size_class cmdline option

Also:
- if get MySQL errors in upgrade, don't rewrite db_version
2013-04-25 00:27:35 -07:00
David Anderson 8740e9a2b5 - web: update text for finding data directory 2013-04-24 19:15:06 -07:00
David Anderson 17be087b00 - web: Remove "I've also got this question" and "My question has been answered"
buttons from threads in Questions and Answers forums.
    These are a vestige from when Q&A forums were different from other forums,
    i.e. questions were sorted by frequency of being asked,
    and answers were sorted by their relevance.
    I still like this idea, but it didn't catch on.
2013-04-20 14:18:51 -07:00
David Anderson 478900c321 - web/scheduler: add project preference for not getting Intel GPU jobs 2013-04-20 12:25:55 -07:00
David Anderson 0eaaca174a - make_project: don't write <cgi_url> in config.xml; it's not used 2013-04-13 21:32:10 -07:00
David Anderson 0e3a30c17e - remote job submission: fix bug in web interface 2013-03-28 22:53:01 -07:00
David Anderson b93e80c6f5 - client: code cleanup. Some variable/function/constant names
contained "debt" when they actually refer to REC.
    Change these names to use "rec".
2013-03-24 11:22:01 -07:00
David Anderson a78705a8d4 - client emulator: ignore non-CPU-intensive apps
- remote job submission:
    - prefix error messages with "BOINC server:"
      so higher levels can tell where the error is coming from
    - "get templates" RPC can take job name instead of app name
- Condor interface
    - add BOINC_SELECT_PROJECT function
    - BOINC_SUBMIT no longer has info about output files
    - Change BOINC_FETCH_OUTPUT semantics
2013-03-22 22:04:35 -07:00
David Anderson 9591a8adec - remote job submission debugging 2013-03-22 10:39:45 +01:00
David Anderson 1f2f32f115 - remote job submission: bug fix to get_output.php, from Nicolas 2013-03-22 10:31:43 +01:00
David Anderson 1ef582aad6 - client: improve work fetch messages
- web: include user ID in email to moderators about banishment
2013-03-22 10:29:48 +01:00
David Anderson 16738c6f30 - remote job submission: don't confuse remote and semilocal file modes 2013-03-22 10:29:48 +01:00
David Anderson 377ef87c0f - remote job submission: fix remote file mode, and improve error reporting 2013-03-22 10:29:48 +01:00
David Anderson d95da0f75c - Condor integration:
- change "query_batch" to "query_batches"; allow multiple batches
    - add "ping server" web RPC and GAHP function
    - change BoincDb::get() so that it generates XML error message if needed
2013-03-22 10:25:39 +01:00
David Anderson 033a47691b - client: write log flags in alpha order 2013-03-15 13:38:44 +01:00
David Anderson bd8ecb1b00 - Condor integration:
- add Web RPC for querying a completed job (returns status,
        stderr out, run times, etc.)
    - support Jaime's changes to GAHP protocol
    - support for zipped output files
2013-03-15 13:38:44 +01:00
David Anderson 72d38818b4 - BOINC/Condor stuff
- C++ interfaces to remote functions: add error_msg argument,
    so caller can get textual description of error
2013-03-07 11:31:39 +01:00
David Anderson 29444b3edb - remote job submission: add a web RPC for getting an app's templates
(can use this to consistency-check job submission info)
2013-03-07 11:31:38 +01:00
David Anderson 71b6508313 - client: add <fetch_on_update> config option;
requests work when you update a project
    even if it's not highest priority
2013-03-07 11:28:43 +01:00
David Anderson 9a670c88a5 - web: change var names 2013-03-07 11:22:27 +01:00
David Anderson 47409201aa - web (ops): update profile page generator:
- to use current DB interface
    - to add "-d" option printing debug info
    - to show start time w/o getting header errors
    From Christian Beer.
2013-03-05 17:26:33 +01:00
David Anderson d6c92d870c - Code cleanup for remote job submission
- Add abort_jobs operation to BOINC GAHP
- Change batch-related RPCs so that you can identify batch
    either by database ID or name
2013-03-05 17:15:18 +01:00
David Anderson b95e0dc728 - scheduler and web: store OpenCL version along with other GPU info
in host.serialnum.  Display it on web.
2013-03-05 17:11:33 +01:00
David Anderson 47d3c9ffff - wrapper: eliminate spurious error message in zip parsing;
make it work if stderr.txt is one of the files being zipped.
- user web: show GPU driver version as 341.07
2013-03-05 17:11:23 +01:00
David Anderson a6af5bf272 - remote job submission tweaks 2013-03-05 17:10:31 +01:00
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 876113ddd5 - PHP comment tweak 2013-03-05 16:33:40 +01:00
David Anderson bc38f557e1 - admin web: fix spurious error in manage user page 2013-03-05 16:33:40 +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 123c725cac - user web: html/user/languages.txt was lost in translation 2013-03-05 14:52:38 +01:00
David Anderson 4eed4c1b7d - client: message tweak
- remote job submission: output file fetch now working.  Woo hoo!
2013-03-05 14:52:37 +01:00
David Anderson 46f06b9350 - Remote job submission stuff for Condor.
Submit and Query are more or less working.
2013-03-05 14:52:37 +01:00
David Anderson 7f4263b079 - Condor stuff; basic function works now! 2013-03-05 14:26:40 +01:00
David Anderson 427176174b - user web: remove dead stats site links 2013-03-05 14:05:04 +01:00
David Anderson 2a73dc0e01 - remote file management stuff for Condor 2013-03-05 14:05:04 +01:00
David Anderson a46a5926ae - remote file management and job submission stuff for Condor 2013-03-05 14:05:04 +01:00
David Anderson be9ddc0d15 - admin web: increase mem size limit for revalidate function 2013-03-05 13:53:59 +01:00
David Anderson fce6266e23 - Web RPC for remote job submit: fix bugs
- scheduler: message tweaks
2013-03-05 13:53:58 +01:00
David Anderson 35608c434b - fix Android compile warnings
- intermediate checkin for Condor stuff
2013-03-05 13:33:27 +01:00
David Anderson 657c0f9730 - show_shmem: show more stuff, and improve display
- job prioritization tweaks
2013-03-04 17:48:45 +01:00
David Anderson 80df60718b - web: fix typo on job submit code 2013-03-04 17:44:39 +01:00