以下は JE2BWM ほかが作成した翻訳 です。 原文は University of California より GFDL で配付されており、 この翻訳も GFDL に従います。
原文: Example application   (翻訳対象の更新日付は 9:02 PM UTC, June 14 2006 です)。

例題アプリケーション

boinc.gif
(英語のみ)

 

例題アプリケーションは別の CVS モジュール boinc_samples に入っています。 ( boinc と同じ親ディレクトリの下へ並べて check out して下さい。 そうすると相対パスがうまく機能します)。 例題アプリケーションには以下のものがあります。

boinc_samples ツリーには Windows (VS 2003) 上と Mac (xcode) 上でアプリケーションをビルドするための プロジェクトファイルが含まれています。 さらに、Linux 上でビルドするための Makefile も含まれています。 upper_case の場合、この Makefile はグラフィクス部分を含む .so ファイルを生成します。 この Makefile はいくつかのライブラリ(stdc++、glut など) を静的にリンクします。 これにより、 走る環境でそれらのライブラリが古かったり無かったりしても、 このアプリケーションが走ることができるようにしています。 この部分ではさらに、主プログラムからグラフィクスの .so に対して、 主プログラムのシンボルを export するというテクニックを使っています。 この工夫によって、Einstein@home で経験した多くの問題が取り除かれています。


BOINCの訳のメインページに戻る | (原文のメインページに戻る)
 

最終更新時刻 00:53:46, 2006年08月12日(JST)
Copyright © 2008 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
Copyright © 2008 Komori Hitoshi(je2bwm at jarl.com). Japanese translation from English web pages on BOINC. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.