Pirates@Home logo

Pirates@Home

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

How do I make my own BOINC-project?

log in

Advanced search

Message boards : Help! : How do I make my own BOINC-project?

Author Message
HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5433 - Posted: 16 Apr 2007 | 16:34:56 UTC

I am a Bachelor of Science (in physics). I am not a very good programmer, but I would like to do a new BOINC-project for my thesis. There is a program called AIRES (http://www.fisica.unlp.edu.ar/auger/aires/, http://www.fisica.unlp.edu.ar/auger/aires/eg_AiresDownload.html) that simulates cosmic ray air showers. How can I make AIRES BOINC-compatible?

PS. I am not a Linux expert.
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5434 - Posted: 16 Apr 2007 | 17:29:02 UTC - in response to Message 5433.

Henri Tapani Heinonen wrote:
I am a Bachelor of Science (in physics). I am not a very good programmer, but I would like to do a new BOINC-project for my thesis. that simulates cosmic ray air showers. How can I make AIRES BOINC-compatible

When is your thesis due?

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5435 - Posted: 16 Apr 2007 | 17:52:37 UTC

No time limit (in theory), but soon (in practice).
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5436 - Posted: 16 Apr 2007 | 18:38:26 UTC
Last modified: 16 Apr 2007 | 18:38:52 UTC

Do you have a working AIRES program which you want to "BOINC'ify", or any previous experience working with AIRES? From the documentation links it looks like it's not just one program, but a library and a few main programs.

AIRES is written in Fortran, and there is a BOINC API in Fortran, so that at least is on your side.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5438 - Posted: 16 Apr 2007 | 19:15:14 UTC - in response to Message 5436.
Last modified: 16 Apr 2007 | 19:16:03 UTC

Wormholio wrote:
Do you have a working AIRES program which you want to "BOINC'ify", or any previous experience working with AIRES? From the documentation links it looks like it's not just one program, but a library and a few main programs.


Yes, I have. The main program is "aires". You can use it like this: "aires < example.inp"

Wormholio wrote:

AIRES is written in Fortran, and there is a BOINC API in Fortran, so that at least is on your side.


Great. Can you tell me more about BOINC API?

Thanks!
____________

Profile Pawly
Volunteer tester
Avatar
Send message
Joined: 8 Apr 07
Canada
Canada
Credit: 1,137.6
RAC: 0.00
Joined: Apr 8, 2007
Verified: Mar 28, 2009
Dubloons: 3
Punishment: Aztec curse
Message 5440 - Posted: 16 Apr 2007 | 19:24:32 UTC

This sounds great!! Can't wait to see what happens!
I would crunch it, Henri.

{Edge of seat, stuffing mouth with popcorn}
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5441 - Posted: 16 Apr 2007 | 19:36:52 UTC

The two main things you would have to do are 1) create a project server, and 2) create an application. There is documentation in various places for both of these, though it is not as well developed as many of us would like. A good place to start is http://pirates.spy-hill.net/help/, which has links to the primary documentation (at Berkeley) and the BOINC wiki.

To set up a project server you can take a look at Creating and Configuring a BOINC Project, which peters out at the end not because I don't have the content, but because I've not had the time to fill it in. Perhaps it will get filled in if you ask some good questions.

To create your own BOINC applications I suggest going through the "suite" of examples listed here, making your own modifications as you like to learn how it all works. Having sample code should make this easier than "starting from scratch".

All of these examples are in C++. The Fortran API is similar in spirit, and is documented at http://boinc.berkeley.edu/fortran.php If you want your application to run on Windows then you will need a Fortran compiler for Windows. You may have to buy this, or else build via Cygwin.

If you get on the boinc_projects mailing list (see here) you can ask questions from others who have set up projects or are in the process of doing so, and you can also contribute what you've learned.

I think this is a very interesting project, so I hope you are able to pull it off, and I hope you'll consider logging your progress here so we know how it's going.


____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5442 - Posted: 16 Apr 2007 | 19:58:35 UTC

Oh yes, one more thing. Welcome aboard.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5443 - Posted: 16 Apr 2007 | 20:30:40 UTC

Thank you very much, guys! :)
____________

Profile Cori
Volunteer tester
Avatar
Send message
Joined: 14 Jan 05
Germany
BOINC@Heidelberg
Credit: 4,136.8
RAC: 0.00
Joined: Jan 14, 2005
Verified: Nov 27, 2010
Dubloons: 3
Pieces of Eight: 3
Punishment: Cat o' Nine Tails
Message 5444 - Posted: 16 Apr 2007 | 20:47:48 UTC

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! :-)
____________
Arrrrr! I'm a proud member o' the pirates' ship crew BOINC@Heidelberg

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5453 - Posted: 17 Apr 2007 | 14:07:29 UTC - in response to Message 5444.

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. ;)
____________

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 5538 - Posted: 24 Apr 2007 | 3:53:48 UTC

Pirated update from BOINC Synergy forum

Henri Tapani Heinonen wrote:

CosmicRays@Earth

I would need lots of computing power for my physics thesis. It is going to consider, how common are air showers 5 kilometers in radius.

AIRES makes TASKNAME.grdpcles file that contains all the information of the particles that hit the ground level. If the primary energy and the number of simulated showers is high, then the file will be very very large in size, maybe over a gigabyte! (AIRES has already compressed the file to make it smaller!) That file would be a little difficult to send to the BOINC server. I would probably only need the lateral distribution values of the particles at various distances. cosmic.c-file is a program that takes the values from TASKNAME.grdpcles and outputs them to an ascii-file. Maybe this ascii-file could be the file that CosmicRays@Earth application will send to the server? It would probably be only few kilobytes in size.

____________

Click and enter your name for your BOINC Statistics

Profile Rusty
Chief Petty Officer
Boatswain
Avatar
Send message
Joined: 29 Jun 04
United States
Away
Credit: 1,911.4
RAC: 0.00
Joined: Jun 29, 2004
Verified: NEVER
Dubloons: 1
Pieces of Eight: 3
Punishment: Mess Duty
Message 5618 - Posted: 2 May 2007 | 21:08:09 UTC

I've moved this thread from Pirate Talk to the Help forum to make it publicly readable to those not in the crew. Hopefully Henri will update us from time to time on his progress.

____________
-- Rusty McGee Johnson

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5643 - Posted: 8 May 2007 | 9:55:46 UTC

Thanks!

I will.
____________

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 5722 - Posted: 24 May 2007 | 14:33:53 UTC

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.
____________

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5725 - Posted: 24 May 2007 | 16:01:12 UTC - in response to Message 5722.

Henri Tapani Heinonen wrote:
Hello!

This is my BOINC-servers apps-directory structure:
apps
appscre
appscrecre_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?


No, the wrapper is a standalone program which you compile and send out as your appliction. In some sense the AIRES executable is a data file as far as the wrapper is concerned. You run the wrapper as the application, and tt will then run the executable. To tell it what to do you need to specify the app and command line args in a job.xml file.


Where should I put that test.inp-file?

You put it in your main project directory, or somewhere else, and then you name the file as a command line argument to the create_work command to create a workunit.
You also specify the input file in the Workunit template.



What should I put in the job.xml-file?

It is also an input file. Specify it in the Workunit template and name it on the command line to create_work. In fact, I'd make this the first input file.



The output-file AIRES gives is test.sry.

So specify this in the Result template.


How do I make the workunits?

The simplest way is to run bin/create_work

A good example of the template files and a script to create work can be found in my "cube" example application.


____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 5726 - Posted: 24 May 2007 | 16:05:43 UTC - in response to Message 5722.

Henri Tapani Heinonen wrote:
Hello!

This is my BOINC-servers apps-directory structure:
apps
appscre
appscrecre_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


Now I know that using the wrapper approach to run an existing executable looks like the easiest way to get started, but you have an alternative. Since you have the source code for AIRES you could modify the main program to use the BOINC API. It's fairly simple, and there are Fortran versions of the functions (I have not tested them). Then you would compile this as your "Boincified" application. You still have to deal with input and output files, but not the extra level of abstraction of the wrapper.

(I've used the Wrapper to run R on Windows. It was easier than building a different version of R to run on BOINC.)

One way to learn the API quickly is to go through my sample applications, hello, yello, cube.... and see how it's done. The idea there was to start small and introduce new ideas as needed, rather than everything all at once. They are in C++ but the same functions are used in Fortran.

If you want the "all at once" version of a sample application then upper_case from the boinc_samples (and NOT the version in the apps directory) gives you that.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 8456 - Posted: 20 Feb 2009 | 20:51:22 UTC
Last modified: 20 Feb 2009 | 20:53:00 UTC

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!
____________

HTH
Volunteer developer
Send message
Joined: 8 Sep 04
Finland
Credit: 691.2
RAC: 0.00
Joined: Sep 8, 2004
Verified: NEVER
Dubloons: 3
Punishment: Mess Duty
Message 9182 - Posted: 4 May 2013 | 17:28:04 UTC
Last modified: 4 May 2013 | 18:05:47 UTC

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.
____________

Post to thread

Message boards : Help! : How do I make my own BOINC-project?

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2013 Capt. Jack Sparrow