David Anderson
3faf18c7b4
remote_submit script: exit with nonzero status if error
...
Also, suppress warnings from simplexml_load_string()
2013-07-16 13:18:46 -07:00
David Anderson
78f7610f6e
remove dependency of boinc_api.h on str_replace.h (and hence config.h)
...
Any files that use strlcpy() or strlcat() must directly include str_replace.h
2013-06-06 17:31:46 -07:00
David Anderson
b9f0733c06
server: replace strcpy() with strlcpy() various places
2013-06-03 22:42:53 -07:00
David Anderson
3ce09f1efe
create_work: job input template can specify size class
2013-05-21 20:24:02 -07:00
David Anderson
8e2524f55f
Unix build: Makefile changes for "make install", from Steffen Moeller
...
"make install" followed by make_project should now work
2013-05-20 15:19:13 -07:00
David Anderson
f1c7b6a97d
fix some Clang warnings; from Steffen Moeller
2013-05-20 12:58:52 -07:00
David Anderson
ac66666ed6
fix PHP warnings
2013-05-05 01:26:17 -07:00
David Anderson
1a1a01c103
- server: initialize result.size_class and workunit.size_class to -1
2013-05-03 15:09:45 -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
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
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
3c029c7613
- client: job scheduler tweak to avoid CPU idleness in situation
...
where GPU jobs use different CPU fractions
- single-job submission: default platform is that of server
2013-03-05 15:57:34 +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
6f98cf9dc0
- project setup: create a default gui_urls.xml file
2013-03-05 14:52:38 +01:00
David Anderson
8b25f8ccdc
- job submission: show batch priority in web page;
...
add priority stuff to example job submission script
2013-03-04 17:44:39 +01:00
David Anderson
3d60ae2508
- add PHP script for initializing user submit priorities
...
based on existing batches
2013-03-04 17:39:23 +01:00
David Anderson
6f962d5b61
- file upload handler: in FCGI version, check for trigger file
...
each time through loop (from Bernd).
- validator: fix bug that zeroed result.random
2013-03-04 17:24:18 +01:00
David Anderson
834bb6b4d3
- server (start script and server_status.php):
...
Support projects (e.g. Einstein@home) in which server components run on
machines with no shared filesystem.
From Bernd.
2013-03-04 17:19:39 +01:00
David Anderson
165e3bb1d5
- adjust_user_priority: scale FLOP count by app's min_avg_pfc
...
to account for systematic errors in FLOP count
- adjust_user_priority: get total project RAC by summing RAC
of app versions where RAC has been updated in past week
- feeder: add --priority_asc option
(for when wu.priority is a logical time)
2013-03-04 15:23:39 +01:00
David Anderson
2ded3ff67d
- fix typo in GUI RPC
...
- check in some code for multi-user job prioritization
2013-03-04 15:23:39 +01:00
Bernd Machenschalk
7a35b69c64
Limit grep operation to what's relevant and avoid accidental matches
...
Signed-off-by: Oliver Bock <oliver.bock@aei.mpg.de>
2013-03-04 14:56:57 +01:00
David Anderson
10f7576416
- remove job submission: fix SQL typo and error messages.
...
From Niclas Lockner.
2013-03-04 14:01:20 +01:00
David Anderson
42756406f5
- example app: get the graphics app to build on Fedora Core 14
...
Note: this required installing various packages,
and tweaking the Makefile in various ways,
some of them FC14-specific ways
2013-03-01 16:23:13 +01:00
David Anderson
f1b4b16bbf
- update_versions: get key directory from config file
2013-03-01 16:08:52 +01:00
Rom Walton
02e70da914
- Fix the db schema check functionality so that it will work with make_project and upgrade correctly. We no longer rely on svnversion for this sort of thing.
2013-03-01 15:58:42 +01:00
David Anderson
5cbccf7126
- server: add stage_file to project setup; add error checking to stage_file
2013-03-01 15:31:42 +01:00
BOINC Admin
3da910bfda
- scheduler: when adding a new HOST_APP_VERSION, check if there's already one for that (host, app, platform, plan class). If there is, use it and update the app version ID. This way, when a new app version is released, it will use the runtime and reliability statistics of the previous one, instead of starting from scratch. - add a script "stage_file" for staging an input file. This checks for immutability violations, moves or copies the file to the download hierarchy, computes and stores its MD5, and makes a gzipped version if needed. - add some files missing from git repo
2013-02-26 16:28:17 +01:00
David Anderson
282af6effc
- user web: show the right page/message after the following actions:
...
- rate a post
- moderate a post
- edit a post
- report a post
svn path=/trunk/boinc/; revision=26152
2012-10-15 18:47:55 +00:00
David Anderson
aa289f0916
- A bunch of tweaks from Steffen Moller, e.g. using MAXPATHLEN
...
svn path=/trunk/boinc/; revision=26133
2012-09-21 03:52:24 +00:00
David Anderson
7cc750e616
- cancel_jobs tool: add --name option to cancel job by name.
...
From David Coss.
svn path=/trunk/boinc/; revision=26132
2012-09-20 18:28:29 +00:00
David Anderson
1a6cce9647
svn path=/trunk/boinc/; revision=26113
2012-09-14 08:05:16 +00:00
David Anderson
324d582021
svn path=/trunk/boinc/; revision=26111
2012-09-14 07:12:59 +00:00
David Anderson
0a3e2fd553
svn path=/trunk/boinc/; revision=26110
2012-09-14 06:20:10 +00:00
Wenjing Wu
487916c8e9
ICT job submission
...
svn path=/trunk/boinc/; revision=26073
2012-09-05 14:36:39 +00:00
David Anderson
11a6e85632
- scheduler: support for projects with some non-CPU-intensive apps
...
(but not all) wasn't finished.
New logic: if the project has an NCI app then:
- make a list of NCI apps for which the client doesn't have
a job in progress.
- try to send one job for each of these apps
- do this even if no work is being requested.
- don't send jobs for NCI apps by other mechanisms
NOTE: the client logic isn't quite right for mixed NCI projects.
If there's no job for a given NCI app,
the client should do a scheduler RPC.
This isn't critical so we won't do this now.
svn path=/trunk/boinc/; revision=26068
2012-09-01 04:58:12 +00:00
David Anderson
b1d1e21de4
- remote job submission: start writing a general-purpose
...
cmdline tool for remote job submission (not done)
- remote job submission: support the 4 file modes described
in the documentation (not done)
svn path=/trunk/boinc/; revision=26067
2012-08-31 06:11:06 +00:00
David Anderson
8761ed75f7
- lib: fix typo
...
svn path=/trunk/boinc/; revision=25884
2012-07-22 03:45:47 +00:00
David Anderson
19458ba4de
- Compile fixes for Fedora core 17. From Christian B. Fixes #1194 .
...
- Fix various #include issues.
CODING STYLE LAW (minimal inclusion principle):
If foo.cpp requires <blah.h>,
#include <blah.h> in foo.cpp, NOT foo.h
svn path=/trunk/boinc/; revision=25837
2012-07-02 18:51:02 +00:00
David Anderson
32a08d27d9
- C++ code: use MAXPATHLEN for char arrays that hold paths
...
svn path=/trunk/boinc/; revision=25659
2012-05-09 16:11:50 +00:00
David Anderson
6041cb40f9
- update_versions: eliminate PHP warnings when no version.xml file
...
svn path=/trunk/boinc/; revision=25596
2012-04-24 19:24:31 +00:00
David Anderson
f12e82917f
- back end: print error messages instead of numbers in several places
...
svn path=/trunk/boinc/; revision=25584
2012-04-20 17:23:07 +00:00
Wenjing Wu
ccad62b912
- wrapper: when reading fraction-done file, read the last line
...
(or at least the last double).
This accommodates a particular application (LAMMPS)
that can only append to this file.
- CAS@home stuff
svn path=/trunk/boinc/; revision=25557
2012-04-13 09:44:01 +00:00
Wenjing Wu
bd3d4fee43
- CAS@home stuff
...
svn path=/trunk/boinc/; revision=25556
2012-04-13 05:45:16 +00:00
Wenjing Wu
dfc84b1916
- add script for canceling jobs
...
- CAS@home stuff
svn path=/trunk/boinc/; revision=25550
2012-04-12 12:20:16 +00:00
Wenjing Wu
6c02937500
- CAS@home stuff
...
svn path=/trunk/boinc/; revision=25548
2012-04-12 07:30:45 +00:00
David Anderson
d35758bedb
- CAS@home stuff
...
svn path=/trunk/boinc/; revision=25547
2012-04-12 05:18:22 +00:00
David Anderson
eb52ef9545
- stuff for CAS@home
...
svn path=/trunk/boinc/; revision=25546
2012-04-12 02:50:53 +00:00
David Anderson
8b9c871002
- API: fix C compile error
...
- initial checkin of remote job stuff for app from ICT
svn path=/trunk/boinc/; revision=25543
2012-04-10 06:11:19 +00:00