*** empty log message ***

svn path=/trunk/boinc/; revision=10820
This commit is contained in:
David Anderson 2006-08-02 21:33:19 +00:00
parent 7fffb4d8d4
commit c94a867c8b
13 changed files with 255 additions and 287 deletions

View File

@ -8337,3 +8337,15 @@ David 2 Aug 2006
cs_prefs.C
lib/
prefs.C
David 2 Aug 2006
- Reminder email: checked in SETI@home examples,
just to make things more concrete.
Other projects had better change these before use,
or they'll look fairly clueless.
- core client: clarified meaning of "episode" in comments
client/
app.h
html/ops/
remind_email/*

View File

@ -65,8 +65,11 @@ typedef int PROCESS_ID;
// Represents a task in progress.
// The execution of a task may be divided into many "episodes"
// (if the host is turned off/on, e.g.)
// The execution of a task is divided into "episodes".
// An episode starts then the application is executed,
// and ends when it exits or dies
// (e.g., because it's preempted and not left in memory,
// or the user quits BOINC, or the host is turned off).
// A task may checkpoint now and then.
// Each episode begins with the state of the last checkpoint.
//

View File

@ -54,7 +54,8 @@ The following messages are enabled by default:
";
list_start();
list_item_func("<task>",
"The start and completion of computational tasks."
"The start and completion of compute jobs
(should get two messages per job)."
);
list_item_func("<file_xfer>",
"The start and completion of file transfers."
@ -82,8 +83,8 @@ list_item_func("<debt_debug>",
"Changes to project debt"
);
list_item_func("<task_debug>",
"Task start and control details.
Also prints messages when applications checkpoint."
"Prints messages when tasks are preempted and resumed,
and when applications checkpoint."
);
list_item_func("<work_fetch_debug>",
"Work fetch policy decisions"

View File

@ -1,241 +1,112 @@
<?php
// show information about downloadable BOINC client software
//
// URL options:
// xml=1 Show results as XML (other options are ignored)
// dev=1 Show "development" versions
// min_version=x show no versions earlier than x
// max_version=x show no versions later than x
// version=x show version x
// platform=x show only versions for platform x (win/mac/linux/solaris)
require_once("docutil.php");
$xml = $_GET["xml"];
$dev = $_GET["dev"];
$pname = $_GET["platform"];
$min_version = $_GET["min_version"];
$max_version = $_GET["max_version"];
$version = $_GET["version"];
$type_name = $_GET["type"];
require_once("versions.inc");
if ($dev) {
$url_base = "dl/";
}
$client_info = $_SERVER['HTTP_USER_AGENT'];
function dl_item($x, $y) {
global $light_blue;
echo "<tr><td valign=top align=right width=30% bgcolor=$light_blue>$x</td>
<td>$y</td></tr>
";
}
function show_detail($v) {
global $url_base;
$num = $v["num"];
$file = $v["file"];
$status = $v["status"];
$path = "dl/$file";
$url = $url_base.$file;
$dlink = "<a href=$url>$file</a>";
//$md = md5_file($path);
$s = number_format(filesize($path)/1000000, 2);
$date = $v["date"];
$type = type_text($v["type"]);
$features = $v["features"];
$bugs = $v["bugs"];
list_start();
dl_item("File (click to download)", "$dlink ($s MB)");
dl_item("Version number", $num);
dl_item("Release date", $date);
dl_item("Installer type", $type);
//dl_item("MD5 checksum of download file", $md);
if ($features) {
dl_item ("New features", $features);
}
if ($bugs) {
dl_item ("Known problems", $bugs);
}
list_end();
}
function show_version_xml($v, $p) {
global $url_base;
$name = $p["name"];
$dbname = $p["dbname"];
$num = $v["num"];
$file = $v["file"];
$status = $v["status"];
$path = "dl/$file";
$url = $url_base.$file;
$dlink = "<a href=$url>$file</a>";
//$md = md5_file($path);
$s = number_format(filesize($path)/1000000, 2);
$date = $v["date"];
$type = type_text($v["type"]);
$features = $v["features"];
$bugs = $v["bugs"];
$bugs = htmlspecialchars($bugs);
$features = htmlspecialchars($features);
echo "
<version>
<platform>$name</platform>
<dbplatform>$dbname</dbplatform>
<description>$status</description>
<date>$date</date>
<version_num>$num</version_num>
<url>$url</url>
<filename>$file</filename>
<size_mb>$s</size_mb>
<installer>$type</installer>
<features>$features</features>
<issues>$bugs</issues>
</version>
";
// <md5>$md</md5>
}
function show_version($pname, $i, $v) {
global $url_base;
$num = $v["num"];
$file = $v["file"];
$status = $v["status"];
if (is_dev($v)) {
$status = $status."
<font color=dd0000><b>
(MAY BE UNSTABLE - USE ONLY FOR TESTING)
</b></font>
";
}
$path = "dl/$file";
$s = number_format(filesize($path)/1000000, 2);
$type = $v["type"];
$type_text = type_text($type);
echo "<tr><td width=3%><nobr>
$num</td><td> $status
</nobr>
</td>
<td>
<a href=".$url_base.$file."><b>Download</b></a> ($s MB)
</td>
<td>
Instructions: $type_text
</td>
<td width=1%>
<a href=download.php?platform=$pname&version=$num&type=$type><nobr>version details</nobr></a>
</td>
</tr>
";
}
function show_platform($short_name, $p, $dev) {
global $min_version;
global $max_version;
$long_name = $p["name"];
if ($p["url"]) {
$url = $p["url"];
$long_name .= " <a href=$url><font size=-2>details</a>";
}
list_bar($long_name);
foreach ($p["versions"] as $i=>$v) {
if ($min_version && strcmp($v['num'], $min_version)<0) continue;
if ($max_version && strcmp($v['num'], $max_version)>0) continue;
function latest_version($p) {
foreach ($p['versions'] as $i=>$v) {
if (!$dev && is_dev($v)) continue;
show_version($short_name, $i, $v);
return $v;
}
}
function show_platform_xml($short_name, $p, $dev) {
foreach ($p["versions"] as $i=>$v) {
if (!$dev && is_dev($v)) continue;
show_version_xml($v, $p);
}
}
// show details on a version if URL indicates
//
if ($pname && $version) {
function download_link($pname) {
global $platforms;
global $url_base;
$p = $platforms[$pname];
if (!$p) {
error_page("platform not found");
}
$long_name = $p["name"];
$va = $p["versions"];
foreach ($va as $v) {
if ($v['num'] == $version && $type_name==$v['type']) {
page_head("BOINC version $version for $long_name");
show_detail($v);
page_tail();
exit();
}
}
error_page( "version not found\n");
$v = latest_version($p);
$file = $v['file'];
$long_name = $p['name'];
$num = $v['num'];
$path = "dl/$file";
$url = $url_base.$file;
$dlink = "<a href=$url>$file</a>";
$s = number_format(filesize($path)/1000000, 2);
return "
<table border=4 cellpadding=10><tr><td bgcolor=ccccff>
<a href=$url><font size=4><u>Download BOINC</u></font></a>
<br>
$num for $long_name ($s MB)
</td></tr> </table>
";
}
if ($xml) {
header('Content-type: text/xml');
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>
<versions>
";
foreach($platforms as $short_name=>$p) {
show_platform_xml($short_name, $p, $dev);
function link_row($pname) {
echo "<tr><td>";
if ($pname=='win') {
echo "<img src=images/ico-win.png> <b>Windows</b>";
} else if ($pname=='mac') {
echo "<img src=images/ico-osx-uni.png> <b>Mac OS X</b>";
} else if ($pname=='linux') {
echo "<img src=images/ico-tux.png> <b>Linux</b>";
}
echo "</versions>\n";
} else {
echo "</td><td>";
echo download_link($pname);
echo "</td></tr>
";
}
function show_download($pname) {
echo "
<table cellpadding=30><tr><td>
<img valign=top hspace=8 align=right src=images/boinc_screen.png>
BOINC is a program that lets you donate
your idle computer time to science projects like
SETI@home, Climateprediction.net, Rosetta@home,
World Community Grid, and many others.
<p>
After installing BOINC on your computer,
you can connect it to as many of these projects as you like.
<p>
";
if ($pname) {
$p = $platforms[$pname];
$name = $p['name'];
page_head("Download BOINC client software for $name");
echo "<table border=2 cellpadding=4 width=100%>";
show_platform($pname, $p, $dev);
list_end();
echo download_link($pname);
} else {
page_head("Download BOINC client software");
echo "
We are now using mirrored download servers at partner institutions.
Your download will come from a randomly-chosen server.
Thanks to these partners for their help.
<p>
<b>If you have trouble downloading a file,
please reload this page in your browser and try again.
This will link to a different download mirror and may
fix the problem.</b>
<p>
<table border=2 cellpadding=4 width=100%>
echo "<table cellpadding=8>
";
foreach($platforms as $short_name=>$p) {
show_platform($short_name, $p, $dev);
}
list_end();
echo "
<p>
If your computer is not of one of these types, you can
<ul>
<li> <a href=anonymous_platform.php>make your own client software</a> or
<li> <a href=download_other.php>download executables from a third-party site</a>
(available for Solaris/Opteron, Linux/Opteron, Linux/PPC, HP-UX, and FreeBSD, and others).
</ul>
BOINC is not available for Mac OS 9 or earlier.
There are no plans to develop an OS 9 version.
<p>
The Windows BOINC client can be
<a href=win_deploy.php>deployed across a Windows network
using Active Directory</a>.
link_row('win');
link_row('mac');
link_row('linux');
echo "</table>
";
}
echo "
<p>
Download information can be restricted by
platform and/or version number,
and can be obtained in XML format.
<a href=download_info.php>Details</a>.
<a href=system_requirements.php>System requirements</a>
| <a href=release_notes.php>Release notes</a>
";
if ($pname) {
echo " | <a href=download2.php?all_platforms=1>Other systems</a>
";
} else {
echo " | <a href=download.php>All versions</a>
";
}
echo " </td></tr></table>
";
page_tail();
}
if ($_GET['xml']) {
Header("Location: download_all.php?xml=1");
exit();
}
page_head("BOINC: compute for science");
if ($_GET['all_platforms']) {
show_download(null);
} else if (strstr($client_info, 'Windows')) {
show_download('win');
} else if (strstr($client_info, 'Mac')) {
show_download('mac');
} else if (strstr($client_info, 'Linux')) {
show_download('linux');
} else {
show_download(null);
}
page_tail();
?>

View File

@ -54,11 +54,12 @@ function show_participate() {
<p>
Use the idle time on your computer
(Windows, Mac, or Linux)
to do all sorts of scientific research:
to do all sorts of scientific research.
It's easy:
<ol>
<li> <a href=projects.php>Choose projects</a>
<li> <a href=download.php>Download</a> and run BOINC software
<li> Enter the projects' URLs, your email address, and password.
<li> <a href=projects.php><font size=+1>Choose</font></a> projects
<li> <a href=download.php><font size=+1>Download</font></a> and run BOINC software
<li> <font size=+1>Enter</font> the project URLs, your email address, and password.
</ol>
<center>
<a href=participate.php><b><nobr>Details</nobr></b></a>

View File

@ -87,7 +87,10 @@ Verify that download resumes from the same point.
<li> Test #processors preference.
<li> Test 'use network between hours' preference.
<li> Test 'do work between hours' preference.
<li> Test venue mechanism
<li> Test 'CPU usage limit' preference.
<li> Test venue mechanism (e.g., create preferences for 'Home',
change your computer's location to 'Home',
make sure it gets the right preferences).
<li> Update a second project with same account email address,
and make sure preferences are propagated to the second project.
</ul>

View File

@ -1,35 +1,46 @@
<html>
<body bgcolor=ffffff>
<img align=right src=http://sample.project/logo.png>
<body>
<table width=600 cellpadding=10>
<tr>
<td width=60% align=middle>
<a href=http://setiathome.berkeley.edu>
<img middle src=http://setiathome.berkeley.edu/logo7.gif border=0>
</a>
<td align=right>
<img align=right border=0 src=http://setiathome.berkeley.edu/images/uc_logo_120.png>
</td>
</tr>
<tr><td colspan=2 bgcolor=ffffcc>
<p>
Dear <name/>:
<p>
We notice that you registered with Test Project on <create_time/>,
We notice that you registered with SETI@home on <create_time/>,
and that we haven't yet credited you with any completed work.
Your computing power is important to Test Project.
Your computing power is important to SETI@home.
If you had problems installing or running the software,
please visit the
<a href=http://a.b.c/forum_help_desk.php>Questions and Answers</a>
area of our web site.
please visit
<a href=http://setiathome.berkeley.edu/forum_help_desk.php>the Questions and Answers area</a>
of our web site.
You may find the solution to your problem there;
if not, you can ask for help from project volunteers and staff.
<p>
We also encourage you to fill out the
<a href=http://boinc.berkeley.edu/poll.php>BOINC user survey</a>
to give us feedback on how to make Test Project more easy and fun to use.
We also encourage you to fill out
<a href=http://boinc.berkeley.edu/poll.php>the BOINC user survey</a>.
to give us feedback on how to make SETI@home easier to use.
<p>
Thanks --
<p>
The staff of Test Project
Thanks!
<hr>
<p>
<font size=-2>
To not receive future emails from Test Project,
-- The SETI@home team
<p>
<h4>
If you'd like to not get any more email from us, please
<a href=<opt_out_url/>>click here</a>.
</font>
</td></tr></table>
</body>
</html>

View File

@ -1 +1 @@
Setup problems with Test Project
Need help setting up SETI@home?

View File

@ -1,20 +1,21 @@
Dear <name/>:
We notice that you registered with Test Project on <create_time/>,
We notice that you registered with SETI@home on <create_time/>,
and that we haven't yet credited you with any completed work.
Your computing power is important to Test Project.
Your computing power is important to SETI@home.
If you had problems installing or running the software,
please visit the Questions and Answers area of our web site at:
http://a.b.c/forum_help_desk.php
http://setiathome.berkeley.edu/forum_help_desk.php
You may find the solution to your problem there;
if not, you can ask for help from project volunteers and staff.
We also encourage you to fill out the BOINC user survey at
http://boinc.berkeley.edu/poll.php
to give us feedback on how to make Test Project more easy and fun to use.
to give us feedback on how to make SETI@home easier to use.
Thanks --
The staff of Test Project
Thanks!
-- The SETI@home team
If you'd like to not get any more email from us, please visit
<opt_out_url/>

View File

@ -1,37 +1,72 @@
<html>
<body bgcolor=ffffff>
<img align=right src=http://sample.project/logo.png>
<body>
<table width=600 cellpadding=10>
<tr>
<td width=60% align=middle>
<a href=http://setiathome.berkeley.edu>
<img middle src=http://setiathome.berkeley.edu/logo7.gif border=0>
</a>
<td align=right>
<img align=right border=0 src=http://setiathome.berkeley.edu/images/uc_logo_120.png>
</td>
</tr>
<tr><td colspan=2 bgcolor=ffffcc>
<p>
Dear <name/>:
<p>
We'd like to invite you to reconnect with SETI@home.
Our records show that you've been with SETI@home since <create_time/>,
but it's been <lapsed_interval/> days since you last returned a work unit.
We want you back, and here's why:
<p>
We notice that you've contributed computing power to Test Project,
but that we haven't yet credited you with any completed work
in the last <lapsed_interval/> days.
Your computing power is important to Test Project,
and we hope that you resume computing with us soon.
If you had problems running the software,
please visit the
<a href=http://a.b.c/forum_help_desk.php>Questions and Answers</a>
area of our web site.
There are exciting times for SETI@home.
We recently installed a new SETI@home data recorder
at the Arecibo radio telescope in Puerto Rico.
This recorder is attached to a state-of-the-art multibeam receiver,
so we can now measure signals from 7 positions on the sky at once,
with greater sensitivity to weak signals compared to the data
from the flat feed antenna we've used since 1999.
Coupled with a new application, SETI@home Enhanced,
we've greatly increased the sensitivity of our data analysis,
and the likelihood that we'll find the first signs
of extraterrestrial life.
We're also testing a second application, Astropulse,
which will look for extremely short pulses of astronomical
(and possibly intelligent) origin.
<p>
With these new development comes an increase in required computing power,
for which we depend on people like you.
We hope you will consider signing back on with SETI@home,
and help in this wonderful scientific venture.
<p>
Whether or now you resume running SETI@home,
you can help us by filling out
<a href=http://boinc.berkeley.edu/poll.php>a survey about the BOINC software used by SETI@home</a>.
We want to make sure that SETI@home is easy to use for everyone,
and your comments will help us make this happen.
<p>
If you experienced problems running SETI@home, please visit
<a href=http://setiathome.berkeley.edu/forum_help_desk.php>the Questions and Answers area of our web site</a>.
You may find the solution to your problem there;
if not, you can ask for help from project volunteers and staff.
<p>
We also encourage you to fill out the
<a href=http://boinc.berkeley.edu/poll.php>BOINC user survey</a>
to give us feedback on how to make Test Project more easy and fun to use.
We thank you for your involvement in SETI@home,
and hope that you rejoin us in our search
for signals from other worlds.
<p>
Thanks --
<p>
The staff of Test Project
-- The SETI@home team
<p>
<hr>
<p>
<font size=-2>
To not receive future emails from Test Project,
To not get any more email from SETI@home, please
<a href=<opt_out_url/>>click here</a>.
</font>
</td></tr></table>
</body>
</html>

View File

@ -1 +1 @@
Test Project: we haven't heard from you recently
Please rejoin SETI@home

View File

@ -1,22 +1,49 @@
Dear <name/>:
We notice that you registered with Test Project on <create_time/>,
and that we haven't yet credited you with any completed work
in the last <lapsed_interval/> days.
Your computing power is important to Test Project,
and we hope that you resume computing with us soon.
If you had problems running the software,
We'd like to invite you to reconnect with SETI@home.
Our records show that you've been with SETI@home since <create_time/>,
but it's been <lapsed_interval/> days since you last returned a work unit.
We want you back, and here's why:
There are exciting times for SETI@home.
We recently installed a new SETI@home data recorder
at the Arecibo radio telescope in Puerto Rico.
This recorder is attached to a state-of-the-art multibeam receiver,
so we can now measure signals from 7 positions on the sky at once,
with greater sensitivity to weak signals compared to the data
from the flat feed antenna we've used since 1999.
Coupled with a new application, SETI@home Enhanced,
we've greatly increased the sensitivity of our data analysis,
and the likelihood that we'll find the first signs
of extraterrestrial life.
We're also testing a second application, Astropulse,
which will look for extremely short pulses of astronomical
(and possibly intelligent) origin.
With these new development comes an increase in required computing power,
for which we depend on people like you.
We hope you will consider signing back on with SETI@home,
and help in this wonderful scientific venture.
Whether or now you resume running SETI@home,
you can help us by filling out a survey about the BOINC
software used by SETI@home; to do so, visit
http://boinc.berkeley.edu/poll.php
We want to make sure that SETI@home is easy to use for everyone,
and your comments will help us make this happen.
If you experienced problems running SETI@home,
please visit the Questions and Answers area of our web site at
http://a.b.c/forum_help_desk.php
http://setiathome.berkeley.edu/forum_help_desk.php
You may find the solution to your problem there;
if not, you can ask for help from project volunteers and staff.
We also encourage you to fill out the BOINC user survey at
http://boinc.berkeley.edu/poll.php
to give us feedback on how to make Test Project more easy and fun to use.
We thank you for your involvement in SETI@home,
and hope that you rejoin us in our search
for signals from other worlds.
Thanks --
The staff of Test Project
To not get any more email from us, please visit
-- The SETI@home team
To not get any more email from SETI@home, please visit
<opt_out_url/>

View File

@ -1,5 +1,8 @@
<?php
// repairs a problem that was fixed in 2004.
// You should never have to run this script
set_time_limit(0);
require_once("../inc/db.inc");