Commit Graph

5403 Commits

Author SHA1 Message Date
David Anderson f37336a956 client (Android): for os_version, append Android version to Linux version
If the GUI reports the Android version, append it to the Linux version as
2.6.5 (Android 3.1.0)
2014-11-22 15:08:47 -08:00
David Anderson b80ea2aa04 client: indicate "high-priority" tasks in event log (if cpu_sched_debug set) 2014-11-19 23:49:51 -08:00
Rom Walton a25f864a09 android: Properly report the android version to the core client so it can bubble it up to the server 2014-11-19 19:05:41 -05:00
David Anderson 303a0df53b client: fixes to last commit 2014-11-18 23:11:27 -08:00
David Anderson cce00e4587 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-11-18 22:14:58 -08:00
David Anderson aeac6c01f5 client/manager: fix WCG attach
When I added LDAP support I assumed that an email_addr without
a "@" is an LDAP name.
I forgot that WCG uses user names rather than email addrs.  D'oh!
2014-11-18 21:58:38 -08:00
Rom Walton 2d8d092e3c Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-11-18 16:36:21 -05:00
Rom Walton 0bd6fa7c8a LIB: Remove string type conversion naming conflict with the ATL framework. 2014-11-18 16:35:47 -05:00
David Anderson eafd70ecc6 client: request work from backed-off resources if doing RPC anyway 2014-11-18 00:05:17 -08:00
David Anderson fbc6e40dca Client: fix bug that prevented work fetch for zero-share projects
In work fetch setup, we were computing rsc_project_reason
before doing the round-robin simulation.
It needs to be done after, because it uses the # of idle devices,
which is computed by the simulation.
2014-11-17 13:56:06 -08:00
David Anderson 837f93583d client: skip anonymous platform vbox apps if <dont_use_vbox/> is set
If an anonymous platform app version has a plan class containing "vbox",
and the <dont_use_vbox/> flag is set in cc_config.xml, skip the app version.
2014-11-14 13:01:26 -08:00
David Anderson f548a5ce49 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-11-12 09:59:10 -08:00
David Anderson 9b79d9504b client: message tweak 2014-11-12 09:58:00 -08:00
David Anderson b7d15277e1 Client: notice bodies were being XML-escaped one time too many 2014-11-12 01:46:18 -08:00
David Anderson 0ae4b4ecff client: when reading app_config.xml, clear app versions vector
Otherwise old error notices persist
2014-11-12 00:47:16 -08:00
David Anderson ed961aace2 Client: do job reschedule when network becomes available
... since there might be suspended "needs network" jobs.
Otherwise these jobs remain suspended up to a minute.
2014-11-10 23:25:41 -08:00
David Anderson 2bb3e74782 Client: fix bug involving needs_network tasks
In deciding whether to schedule needs_network tasks,
we were looking at gstate.network_suspended.
The problem is that this remains false for 5 minutes
after any GUI RPC that could generate network activity.
Instead, look at gstate.file_xfers_suspended.
2014-11-10 01:04:33 -08:00
David Anderson a10fea0281 Client: improve error message for non-tag text in app_config.xml 2014-11-10 01:01:11 -08:00
David Anderson 2b2b04188a client: "suspend GPUs" shouldn't suspend non-GPU coprocessors
The following should apply to GPUs but not other coprocs (e.g. miner ASICs):
- "suspend GPUs" command in GUI
- prefs for suspending GPUs
- always removing app from memory when suspended
2014-11-07 00:57:39 -08:00
David Anderson f68b4fc5b0 client: let scheduler reply update result deadlines
If a scheduler reply contains a result we already have,
and the report deadline is different, update it.

Notes:
- report deadlines are based on server time.
  If there's clock skew between client and server, things are off.
  This is a design flaw, but too late now.
- server-side support for adjusting deadlines isn't there yet
2014-11-07 00:52:27 -08:00
Charlie Fenton 6790085415 client: fix spaces in source code. 2014-11-05 02:17:13 -08:00
Charlie Fenton 408003dd71 client: Allow using NVIDIA GPUs with Compute Capability < 2.0 with CUDA driver 6.5 or later on non-Mac platforms. Future versions of CUDA will drop support for these GPUs on all platforms and presumably not report these GPUs, so we still explain that situation in the Event Log and Notices. 2014-11-05 02:12:41 -08:00
David Anderson f163dd0ec7 client: send LDAP credentials only over HTTPS 2014-10-28 14:06:49 -07:00
David Anderson 183adbb997 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-10-28 13:35:02 -07:00
David Anderson d62825fb21 Client: don't XML-unescape notice bodies when reading from file
There's no need for this since the bodies are stored in CDATA.
Doing so causes a bug:
if a notice body contains an entity (like &amp;)
and we get the same notice from an RSS feed,
the 2 notices are treated as separate
since the old copy is unescaped and the new one isn't.
2014-10-28 13:34:46 -07:00
Rom Walton b8485dfaf6 Merge branch 'master' of ssh://isaac.ssl.berkeley.edu/boinc-v2 2014-10-28 09:49:47 -04:00
Rom Walton 051013193d client: Detect Windows 10 2014-10-28 09:49:20 -04:00
Charlie Fenton 6d1f6060d4 client: add some comments to clarify that the CUDA warning message and notice will appear only once for each relevant GPU. 2014-10-28 02:50:14 -07:00
Charlie Fenton 62e70a8e98 client: Handle future versions of CUDA which may not report NVIDIA GPUs with Compute Capability < 2.0 at all; prevent use of those GPUs for OpenCL and show explanation in Event Log and Notices. 2014-10-26 04:12:01 -07:00
Charlie Fenton 5a8b1a2d21 client: If CUDA driver 6.5 or later is installed, prevent use of NVIDIA GPUs with Compute Capability < 2.0 and show explanation in Event Log and Notices. 2014-10-25 06:44:08 -07:00
Charlie Fenton b2fefc885b client: If CUDA driver 6.5 or later is installed, prevent use of NVIDIA GPUs with Compute Capability < 2.0 and show explanation in Event Log and Notices. 2014-10-25 05:21:48 -07:00
Charlie Fenton 4726923ef8 client: If CUDA driver 6.5 or later is installed, prevent use of NVIDIA GPUs with Compute Capability < 2.0 and show explanation in Event Log and Notices. 2014-10-25 03:55:29 -07:00
David Anderson b50ce98065 client emulator: if all GPUs excluded, don't request work
This was in the actual client but not the emulator
2014-10-22 23:44:14 -07:00
David Anderson bda8d7bc56 client: remove <data_dir> option from cc_config.xml
This leads to confusion;
e.g. if you do "read config files" it will look for cc_config.xml
in the new directory, not find it, and set default options.
Also, log files end up in old directory.
Also, gui_rpc_auth.cfg will be in new directory,
and the Manager won't look there.
2014-10-22 20:08:48 -07:00
David Anderson d1b2c57c37 client, Android: clear out project directory on project reset.
When a project is reset, the client deletes all the files from its dir
that BOINC knows about.
However, there may be other files, created by its apps.
On Android, where space is likely to be scarce,
delete these when the project is reset.

Maybe we should do this on all projects.
But we'd need to not to delete user-created files
like app_config.xml, and anonymous-platform stuff
like app_info.xml and the app files.
2014-10-21 22:06:22 -07:00
David Anderson d0fb0184e8 client/manager/server: finish LDAP support
- get_project_config.php: if project supports LDAP,
  advertise this to the client.
- Manager: if project supports LDAP, say "Email address or LDAP ID"
  in Attach Project wizard,
  and don't do email address validation.
- lookup_account GUI RPC (client side): if passing an LDAP ID,
  don't lowercase it, and don't hash passwd
- lookup_account GUI RPC (server side): if passing an LDAP ID,
  pass appropriate URL args to Web RPC
- lookup_account Web RPC: in LDAP case, pass "ldap_auth" arg,
  and pass "ldap_uid" and "passwd".
  Handle these appropriately.
2014-10-18 23:53:27 -07:00
David Anderson 7ed946cc37 client: message tweaks 2014-10-13 09:08:54 -07:00
David Anderson 6dd8014a3c client and manager: improve messages for boinc_temporary_exit() situations
Use "postponed" to describe tasks that called boinc_temporary_exit()
and are waiting to be run again, in

- the manager Tasks tab (replace "Waiting to run (Scheduler wait: x"))
- event log (replace "task called temporary_exit()")
- notices (replace "Can't run task")
2014-10-11 16:10:49 -07:00
David Anderson 1092fd1b31 client: let a MT job run even if it uses more than max # CPUs
Suppose the user fetches an 8-CPU job, then changes their prefs to use 6 CPUs.
Let the job run anyway.
2014-10-10 23:51:57 -07:00
David Anderson 4c9d1d6659 client: code cleanup and possible debugging in work fetch
- Remove code that tries to keep track of available GPU RAM
  and defer jobs that don't fit.
  This never worked, it relied on project estimates of RAM usage,
  and it's been replaced by having the app do temporary exit
  if alloc fails.
- Move logic for checking for deferred jobs from CPU
  to work fetch.
- Rename rsc_defer_sched to has_deferred_job,
  and move it from PROJECT to RSC_PROJECT_WORK_FETCH
- tweak work_fetch_debug output
2014-10-10 14:35:00 -07:00
David Anderson 9c96108c67 client: work fetch code cleanup
The logic for deciding whether to fetch work for a project
or a (project, resource type) pair
was scattered among several functions, with confusing names.
Consolidate this logic, and use consistent names.
2014-10-10 10:37:07 -07:00
David Anderson f63f259ce5 client: code cleanup 2014-10-10 07:15:10 -07:00
David Anderson 870ec73327 scheduler: fix crash bug caused by recent checkin 2014-10-09 08:56:03 -07:00
David Anderson 529707760f Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-10-04 16:00:25 +02:00
David Anderson 47fbad8e65 client: fix bug where <dont_use_vbox> config option wasn't being parsed 2014-10-04 06:59:19 -07:00
Rom Walton 15ff82b9f8 client: Inform Windows we know about Windows 10 2014-10-04 07:07:34 +02:00
David Anderson 8184cb036c Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-10-02 08:07:57 +02:00
David Anderson a56428ae3a client (Unix): when get vbox version, make sure it's not an error msg 2014-09-30 05:28:58 -07:00
David Anderson f8538c29b3 client: add <dont_use_vbox> cc_config option 2014-09-25 01:28:19 -07:00
David Anderson 7ecabc33f3 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-09-23 18:12:52 -07:00