Commit Graph

4353 Commits

Author SHA1 Message Date
David Anderson 760c16eb03 - scheduler: in work_needed(), ignore requests for resource
types for which we have no app versions
- client: if too many <coproc> elements in cc_config.xml,
    detect it and inform user


svn path=/trunk/boinc/; revision=24144
2011-09-08 18:55:55 +00:00
David Anderson 3fe4507e37 - client: make exit_before_start a cc_config.xml option
(as well as a cmdline option)
- wrapper: print error messages if stdin/out/err files don't exist


svn path=/trunk/boinc/; revision=24143
2011-09-07 22:45:00 +00:00
David Anderson 8cd20da680 - client: fix bugs with white space around code sign keys
and file signatures
	- client: when describing app versions in scheduler requests,
		we still must use CUDA instead of NVIDIA; that's what's in the server code.

svn path=/trunk/boinc/; revision=24135
2011-09-06 22:50:46 +00:00
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 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 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 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
David Anderson c0f977b19c - client: fix bugs related to white space around code signing keys
- win compile fixes

svn path=/trunk/boinc/; revision=24095
2011-08-31 16:36:17 +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 1bf54d11ff - client: send all running jobs a "reread app info" message
when global prefs change
    (they might have to suspend or resume network activity)


svn path=/trunk/boinc/; revision=24084
2011-08-30 21:34:27 +00:00
David Anderson dde093a021 - client: fix a couple of valgrind warnings
svn path=/trunk/boinc/; revision=24076
2011-08-30 15:36:31 +00:00
David Anderson 0476254e15 - client: fix bug that caused project attach to fail
- clientgui: Rom, we should do error-checking of most GUI RPCs;
		look for REPORT ERROR in ProjectProcessingPage.cpp

svn path=/trunk/boinc/; revision=24059
2011-08-27 18:32:47 +00:00
David Anderson bd0897b92c - manager: Communitcations -> Communications.
please, no spelling errors in function/variable names
- client: parse deprecated tags in <file_info>


svn path=/trunk/boinc/; revision=24058
2011-08-27 18:07:28 +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 f30f4eb3b1 client: fix Linux compile warnings
svn path=/trunk/boinc/; revision=24041
2011-08-25 08:11:03 +00:00
David Anderson 76d6e67459 - client: pass --gpu_type X (X=nvidia or ati) as well as --device.
This lets device-neutral OpenCL apps figure out which GPU to use.


svn path=/trunk/boinc/; revision=24040
2011-08-25 06:33:35 +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 6697484f84 client: fix compiler warnings on Mac and Ubuntu
svn path=/trunk/boinc/; revision=24034
2011-08-24 08:17:34 +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 9256e9f4fd client: write / parse OpenCL info in COPROC XML data
svn path=/trunk/boinc/; revision=24025
2011-08-23 11:29:11 +00:00
David Anderson 289bd16269 - client emulator fixes
svn path=/trunk/boinc/; revision=24024
2011-08-22 15:07:59 +00:00
Charlie Fenton 373fce129c client: Correlate OpenCL results with CAL or CUDA results based on index of devices reported by each
svn path=/trunk/boinc/; revision=24023
2011-08-22 09:32:06 +00:00
Charlie Fenton 8bd97600bd client: Correlate OpenCL results with CAL or CUDA results based on index of devices reported by each
svn path=/trunk/boinc/; revision=24022
2011-08-22 09:21:59 +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
Charlie Fenton f1af1a868b client: Fix compiler warnings
svn path=/trunk/boinc/; revision=24020
2011-08-22 07:16:48 +00:00
David Anderson 8fda6c0497 - Vbox wrapper: add --trickle x option; sends a trickle-up message
reporting incremental runtime exery x seconds of runtime.
- client: more XML parsing cleanup
- credit trickle handler: do sanity checks on CPU speed


svn path=/trunk/boinc/; revision=24017
2011-08-21 11:18:08 +00:00
David Anderson e950cff532 - client: XML tweak
svn path=/trunk/boinc/; revision=23995
2011-08-11 21:17:56 +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
Rom Walton 1bc7c85d65 - Changes for Charity Engine Desktop.
client/win/res/
        ce.ico
    clientctrl/
        boincsvcctrl.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        ce.ico
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/
        boinc_ss_opengl.rc
    clientscr/res/
        ce.bmp
        ce.ico
    clienttray/
        boinc_tray.rc
    win_build/
        ce_boinc_cli.vcproj
        ce_boinc_dll.vcproj
        ce_boinc_ss.vcproj
        ce_boinccmd.vcproj
        ce_boincmgr.vcproj
        ce_boincsvcctrl.vcproj
        ce_boinctray.vcproj
        ce_ss_app.vcproj
        CharityEngine.sln
    win_build/installerv2/
        CharityEngine.ism
    win_build/installerv2/redist/0409/
        ce-eula.rtf
    win_build/installerv2/redist/CharityEngine/
        acct_mgr_url.xml
        ce.ico
        CE_IsDialogBanner.bmp
        CE_IsDialogBitmap.bmp
        CE_Splash.bmp

svn path=/trunk/boinc/; revision=23977
2011-08-10 16:51:58 +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 cceea7f6d4 - client: rename MODE to RUN_MODE, and rename vars accordingly
svn path=/trunk/boinc/; revision=23974
2011-08-09 20:41:15 +00:00
Charlie Fenton 34d4385c23 Mac Client: Call NSVersionOfRunTimeLibrary("cuda") to set cc.display_driver_version
svn path=/trunk/boinc/; revision=23970
2011-08-09 01:09:36 +00:00
David Anderson 7b9e20ee78 - client: make round-robin simulator match what the job scheduler now does:
give lowest priority to projects with zero resource share.


svn path=/trunk/boinc/; revision=23963
2011-08-08 19:07:54 +00:00
Rom Walton 9ac520985a - Changes for Charity Engine Desktop.
client/win/res/
        ce.ico
    clientctrl/
        boincsvcctrl.rc
    clientgui/
        BOINCGUIApp.rc
    clientgui/res/
        ce.ico
    clientlib/win/
        boinc_dll.rc
    clientscr/
        boinc_ss.rc
    clientscr/
        boinc_ss_opengl.rc
    clientscr/res/
        ce.bmp
        ce.ico
    clienttray/
        boinc_tray.rc
    win_build/
        ce_boinc_cli.vcproj
        ce_boinc_dll.vcproj
        ce_boinc_ss.vcproj
        ce_boinccmd.vcproj
        ce_boincmgr.vcproj
        ce_boincsvcctrl.vcproj
        ce_boinctray.vcproj
        ce_ss_app.vcproj
        CharityEngine.sln
    win_build/installerv2/
        CharityEngine.ism
    win_build/installerv2/redist/0409/
        ce-eula.rtf
    win_build/installerv2/redist/CharityEngine/
        acct_mgr_url.xml
        ce.ico
        CE_IsDialogBanner.bmp
        CE_IsDialogBitmap.bmp
        CE_Splash.bmp

svn path=/branches/boinc_core_release_6_8/; revision=23955
2011-08-08 17:32:20 +00:00
David Anderson e033c50df6 - client: projects with zero resource share are always lower priority,
for both job sched and work fetch,
    than projects with positive resource share.

svn path=/trunk/boinc/; revision=23946
2011-08-08 00:49:16 +00:00
Charlie Fenton 1b7c83f224 Mac: Updates for compatibility with current CUDA software and OS X through OS 10.7 Lion, etc.
svn path=/branches/boinc_core_release_6_8/; revision=23936
2011-08-05 12:08:34 +00:00
David Anderson 15c3ff7d31 - client: if an app version has nonempty file_prefix,
copy all its input and output files

svn path=/trunk/boinc/; revision=23925
2011-08-03 19:47:26 +00:00
David Anderson 5a8fd0afc7 - client: add optional <file_prefix> to APP_VERSION>.
If present, "file_prefix/" is prepended to the logical names
    of input and output files of jobs using that app version.
    I.e. for Vbox wrapper based app versions, file_prefix is "share",
    so that I/O files are put in a "share" subdirectory of the slot dir.
- update_versions: add support for
    <dont_throttle>
    <file_prefix>x</file_prefix>
    in version.xml


svn path=/trunk/boinc/; revision=23924
2011-08-03 18:14:45 +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 47b42e2b3f - client: undo the above. doesn't work
svn path=/trunk/boinc/; revision=23914
2011-08-01 23:17:12 +00:00
David Anderson a25449aa0f - client: change the way upload signatures are generated
in an attempt to make them work with existing servers


svn path=/trunk/boinc/; revision=23913
2011-08-01 21:49:41 +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 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 880d01af58 - client: debug distributed storage functions
svn path=/trunk/boinc/; revision=23867
2011-07-20 22:29:17 +00:00
David Anderson a388468fa2 - client: debug the above
svn path=/trunk/boinc/; revision=23865
2011-07-20 20:49:32 +00:00