Commit Graph

2238 Commits

Author SHA1 Message Date
David Anderson fa419731dd - scheduler RPC: add <override_file_present> element to
the <working_global_preferences> element in
    scheduler RPC request
    (tells the server that there's an override file).
- account manager RPC: add <working_global_preferences> element,
    including the override flag.
- web: add "no time limit" option for forum search
- web: increase show-user-post query limit to 10000


svn path=/trunk/boinc/; revision=24129
2011-09-06 04:34:29 +00:00
David Anderson 3eabc15a84 - lib: minor code shuffle
svn path=/trunk/boinc/; revision=24126
2011-09-02 22:06:30 +00:00
Charlie Fenton b042ad7b42 lib: Fix compile errors; add app_control.cpp to XCode project
svn path=/trunk/boinc/; revision=24125
2011-09-02 21:54:35 +00:00
David Anderson 4e946854c1 - client/API/vboxwrapper:
add a mechanism so that apps can report sub-processes
    that are not descendants (e.g., virtual machines)
    These processes are then counted as part of the app,
    not as "non-BOINC CPU time".
    This fixes a bug where processing was incorrectly suspended
    because CPU usage by VM apps exceeded the "CPU usage limit" pref.

    Implementation:
    - the PIDs of the processes in question
        are passed from app to client via shared-memory,
        in the app_status channel.
        A new variant of boinc_report_app_status() supports this.
    - the VBox wrapper queries the PID of the VM,
        and reports it in this way.
    - procinfo_app() includes a new argument: a list of PIDs
        that are part of the app, although not ancestrally
        related to the main process.
    - in the client, ACTIVE_TASK now includes a vector "other_pids".
        If this is nonempty, it's passed to procinfo_app().


svn path=/trunk/boinc/; revision=24123
2011-09-02 20:47:05 +00:00
David Anderson 4778836022 - Win compile fixes
svn path=/trunk/boinc/; revision=24122
2011-09-02 18:47:15 +00:00
David Anderson ac67e5c5ee - code shuffle
svn path=/trunk/boinc/; revision=24121
2011-09-02 18:32:32 +00:00
David Anderson 8ad9d7d98b - more code shuffling:
proc_control: controlling processes
    procinfo: enumerating and querying processes
    run_app_windows: launching apps as other users on Win


svn path=/trunk/boinc/; revision=24120
2011-09-02 18:23:13 +00:00
David Anderson ecf614812e - code shuffling
svn path=/trunk/boinc/; revision=24119
2011-09-02 18:04:10 +00:00
David Anderson 1aa8675162 - win compile fixes
svn path=/trunk/boinc/; revision=24118
2011-09-02 17:57:18 +00:00
David Anderson b16f603a8a - client (and API and manager): change the data structure
used for system process info
    Old: vector of PROCINFO.
        Descendants of a process were found by recursively
        iterating through the vector.
        Operations are O(n)
    New: map of (id, PROCINFO),
        and each PROCINFO has a vector of its children.
        Operations are O(log(n))
    Also combined Mac/Win/Linux variants of code that
    was essentially the same.


svn path=/trunk/boinc/; revision=24117
2011-09-02 17:45:29 +00:00
Charlie Fenton 5c02c6a01e lib, api: bring Xcode and make files into agreement
svn path=/trunk/boinc/; revision=24104
2011-09-01 09:02:54 +00:00
Charlie Fenton 0e5e4da926 API: More fixes to boinc_get_opencl_ids()
svn path=/trunk/boinc/; revision=24103
2011-09-01 08:31:55 +00:00
Charlie Fenton a02c37cbce API: Fix compile errors and warnings, add documentation
svn path=/trunk/boinc/; revision=24101
2011-09-01 00:06:34 +00:00
David Anderson f1040e87ec - move boinc_get_opencl_ids() from lib/ to api/.
lib/ is for code that's used by >1 part of BOINC


svn path=/trunk/boinc/; revision=24093
2011-08-31 15:54:41 +00:00
Charlie Fenton f5a28b279d lib: rename boinc_getopencl_ids() to boinc_get_opencl_ids()
svn path=/trunk/boinc/; revision=24092
2011-08-31 11:18:29 +00:00
Charlie Fenton 69debb0743 lib: Add boinc_getopencl_ids() to be called by OpenCL project applications
svn path=/trunk/boinc/; revision=24091
2011-08-31 11:10:22 +00:00
Charlie Fenton 97f5146f2a define GPU_TYPE_NVIDIA, GPU_TYPE_ATI, use everywhere instead of literal strings "NVIDIA" and "ATI" to ensure uniformity
svn path=/trunk/boinc/; revision=24090
2011-08-31 11:08:13 +00:00
David Anderson abdb603bc4 - job creation: handling of extra XML in input templates didn't work.
- job creation: fix stripping of <output_template> tags
- client: fix off-by-1 error in buffer overflow logic for scanning keys.


svn path=/trunk/boinc/; revision=24057
2011-08-27 16:52:04 +00:00
Charlie Fenton 2246e81d0c lib: use standard implementation of strtoull when available
svn path=/trunk/boinc/; revision=24049
2011-08-26 09:44:50 +00:00
Charlie Fenton 0cd4b311de client: fix Linux compile errors
svn path=/trunk/boinc/; revision=24047
2011-08-25 18:20:39 +00:00
David Anderson 38de5c3e6b - client: fix bug where NVIDIA display driver version wasn't being
set correctly for some laptop GPUs
- client/server: improve estimation of NVIDIA GPU peak FLOPS


svn path=/trunk/boinc/; revision=24046
2011-08-25 15:37:55 +00:00
Charlie Fenton 01c4bb35c0 client: fix Linux compile errors
svn path=/trunk/boinc/; revision=24045
2011-08-25 08:32:56 +00:00
Charlie Fenton 545a4ed0ec client: fix Linux compile errors
svn path=/trunk/boinc/; revision=24044
2011-08-25 08:21:32 +00:00
Charlie Fenton 1ab3080e8f client: fix Linux compile erros
svn path=/trunk/boinc/; revision=24042
2011-08-25 08:18:12 +00:00
Charlie Fenton ad3fb32f17 lib: On Windows, call _strtoui64() instead of strtoull
svn path=/trunk/boinc/; revision=24038
2011-08-24 23:25:36 +00:00
Charlie Fenton 2f881f920d lib: try to fix Linux build errors
svn path=/trunk/boinc/; revision=24037
2011-08-24 22:22:07 +00:00
Charlie Fenton 4e8c11aad9 lib: try to fix Linux build errors
svn path=/trunk/boinc/; revision=24036
2011-08-24 22:16:19 +00:00
Charlie Fenton 0e7909c97b lib, client: revert recent changes to restore unsigned long long so we can determine cause of Linux build errors
svn path=/trunk/boinc/; revision=24035
2011-08-24 21:41:02 +00:00
Charlie Fenton 65ec7878b4 lib: fix compile error on Mac, Ubuntu and Windows
svn path=/trunk/boinc/; revision=24033
2011-08-24 08:12:45 +00:00
David Anderson aff8c96f99 - fix linux build errors in coproc stuff.
I don't think unsigned long long is relevant here.


svn path=/trunk/boinc/; revision=24031
2011-08-24 00:51:20 +00:00
Charlie Fenton 0f7ddbf9a2 Fix comment
svn path=/trunk/boinc/; revision=24029
2011-08-23 13:47:56 +00:00
Charlie Fenton 05ddd16f5e client: write / parse OpenCL info in COPROC XML data
svn path=/trunk/boinc/; revision=24028
2011-08-23 12:56:19 +00:00
Charlie Fenton 0c39d8e9d9 client: write / parse OpenCL info in COPROC XML data
svn path=/trunk/boinc/; revision=24027
2011-08-23 12:45:07 +00:00
Charlie Fenton 2d23571541 client: write / parse OpenCL info in COPROC XML data
svn path=/trunk/boinc/; revision=24026
2011-08-23 12:10:38 +00:00
Charlie Fenton 9256e9f4fd client: write / parse OpenCL info in COPROC XML data
svn path=/trunk/boinc/; revision=24025
2011-08-23 11:29:11 +00:00
Charlie Fenton 5fcca94711 client: Correlate OpenCL results with CAL or CUDA results based on index of devices reported by each
svn path=/trunk/boinc/; revision=24021
2011-08-22 08:25:32 +00:00
David Anderson 2c72e9c5cc - client: more XML parsing stuff
svn path=/trunk/boinc/; revision=23993
2011-08-11 17:41:48 +00:00
David Anderson 1383142b03 - client: use new XML parser pretty much everywhere
svn path=/trunk/boinc/; revision=23984
2011-08-11 06:17:33 +00:00
David Anderson 2fa2ae125b svn path=/trunk/boinc/; revision=23979 2011-08-10 17:58:16 +00:00
David Anderson c5c5975b44 - Improve interface of XML_PARSER.
Add parsed_tag and is_tag to the class,
    so that parsing functions don't need to declare them
    and pass them around.
- Complete the task of using XML_PARSER as the argument
    to all parsing functions.
    (Internally, many of these functions still use the old XML parser;
    that's the next step.)


svn path=/trunk/boinc/; revision=23978
2011-08-10 17:11:08 +00:00
David Anderson 609d5665cc - client: pass XML_PARSER& rather than MIOFILE& to parse functions.
Preparatory to using new-style XML parsing everywhere.


svn path=/trunk/boinc/; revision=23975
2011-08-09 21:44:14 +00:00
David Anderson 2d85ed6ed3 - scheduler: apparently some hosts send GPU parameters that cause
the peak_flops to be negative (probably #processors = -1).
    This leads to negative credit.
    Fix: if peak flops is negative, set it to 50 GFLOPS
- web: fix email validate page


svn path=/trunk/boinc/; revision=23932
2011-08-04 15:33:40 +00:00
David Anderson f3b9286d78 - client: fix bug in get_descendants(),
which prevented the client from cleaning up
    subprocesses of misbehaving multiprocess apps.
- remote job submission system:
    assign physical names to input files (based on their MD5)
    rather than having the user provide physical names
- VM apps: eliminate vbox64 plan class.  Only vbox.


svn path=/trunk/boinc/; revision=23923
2011-08-03 16:45:00 +00:00
David Anderson 3f4c207636 - client: fix bug in <exclude_gpu> config option
- client: extend <exclude_gpu> option so that if <device_num> is omitted,
		all GPUs of the given type are excluded.

svn path=/trunk/boinc/; revision=23902
2011-07-29 17:54:49 +00:00
David Anderson 5b159c6735 - remote job submission: bug fix and tweaks
- client: cc_config.xml: if <devnum> is omitted from a <exclude_gpu>,
    it means exclude all instances of that GPU type
- client: if all instances of a GPU type are excluded for a project,
    don't ask the project for jobs of that type


svn path=/trunk/boinc/; revision=23898
2011-07-29 00:07:20 +00:00
Charlie Fenton b5f61e41f2 lib: Initialize config_coprocs struct in CONFIG::defaults()
svn path=/trunk/boinc/; revision=23882
2011-07-27 07:36:06 +00:00
Charlie Fenton 98a2be83c2 Mac: Begin changes for XCode 4.1 and GCC 4.2
svn path=/trunk/boinc/; revision=23869
2011-07-25 11:37:06 +00:00
David Anderson 9a4140ae30 - client/server: change the implementation of upload signatures
as described here: http://boinc.berkeley.edu/trac/wiki/ClientDataModel
    Compatibility: if your project is using upload signatures:
        - set ignore_upload_certificates
        - disable job creation
        - let your job queue drain
        - upgrade to new server software
        - clear ignore_upload_certificates
        - enable job creation


svn path=/trunk/boinc/; revision=23863
2011-07-20 20:08:05 +00:00
David Anderson 8296968cbb - client: changes to the client file model to support distributed storage,
as described here: http://boinc.berkeley.edu/trac/wiki/ClientDataModel
        Compatibility:
            clients that upgrade to this version should see nothing unusual.
            Clients that downgrade from this version to a previous version
            should see all projects reset
            (i.e. tasks disappear and then get re-downloaded).
    - manager: always show whether a file transfer is upload or download
    - client: don't scale work requests by resource share

svn path=/trunk/boinc/; revision=23862
2011-07-20 19:12:10 +00:00
David Anderson 979e57767e - client: add <rec_half_life_days> config option
svn path=/trunk/boinc/; revision=23843
2011-07-14 16:15:45 +00:00