Commit Graph

2973 Commits

Author SHA1 Message Date
David Anderson 13f51d42e5 - API: add boinc_network_usage();
lets an application report its network usage to BOINC,
    and hence take it into account with monthly limits etc.
- API: get rid of deprecated boinc_ops_per_cpu_sec(),
    boinc_ops_cumulative(), and
    boinc_set_credit_claim();
- admin web: update manage_apps.php;
    add the ability to set homogeneous app version


svn path=/trunk/boinc/; revision=25700
2012-05-20 23:02:12 +00:00
David Anderson 1aea1fb0f3 - client: show <vbox_window> option in log,
and give warning if include this while in sandbox mode
- web: update URLs for BOINCstats

svn path=/trunk/boinc/; revision=25697
2012-05-18 22:13:36 +00:00
David Anderson 138c8f5f7d - web: fix PHP warnings by calling date_default_timezone_set().
Set it to the timezone specified by the constant TIMEZONE
    (in project.inc) or "UTC" if none specified.
- web: fix bugs in submit.php

svn path=/trunk/boinc/; revision=25693
2012-05-18 17:57:14 +00:00
David Anderson 87fcaea0ce - web: show "run beta apps?" project pref if the project
has any beta applications
        (don't require project to specify this in project_specific_prefs.inc)

svn path=/trunk/boinc/; revision=25692
2012-05-18 17:48:50 +00:00
David Anderson 7f3fd1f45e - LAMMPS script: chdir back to html/user, else page_head() breaks
svn path=/trunk/boinc/; revision=25674
2012-05-14 06:54:38 +00:00
David Anderson 245aa70cf9 - web: use gmdate() instead date() to avoid time zone warning
svn path=/trunk/boinc/; revision=25673
2012-05-12 15:13:43 +00:00
David Anderson 4d1063728b - web: if user.has_profile = 0 but there actually is a profile,
update user.has_profile


svn path=/trunk/boinc/; revision=25654
2012-05-07 06:46:36 +00:00
David Anderson 3b363f9a87 - web RPC: include rpc_time in XML host description
- client: if acct mgr sends us an account with no authenticator,
    show an error message instead of trying to attach


svn path=/trunk/boinc/; revision=25608
2012-04-30 18:46:50 +00:00
David Anderson e06a11174c - web: put <nobr> around username | log in
svn path=/trunk/boinc/; revision=25605
2012-04-27 06:10:08 +00:00
David Anderson c34093e374 - web: don't show account keys on account page;
rewrite the page explaining and showing account keys.
- client: remove <std_debug> log flag
- client: remove <zero_debts> config option


svn path=/trunk/boinc/; revision=25581
2012-04-19 07:36:47 +00:00
Wenjing Wu dffcd99498 fix bugs of step cpu calc and killing child process
svn path=/trunk/boinc/; revision=25580
2012-04-18 13:20:57 +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 b15b04c6e8 - add cancel_wu script
svn path=/trunk/boinc/; revision=25549
2012-04-12 08:54:37 +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 30ec61bc7b svn path=/trunk/boinc/; revision=25544 2012-04-11 04:10:41 +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
David Anderson 759c23ed27 - server: create a harness for testing validator code.
If you link your functions (init_result(), compare_results(),
    cleanup_result()) with validate_test.cpp,
    you'll get a program that you can run as
        validate_test file1 file2
    and it will compare the two files
    (this works only for validators that expect 1 file per result).

    I added a makefile, sched/makefile_validator_test,
    that you can use for this.
- server: shuffle code so that the above doesn't need to
    link MySQL libraries
- client: if we fetch a master file and it contains no scheduler URLs,
    show a message of class INTERNAL_ERROR
- client/scheduler: make CUDA_DEVICE_PROP.totalGlobalMem a double,
    and remove dtotalGlobalMem.
    Although NVIDIA reports RAM size as a size_t,
    there's no reason to store it as an integer after that.


svn path=/trunk/boinc/; revision=25542
2012-04-10 00:32:35 +00:00
Wenjing Wu 96b549ee6a svn path=/trunk/boinc/; revision=25537 2012-04-09 06:52:06 +00:00
David Anderson 86f50ba080 - admin web: when resetting app statistics,
clear elapsed time stats as well as PFC stats


svn path=/trunk/boinc/; revision=25530
2012-04-05 11:01:38 +00:00
David Anderson 36529da919 - client: change some unsigned int to size_t in our versions
of NVIDIA APIs.  This apparently caused crashes
    (in app, not client, which I don't understand) for Einstein@Home.
    From Steffen Moller.


svn path=/trunk/boinc/; revision=25527
2012-04-02 21:31:02 +00:00
David Anderson 6d8cf13abe svn path=/trunk/boinc/; revision=25495 2012-03-26 22:46:02 +00:00
David Anderson 0e0c7f758b - web: add script for replacing blank user names with the user ID
svn path=/trunk/boinc/; revision=25494
2012-03-26 22:45:14 +00:00
Rytis Slatkevičius 1abf76b7e6 Fix account creation RPC
svn path=/trunk/boinc/; revision=25488
2012-03-26 05:48:38 +00:00
Rytis Slatkevičius 2bb7957386 Fix previous commit
svn path=/trunk/boinc/; revision=25486
2012-03-24 14:55:58 +00:00
David Anderson 24761958fd - client/server: estimate FLOPS for NVIDIA GPUs with
compute capability 3.x.
    Not sure if the parameters are right
    (128 cores/proc, 2 flops/clock)
    but they're better than nothing.
- web: don't allow user names that have leading or trailing white space,
    or HTML tags, or are empty


svn path=/trunk/boinc/; revision=25485
2012-03-24 06:31:03 +00:00
David Anderson adab6254bc Update Translation
svn path=/trunk/boinc/; revision=25477
2012-03-23 16:25:19 +00:00
David Anderson c229667415 Update Translations
svn path=/trunk/boinc/; revision=25418
2012-03-14 01:21:36 +00:00
David Anderson 71066313a8 Update Translations
svn path=/trunk/boinc/; revision=25406
2012-03-12 22:50:41 +00:00
David Anderson d5347f0ff1 - web: allow a project to specify 2 stylesheets
svn path=/trunk/boinc/; revision=25398
2012-03-09 21:40:57 +00:00
Wenjing Wu 9c3e4b76f0 fix bug: batch_name
svn path=/trunk/boinc/; revision=25390
2012-03-07 02:36:55 +00:00
David Anderson 6da0094f84 - LAMMPS: fix code formatting
svn path=/trunk/boinc/; revision=25383
2012-03-06 04:53:38 +00:00
David Anderson 7558829e4a - web: open BBCode instructions in new window (or tab).
Otherwise, on IE, you lose the text you already entered
    when you go back.


svn path=/trunk/boinc/; revision=25378
2012-03-04 20:37:10 +00:00
David Anderson 3f5c03d813 - LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est
svn path=/trunk/boinc/; revision=25377
2012-03-04 05:29:14 +00:00
David Anderson d5bf5c46e3 - Manager: in Project Properties page,
show if a GPU type is excluded by configuration
- client: don't fetch work for a resource type if all instances
    of that type are excluded
- web: don't use filter_var(, FILTER_SANITIZE_STRING)
    to strip HTML tags from a string.
    This escapes singles quotes also.
    Use strip_tags() instead.


svn path=/trunk/boinc/; revision=25375
2012-03-04 04:58:41 +00:00
Wenjing Wu f088060382 lammps job submission
svn path=/trunk/boinc/; revision=25370
2012-03-03 07:13:33 +00:00
David Anderson b519207cee svn path=/trunk/boinc/; revision=25366 2012-03-02 08:22:29 +00:00
David Anderson 65625c50ad - initialize batch state
svn path=/trunk/boinc/; revision=25365
2012-03-02 08:16:28 +00:00
Wenjing Wu 74a549df1e wuwj fix bugs of caculation of njobs
svn path=/trunk/boinc/; revision=25364
2012-03-02 07:08:08 +00:00
Wenjing Wu 048b43b544 wuwj sandbox file selection filter
svn path=/trunk/boinc/; revision=25363
2012-03-02 06:12:36 +00:00
Wenjing Wu 242b104f05 wuwn add disk estimation to lammps.php
svn path=/trunk/boinc/; revision=25360
2012-03-01 12:34:50 +00:00
David Anderson f18ffd6fe7 - VDA: add some log messages
- scheduler: add VDA
- client, web: change default prefs to min_buf=.1 days, max_buf=.5 days
- scheduler: app plan function for vbox requires 7.0+ client


svn path=/trunk/boinc/; revision=25351
2012-02-28 06:57:28 +00:00
David Anderson 08d7dcd6d9 - client: amend checkin of 18 Feb to not request work if
work buffer is above upper limit


svn path=/trunk/boinc/; revision=25335
2012-02-24 16:42:38 +00:00
David Anderson 14199c7b97 - web: change wording of buffer-size prefs
svn path=/trunk/boinc/; revision=25272
2012-02-16 16:52:07 +00:00
David Anderson 58e26b9b4b - web: in user search, show most recent rather than oldest users
- web: don't show URL in account page if expavg_credit < 1.
    This discourages a type of spam.


svn path=/trunk/boinc/; revision=25267
2012-02-15 19:25:41 +00:00
David Anderson ff7fcb293a - admin web: fix error when showing unsent results
svn path=/trunk/boinc/; revision=25260
2012-02-14 21:12:57 +00:00
David Anderson 739f40c4f7 - client: HTTP range request errors are permanent.
svn path=/trunk/boinc/; revision=25213
2012-02-07 07:58:08 +00:00