David Anderson
3a530a4c34
- client: check return value of the function (statfs or statvfs)
...
used to find disk space and usage.
This may be failing for in-memory filesystems on Linux.
2013-03-05 15:05:29 +01:00
David Anderson
3977ad8845
- Condor interface: small code shuffle
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
Rom Walton
0efd0b2738
wrapper: remove unneeded debug code from the wrapper
2013-03-05 14:17:54 +01:00
David Anderson
98fbd13a9e
- Wrapper: CPU time account was broken on Windows
2013-03-05 14:17:54 +01:00
Rom Walton
32f8e130a9
android: Add environment variables for CC and CFLAGS. The regex stuff in the wrapper was using the Linux(x86) compiler instead of the Android (ARM) cross-compiler.
2013-03-05 14:17:54 +01:00
David Anderson
3321837b01
- wrapper: fix CPU time accounting on Unix
2013-03-05 14:05:04 +01:00
David Anderson
6108deb7b0
- wrapper: use waitpid() instead of wait4(), which is missing on Android.
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
fce6266e23
- Web RPC for remote job submit: fix bugs
...
- scheduler: message tweaks
2013-03-05 13:53:58 +01:00
David Anderson
0d07e872bd
android: Add execute permissions to shell scripts
2013-03-05 13:53:58 +01:00
Rom Walton
b96a79f005
android: Fix the example app compile on Android
2013-03-05 13:39:42 +01:00
Rom Walton
4fd40b9c9c
android: order dependent
2013-03-05 13:39:42 +01:00
Rom Walton
d34bee8759
android: pthread is bundled within the Android libc implementation. We do not need to specify it as an external lib.
2013-03-05 13:39:42 +01:00
Rom Walton
bd087f006f
android: another time
2013-03-05 13:39:42 +01:00
Rom Walton
d8a78b5e4a
android: ugh, one more time
2013-03-05 13:39:42 +01:00
Rom Walton
6f55b792a9
android: round three of makefile fixes for wrapper on android
2013-03-05 13:39:42 +01:00
Rom Walton
4d9d3fd4a0
android: lets try this a different way
2013-03-05 13:39:42 +01:00
Rom Walton
6d2ef43306
android: modify makefile to get around build errors when building for android
2013-03-05 13:39:42 +01:00
Rom Walton
4b3cd5e293
android: bug fix for build scripts
2013-03-05 13:39:42 +01:00
Rom Walton
e95265a1aa
android: commit shell scripts to build uppercase and wrapper for use on Android.
2013-03-05 13:39:42 +01:00
David Anderson
79c6225fc2
- configure: work with "gold" linker
2013-03-05 13:33:27 +01:00
David Anderson
35608c434b
- fix Android compile warnings
...
- intermediate checkin for Condor stuff
2013-03-05 13:33:27 +01:00
Rom Walton
10ed915bcc
VBOX: If 'vboxmanage --version' successfully executes we can assume that VirtualBox is installed on all supported platforms.
2013-03-04 17:39:24 +01:00
Rom Walton
41af56d679
Wrapper: Add trace statements to debug problems CAS@Home is having with the wrapper.
2013-03-04 17:39:24 +01:00
Rom Walton
076858a729
LIB: Standardize on using windows_format_error_string and drop windows_error_string.
...
* Move the windows_format_error_string function to win_util.cpp, .h instead of it being scattered between util.h and str_util.cpp.
* Convert the Windows error string into UTF8 before allowing it to be used by the caller
* Remove windows_error_string from library
2013-03-04 17:39:24 +01:00
Rom Walton
56974bff70
VBOX: If Detection of VirtualBox fails, declare it a temporary failure and reschedule after 24-hours.
...
6.10 and older do not detect if VirtualBox has been installed. If a VM job is assigned to a host running on an old client and the wrapper detects VirtualBox is not installed reschedule the job for execution at a later date. This prevents the client from requesting excessive amounts of work which will all fail. Eventually the job will error out when it passes its deadline.
2013-03-04 17:39:23 +01:00
Oliver Bock
08126182b6
Merge branch 'master' of ssh://boinc.berkeley.edu/boinc
...
Conflicts:
checkin_notes
2013-03-04 17:36:15 +01:00
Rom Walton
6c716f918f
- VBOX: Clean up VirtualBox version information for all platforms.
2013-03-04 17:35:35 +01:00
David Anderson
18d0f1f4d9
more GAHP code
2013-03-04 17:24:20 +01:00
Rom Walton
f57f32fd0b
- VBOX: Clean up version string.
2013-03-04 17:24:19 +01:00
Rom Walton
78ed97fd84
Fix build break
2013-03-04 17:24:19 +01:00
Rom Walton
2cb28a822c
- VBOX: On *nix systems, if the vboxdrv kernel module isn't loaded declare
...
it a temp error and reschedule execution at a later date.
2013-03-04 17:24:19 +01:00
Rom Walton
cfca0d215e
- VBOX: Record what version of VirtualBox was used, as well as whether
...
anonymous platform was specified for the project.
2013-03-04 17:24:19 +01:00
Rom Walton
d1d200b280
- VBOX: On *nix systems, force the wrapper into sandbox mode if the
...
HOME environment variable is missing. Without the HOME environment
variable VirtualBox attempts to write log files and other state
information in root's home directory.
2013-03-04 17:24:19 +01:00
Rom Walton
1915da2e64
- VBOX: Initialize the PATH variable before attempting to check to see if
...
the system is ready.
2013-03-04 17:21:32 +01:00
Rom Walton
27557feae1
- VBOX: Perform a quick check that the wrapper can communicate with
...
vboxsvc via vboxmanage before attempting anything else. If it
fails, get BOINC to reschedule task execution in 5 minutes.
2013-03-04 17:19:40 +01:00
Charlie Fenton
b8293bc457
wrapper: Fix build script and Makefile on Mac
2013-03-04 17:19:38 +01:00
David Anderson
afdc69a8a8
More Line Ending Changes
2013-03-04 17:19:38 +01:00
Rom Walton
6b7190c0eb
Line ending changes
2013-03-04 17:12:12 +01:00
David Anderson
17a4ab8db9
David 11 Dec 2012
...
- Win process control (affects API and wrapper):
Since Win doesn't have an API for process suspend/resume,
we were suspending processes by
1) enumerating all the threads in the system (typically several thousand)
2) suspending those belonging to the given process
The problem: for each thread, the code was calling a function
in diagnostics_win.cpp to see if the thread was exempted from suspension.
This check (which is unnecessary anyway if we're suspending another process)
was surrounded by a semaphore acquire/release.
The result: performance problems.
It could take a minute to suspend the threads.
Solution:
1) do the check for exemption only if we're suspending threads
in our own process (i.e. from the API)
2) if we're suspending multiple processes, enumerate the threads
only once, and see if each one belongs to any of the processes
3) have the wrapper elevate itself to normal priority.
Otherwise it can get preempted for long periods,
sometimes in the middle of scanning the threads.
Note: post-9x versions of Win have a process group API that includes suspend/resume.
We'll switch to this soon.
2013-03-04 17:02:40 +01:00
Rom Walton
474b9a4f37
- VBOX: Fix build break introduced by the previous vbox commit.
2013-03-04 15:23:39 +01:00
Rom Walton
e693e2df09
- VBOX: Add the ability to read a fraction done file from the shared
...
directory. Use the same semantics as the regular wrapper.
2013-03-04 15:23:38 +01:00
David Anderson
ce47010dbb
- client: if <dont_check_file_sizes> is set, don't check file existence at startup
...
- wrapper: open files in shared mode so you can look at them while wrapper is running
2013-03-04 15:23:37 +01:00
David Anderson
374ee55113
- wrapper: compile fixes for Win
2013-03-04 15:04:51 +01:00
David Anderson
d8b7e4347f
- wrapper: add feature for unzipping input files and zipping output files
2013-03-04 15:04:51 +01:00
David Anderson
bb0ced01ba
- wrapper: add source files for a regular expression library
...
(too be used soon)
- boinc_zip: add makefile for test program
2013-03-04 15:04:51 +01:00