找回密码
 新注册用户
搜索
楼主: 碧城仙

[已完成翻译] [BOINC 开发文档]Developing a BOINC application 部分

[复制链接]
发表于 2006-7-23 08:57:46 | 显示全部楼层
我来这个:
http://boinc.berkeley.edu/compound_app.php
大家不要跟我抢啊~~~

[ Last edited by fwjmath on 2006-7-23 at 10:26 ]
回复

使用道具 举报

发表于 2006-7-23 10:27:21 | 显示全部楼层
已经翻译好了,见附件,请多多指教~~~

碧城仙补充:附件已删除。

评分

参与人数 1维基拼图 +15 收起 理由
霊烏路 空 + 15

查看全部评分

回复

使用道具 举报

 楼主| 发表于 2006-7-23 11:25:04 | 显示全部楼层
不错不错,要不以后这个做页面的工作都交给你吧,呵呵。我明天下午再传到服务器上去。
回复

使用道具 举报

发表于 2006-7-23 11:28:00 | 显示全部楼层
我是直接把页面保存下来然后用 Word 改的~~~
回复

使用道具 举报

 楼主| 发表于 2006-7-23 11:46:42 | 显示全部楼层
可以直接在页面上点右键——“查勘源文件”。打开源文件,找到从

        </td>
        </tr></table>
        <hr size=1>

开始往下,到

        <hr size=1>
        <center>

往上的部分就是正文部分了(就是两个 <hr size=1> 中间的部分)。只把正文部分的代码拷贝出来,放到 http://boinc.equn.com/dev/moban.html 页面的正文部分位置上再修改。当然,http://boinc.equn.com/dev/moban.html 页面需要先另存到本地电脑里,仅保存 HTML网页即可;或者干脆下载 http://boinc.equn.com/dev/moban.rar ,解压缩到本地电脑里,用 FrontPage 打开 moban.html 文件另存为其他文件(文件名为要修改的网页的文件名将后缀 php 改为 html),然后拷贝相应代码到新页面对应代码部分,然后在编辑界面下直接对英文进行修改。

评分

参与人数 1维基拼图 +8 收起 理由
霊烏路 空 + 8

查看全部评分

回复

使用道具 举报

 楼主| 发表于 2006-7-28 10:03:13 | 显示全部楼层
回复

使用道具 举报

发表于 2006-7-28 16:49:48 | 显示全部楼层

21楼的修改意见(续)

At this point you'll want to start experimenting with your application. It would be very tedious to create a new application version for each change. It's far easier to use BOINC's anonymous platform mechanism. To do this:
    * Following the directions, create a file 'app_info.xml' in the client's project_* directory, with the appropriate name and version number of your application.
    * Each time your build a new version of your application, copy the executable into the project_* directory, making sure it has the appropriate name. Then restart the core client.

这时你可能想要开始对你的计算程序进行测试,而如果每次对程序进行修改后都要创建一个计算程序版本将非常麻烦。而如果使用BOINC的 匿名平台 机制将会方便许多。方法如下:
按照 指南,在客户端的project_*目录中,新建一个'app_info.xml'文件,其中应当包括计算程序的正确名称以及版本号。
每当你生成了一个新版本的计算程序,将执行文件复制到project_*目录并确实其名称是正确的。然后重启客户端。


On Unix, it's possible to attach a debugger to a running process. Use 'ps' to find the process ID of your application, then something like
gdb exec_filename PID
to attach a debugger to it.

在Unix上,可以将调试器挂接在一个运行中的进程上。使用ps命令找到你的计算程序的进度ID,然后运行如下命令就可以将调试器挂接上去:
gdb exec_filename PID


Getting and deciphering stack traces

得到并解读堆栈跟踪信息


Once your application is working on your own computers, you're ready to test it with outside computers (alpha testers initially). It may crash on some computers, e.g. because their software or hardware is different from yours. You'll get some information back in the stderr_txt field of the results. If your application called boinc_init_diagnostics() with the BOINC_DIAG_DUMPCALLSTACKENABLED flag set, and you included symbols, hopefully you'll get symbolic stack traces.

一旦你的计算程序可以在你自己的计算机上正常运行,你将会在其它计算机上对它进行测试(最初的alpha测试)。程序可能会在一些计算机上出错,也许因为那些计算机上的软硬件和你的计算机不同。你可以在计算结果的stderr_txt字段中得到一些信息。如果你的计算程序在调用boinc_init_diagnostics时设置了BOINC_DIAG_DUMPCALLSTACKENABLED标志位并且你将符号编译进了计算程序,你将很有希望得到符号化的堆栈跟踪信息。


To decipher a Windows stack trace go here.

要了解如何解读Windows平台的堆栈跟踪信息,请点击 这里


Otherwise, you should at least get numeric (hex) stack traces. You can decipher these by running a symbolic debugger with an unstripped version and typing in the hex addresses. See http://developer.apple.com/techn ... 3.html#SECNOSYMBOLS

否则,你至少应该能得到数值化(十六进制)的堆栈跟踪信息。你可以对未strip的程序版本运行一个符号调试器,并在其中输入十六进制的地址。详细请查看:
http://developer.apple.com/techn ... 3.html#SECNOSYMBOLS

评分

参与人数 2基本分 +30 维基拼图 +26 收起 理由
BiscuiT + 30 + 20
霊烏路 空 + 6

查看全部评分

回复

使用道具 举报

发表于 2006-7-28 16:54:49 | 显示全部楼层
http://boinc.equn.com/dev/trickle_api.html

发送给定变量的涓流消息 -> 发送指定类型的涓流消息
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2024-3-29 04:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表