要求があり次第、仕事を作る |
|
下記のデーモンプログラム make_work は、 未送出のリザルトが少なくとも N 個は存在する供給状態を維持するように、 指定したマスター・ワークユニットから循環的に源を選んで複製を生成しつづけます。
make_work -wu_name name [-wu_name name2 ... ] -cushion Nこのデーモンはテスト用に有用です。
ご注意: file_deleter または db_purge (あるいは両方) を走らせると、マスター・ワークユニットあるいはその入力ファイル群が消されてしまうことがあります。 (そうなると make_work が失敗するようになるでしょう)。 これを防ぐには、マスター・ワークユニットの名前が、 'nodelete' をその一部として含むように命名してください。 こうすると、 file_deleter と db_purge は マスターワークユニットを消さずにスキップします。
このマスターワークユニットを再生するスクリプトを持っていると便利かもしれません。 たとえば、以下のようなものです。
cp test_workunits/12ja04aa `bin/dir_hier_path 12ja04aa` bin/create_work -appname setiathome -wu_name sah_nodelete -wu_template templates/setiathome_wu_0 -result_template templates/setiathome_result_0 12ja04aa
最終更新時刻 00:46:57, 2006年08月12日(JST)
Copyright © 2009 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 © 2009 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.