Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

Posts by HTH

log in
1) Message boards : Help! : How do I make my own BOINC-project? (Message 9182)
Posted 2695 days ago by HTH
Hi! Long time no see! :)

I have used this http://boinc.berkeley.edu/dl/wrapper_26003_windows_x86_64.zip as a wrapper and renamed the wrapper binary to utopia1_26035_windows_x86_64__opencl_nvidia_100.exe.

This directory /home/boincadm/projects/test/apps/utopia1/26035/windows-x86_64__opencl_nvidia_100 has these files:
boost_python-vc90-mt-1_39.dll, bz2.pyd, _ctypes.pyd, _hashlib.pyd, library.zip, msvcp90.dll, numpy.core._dotblas.pyd, numpy.core.multiarray.pyd, numpy.core.scalarmath.pyd, numpy.core._sort.pyd, numpy.core.umath.pyd, numpy.fft.fftpack_lite.pyd, numpy.lib._compiled_base.pyd, numpy.linalg.lapack_lite.pyd, numpy.random.mtrand.pyd, phatk.cl, poclbm.exe, pyopencl._cl.pyd, python26.dll, select.pyd, _socket.pyd, _ssl.pyd, unicodedata.pyd, utopia1_26035_windows_x86_64__opencl_nvidia_100.exe, utopia1_26035_windows_x86_64__opencl_nvidia_100_job.xml, version.xml, w9xpopen.exe, worker_windows_x86_64__opencl_nvidia_100_0.exe

The content of utopia1_26035_windows_x86_64__opencl_nvidia_100_job.xml:
----

<job_desc>
<task>
<application>worker_windows_x86_64__opencl_nvidia_100_0.exe</application>
<command_line>1800</command_line>
<weight>1</weight>
<checkpoint_filename>fraction_done.txt</checkpoint_filename>
<fraction_done_filename>fraction_done.txt</fraction_done_filename>
</task>
<task>
<application>poclbm.exe</application>
<stdout_filename>stdout.txt</stdout_filename>
<stderr_filename>stderr.txt</stderr_filename>
<command_line>--device=0 --verbose --vectors --rate=30 1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd:testaus@pool.50btc.com:8332 1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd:testaus@pool2.50btc.com:8332 --tolerance=2 --failback=1</command_line>
<weight>0</weight>
<daemon/>
</task>
</job_desc>

----

The content of version.xml:
----

<version>
<file>
<physical_name>utopia1_26035_windows_x86_64__opencl_nvidia_100.exe</physical_name>
<main_program/>
</file>
<file>
<physical_name>worker_windows_x86_64__opencl_nvidia_100_0.exe</physical_name>
<logical_name>worker_windows_x86_64__opencl_nvidia_100_0.exe</logical_name>
</file>
<file>
<physical_name>w9xpopen.exe</physical_name>
<logical_name>w9xpopen.exe</logical_name>
</file>
<file>
<physical_name>unicodedata.pyd</physical_name>
<logical_name>unicodedata.pyd</logical_name>
</file>
<file>
<physical_name>_ssl.pyd</physical_name>
<logical_name>_ssl.pyd</logical_name>
</file>
<file>
<physical_name>_socket.pyd</physical_name>
<logical_name>_socket.pyd</logical_name>
</file>
<file>
<physical_name>select.pyd</physical_name>
<logical_name>select.pyd</logical_name>
</file>
<file>
<physical_name>python26.dll</physical_name>
<logical_name>python26.dll</logical_name>
</file>
<file>
<physical_name>pyopencl._cl.pyd</physical_name>
<logical_name>pyopencl._cl.pyd</logical_name>
</file>
<file>
<physical_name>poclbm.exe</physical_name>
<logical_name>poclbm.exe</logical_name>
</file>
<file>
<physical_name>phatk.cl</physical_name>
<logical_name>phatk.cl</logical_name>
</file>
<file>
<physical_name>numpy.random.mtrand.pyd</physical_name>
<logical_name>numpy.random.mtrand.pyd</logical_name>
</file>
<file>
<physical_name>numpy.linalg.lapack_lite.pyd</physical_name>
<logical_name>numpy.linalg.lapack_lite.pyd</logical_name>
</file>
<file>
<physical_name>numpy.lib._compiled_base.pyd</physical_name>
<logical_name>numpy.lib._compiled_base.pyd</logical_name>
</file>
<file>
<physical_name>numpy.fft.fftpack_lite.pyd</physical_name>
<logical_name>numpy.fft.fftpack_lite.pyd</logical_name>
</file>
<file>
<physical_name>numpy.core.umath.pyd</physical_name>
<logical_name>numpy.core.umath.pyd</logical_name>
</file>
<file>
<physical_name>numpy.core._sort.pyd</physical_name>
<logical_name>numpy.core._sort.pyd</logical_name>
</file>
<file>
<physical_name>numpy.core.scalarmath.pyd</physical_name>
<logical_name>numpy.core.scalarmath.pyd</logical_name>
</file>
<file>
<physical_name>numpy.core.multiarray.pyd</physical_name>
<logical_name>numpy.core.multiarray.pyd</logical_name>
</file>
<file>
<physical_name>numpy.core._dotblas.pyd</physical_name>
<logical_name>numpy.core._dotblas.pyd</logical_name>
</file>
<file>
<physical_name>msvcp90.dll</physical_name>
<logical_name>msvcp90.dll</logical_name>
</file>
<file>
<physical_name>library.zip</physical_name>
<logical_name>library.zip</logical_name>
</file>
<file><physical_name>utopia1_26035_windows_x86_64__opencl_nvidia_100_job.xml</physical_name>
<logical_name>job.xml</logical_name>
</file>
<file>
<physical_name>_hashlib.pyd</physical_name>
<logical_name>_hashlib.pyd</logical_name>
</file>
<file>
<physical_name>_ctypes.pyd</physical_name>
<logical_name>_ctypes.pyd</logical_name>
</file>
<file>
<physical_name>bz2.pyd</physical_name>
<logical_name>bz2.pyd</logical_name>
</file>
<file>
<physical_name>boost_python-vc90-mt-1_39.dll</physical_name>
<logical_name>boost_python-vc90-mt-1_39.dll</logical_name>
</file>
<needs_network/>
</version>

----

The content of /home/boincadm/projects/test/project.xml:
----

<boinc>
<platform>
<name>windows_intelx86</name>
<user_friendly_name>Microsoft Windows (98 or later) running on an Intel x86-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>windows_intelx86__opencl_nvidia_100</name>
<user_friendly_name>Microsoft Windows (98 or later) running on an Intel x86-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>windows_intelx86__opencl_ati_100</name>
<user_friendly_name>Microsoft Windows (98 or later) running on an Intel x86-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>windows_intelx86__cuda</name>
<user_friendly_name>Microsoft Windows (98 or later) running on an Intel x86-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>windows_x86_64</name>
<user_friendly_name>Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU</user_friendly_name>
</platform>
<platform>
<name>windows_x86_64__opencl_nvidia_100</name>
<user_friendly_name>Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU</user_friendly_name>
</platform>
<platform>
<name>windows_x86_64__opencl_ati_100</name>
<user_friendly_name>Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU</user_friendly_name>
</platform>
<platform>
<name>windows_x86_64__cuda</name>
<user_friendly_name>Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU</user_friendly_name>
</platform>
<platform>
<name>i686-pc-linux-gnu</name>
<user_friendly_name>Linux running on an Intel x86-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>x86_64-pc-linux-gnu</name>
<user_friendly_name>Linux running on an AMD x86_64 or Intel EM64T CPU</user_friendly_name>
</platform>
<platform>
<name>powerpc-apple-darwin</name>
<user_friendly_name>Mac OS X 10.3 or later running on Motorola PowerPC</user_friendly_name>
</platform>
<platform>
<name>i686-apple-darwin</name>
<user_friendly_name>Mac OS 10.4 or later running on Intel</user_friendly_name>
</platform>
<platform>
<name>x86_64-apple-darwin</name>
<user_friendly_name>Intel 64-bit Mac OS 10.5 or later</user_friendly_name>
</platform>
<platform>
<name>sparc-sun-solaris2.7</name>
<user_friendly_name>Solaris 2.7 running on a SPARC-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>sparc-sun-solaris</name>
<user_friendly_name>Solaris 2.8 or later running on a SPARC-compatible CPU</user_friendly_name>
</platform>
<platform>
<name>sparc64-sun-solaris</name>
<user_friendly_name>Solaris 2.8 or later running on a SPARC 64-bit CPU</user_friendly_name>
</platform>
<platform>
<name>powerpc64-ps3-linux-gnu</name>
<user_friendly_name>Sony Playstation 3 running Linux</user_friendly_name>
</platform>
<platform>
<name>anonymous</name>
<user_friendly_name>anonymous</user_friendly_name>
</platform>
<app>
<name>utopia1</name>
<user_friendly_name>Bitcoin Utopia Project 1</user_friendly_name>
</app>
</boinc>

----

The content of /home/boincadm/projects/test/templates/utopia1_in:
----

<workunit>
</workunit>

----

The content of /home/boincadm/projects/test/templates/utopia1_out:
----

<output_template>
<file_info>
<name><OUTFILE_0/></name>
<generated_locally/>
<upload_when_present/>
<max_nbytes>5000000</max_nbytes>
<url><UPLOAD_URL/></url>
</file_info>
<file_info>
<name><OUTFILE_1/></name>
<generated_locally/>
<upload_when_present/>
<max_nbytes>5000000</max_nbytes>
<url><UPLOAD_URL/></url>
</file_info>
<result>
<file_ref>
<file_name><OUTFILE_0/></file_name>
<open_name>fraction_done.txt</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name><OUTFILE_1/></file_name>
<open_name>stdout.txt</open_name>
<copy_file/>
</file_ref>
</result>
</output_template>

----

The command I use to produce one new workunit:
./bin/create_work --appname utopia1 --wu_name wu_utopia1_201305021049 --wu_template templates/utopia1_in --result_template templates/utopia1_out --min_quorum 1 --target_nresults 1


Can you see any major flaws anywhere? The problem is everything else seems to work, but my bitcoin miner (poclbm.exe) doesn't seem to get anything to work with. After 5 minutes of running, this is the content of stdout.txt:
----
pool.50btc.com:8332 02/05/2013 10:50:42, Setting pool (1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd @ pool.50btc.com:8332)
pool.50btc.com:8332 02/05/2013 10:50:43, LP connected to pool.50btc.com:8332
----

It should look more like this:
( c:\Users\Henri\Desktop\temp>poclbm.exe --device=0 --verbose --vectors --rate=30 1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd:testaus@pool.50btc.com:8332 1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd:testaus@pool2.50btc.com:8332 --tolerance=2 --failback=1 >>test.txt ):
----
pool.50btc.com:8332 02/05/2013 10:55:48, Setting pool (1GwmtTcHbdMxQ2mCVQJq9hWuHYr3rUencd @ pool.50btc.com:8332)
pool.50btc.com:8332 02/05/2013 10:55:49, LP connected to pool.50btc.com:8332
pool.50btc.com:8332 02/05/2013 10:56:18, [2.408 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:56:48, [2.287 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:57:18, [2.281 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:57:48, [2.383 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:58:18, [2.389 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:58:48, [2.535 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:59:18, [2.622 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 10:59:31, long poll: new block 000000145d473263
pool.50btc.com:8332 02/05/2013 10:59:48, [2.616 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 11:00:18, [2.549 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]
pool.50btc.com:8332 02/05/2013 11:00:48, [2.630 MH/s (~0 MH/s)] [Rej: 0/0 (0%)]

bye
----

Also, GPU Load is nearly 0% when poclbm.exe runs on BOINC. When I run poclbm.exe from the commandline (without BOINC), GPU Load is 99%.

Any ideas what is wrong with my approach?

Any procedure I should do for testing?

How does the networking work in BOINC?

Is <needs_network/> tag familiar to you?

Thanks!

Henri.
2) Message boards : Help! : How do I make my own BOINC-project? (Message 8456)
Posted 4229 days ago by HTH
Hello! I hope this is the right place for these questions. They haven't replied on my questions on the two different BOINC mailing lists...

I have problems with Debian VM. I cannot find the boinc-directory anywhere. I can find the update_latest-script, but when I run it:
boincadm@debian:~$ ./update_latest.sh
./update_latest.sh: line 2: cd: /home/boincadm/boinc: No such file or directory
Skipped '.'
boincadm@debian:~$

So, nothing really happens when I run it.

1. So, I have to download the BOINC server manually? How? What else is needed?

2. During the simulation with AIRES, there are several files on the input file directory: http://img527.imageshack.us/img527/7862/kuvakaappauskuurottiedotv6.png
Is it possible to use some of those files as a checkpoint file?

3. There are many folders and files in the AIRES directory.
aires: http://img502.imageshack.us/img502/1296/kuvakaappausairestiedosfb3.png
aires/bin: http://img253.imageshack.us/img253/8867/kuvakaappausbintiedostoht6.png
aires/log: http://img19.imageshack.us/img19/6526/kuvakaappauslogtiedostoxk1.png
etc. etc.
So, where I should put all these files and folders? If I am not totally wrong the project folder is going to look something like this:
.../PROJECT/apps/aires/wrapper_5.10_i686-pc-linux-gnu/
.../PROJECT/apps/aires/wrapper_5.10_i686-pc-linux-gnu/wrapper_5.10_i686-pc-linux-gnu
.../PROJECT/apps/aires/wrapper_5.10_i686-pc-linux-gnu/AiresTask=AiresTask_5.10_i686-pc-linux-gnu
.../PROJECT/apps/aires/wrapper_5.10_i686-pc-linux-gnu/job.xml=job_1.12.xml
.../PROJECT/apps/aires/download/test.inp

So, where to put all those bins and logs and other stuff?

4. How to use the unzip tool with the wrapper app or do I even need it?

PS. Please bear with my crazy novice questions.

Thanks!
3) Message boards : Number Crunching : Dead line and 1 hour time left to report (Message 7509)
Posted 4543 days ago by HTH
It seems to be ok by now. It granted some credit too.
4) Message boards : Number Crunching : Dead line and 1 hour time left to report (Message 7507)
Posted 4543 days ago by HTH
Hi!

The BOINC does not report my Pirates@home WUs and there is 1 hour time left to report them before the dead line is reached. Is there anything to do for this?
5) Message boards : Pirate Talk : Interactions in Understanding the Universe? (Message 5723)
Posted 4867 days ago by HTH
Is it possible to have an invitation code to the Interactions in Understanding the Universe project?
6) Message boards : Help! : How do I make my own BOINC-project? (Message 5722)
Posted 4867 days ago by HTH
Hello!

This is my BOINC-servers apps-directory structure:
apps
apps\cre
apps\cre\cre_0.1_i686-pc-linux-gnu

There are two files in the cre_0.1_i686-pc-linux-gnu -directory at the moment:
Aires-cre_0.1_i686-pc-linux-gnu <-- This is the worker application.
test.inp <-- This a sample input file for AIRES. I can run it manually: Aires-cre_0.1_i686-pc-linux-gnu < test.inp

I have also downloaded wrapper.C from http://boinc.berkeley.edu/trac/browser/trunk/boinc_samples/wrapper/wrapper.C?rev=11585

Should I only give a command: gcc -o cre_0.1_i686-pc-linux-gnu wrapper.C?
Where should I put that test.inp-file?
What should I put in the job.xml-file? The output-file AIRES gives is test.sry.
How do I make the workunits?

Thanks!

Henri Heinonen.
7) Message boards : Pirate Talk : A dubloon? (Message 5717)
Posted 4871 days ago by HTH
Trog Dog wrote:

You're the current user of the day :)


Oh, OK. Thanks! :)
8) Message boards : Pirate Talk : A dubloon? (Message 5715)
Posted 4871 days ago by HTH
Where did I get that dubloon?
9) Message boards : Help! : How do I make my own BOINC-project? (Message 5643)
Posted 4883 days ago by HTH
Thanks!

I will.
10) Message boards : Help! : How do I make my own BOINC-project? (Message 5453)
Posted 4904 days ago by HTH
Cori wrote:
And when you come to the point you'll need testers, this fearless bunch of Pirates will surely not hesitate to crunch the first WUs! :-)


Thanks! There's no doubt of it. ;)


Next 10

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2020 Capt. Jack Sparrow