Help About BOINC Client Development

Message boards : BOINC client : Help About BOINC Client Development
Message board moderation

To post messages, you must log in.

AuthorMessage
lawrence

Send message
Joined: 29 Aug 11
Posts: 1
China
Message 39942 - Posted: 29 Aug 2011, 12:14:41 UTC

Deal all, I am a newbie about BOINC development.
I have some problems and no ideas about how to begin my process. Here is my question:

1. I want to receive the input data from BOINC server. What is the format? For example, sth. like json, xml or something else? How can I get it?

2. After receiving the data, the client will begin computation, for distributed computation, there may be some wrong, such as stop computation, suddenly quit and so forth. I think BOINC client has already finished these functions, is there any easy way for me to learn and evoke these methods?

3. How can I send my computation result back to BOINC server and make interaction with server?

Thanks for your reading. It will be great help to me if you give me a material. Thanks.
ID: 39942 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 39949 - Posted: 29 Aug 2011, 21:07:22 UTC - in response to Message 39942.  

You will have to tell us what you're planning to do.
Do you want to set up a BOINC project? Or do you, as the title of this thread implies, want to compile the BOINC client?


ID: 39949 · Report as offensive
niconico

Send message
Joined: 4 Apr 12
Posts: 4
Hong Kong
Message 43270 - Posted: 4 Apr 2012, 18:29:51 UTC - in response to Message 39949.  

Dear All,
I planning to setup a boinc system to run my own projects. I have been studying and experimenting with the Boinc source code. I have encountered the following problem :
In boinc system, each client has to be able to download web page to their local disk. In linux this can be easily done using "wget" command. However, I cannot find equivalent for windows OS (external library like .net is needed).
finally, I tried to use boinc's libcurl to handle http communications, the compilation can be successfully done, but when I execute it, I get missing linker error. Anyone have some suggestions for me?


Thanks,
Nico
ID: 43270 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 43271 - Posted: 4 Apr 2012, 20:18:32 UTC - in response to Message 43270.  

Which source code are you using to compile the client with? Trunk or a branch? Which branch, if a branch?

In boinc system, each client has to be able to download web page to their local disk.

Can you extrapolate on this, what do you mean with it?

finally, I tried to use boinc's libcurl to handle http communications, the compilation can be successfully done, but when I execute it, I get missing linker error. Anyone have some suggestions for me?

Which platform are you compiling BOINC for?
Which BOINC version?
If Windows, with which compiler?
If Windows, did you download the correct dependencies as well?
ID: 43271 · Report as offensive
niconico

Send message
Joined: 4 Apr 12
Posts: 4
Hong Kong
Message 43282 - Posted: 6 Apr 2012, 7:04:41 UTC - in response to Message 43271.  

I am currently using the trunk source code. I am compiling the code
using windows MS visual studio 2010 (I downloaded the dependencies as
required). The way I use libcurl is directly include <curl/curl.h> in
the upper_case application code (and download a url using the sample
code from http://curl.haxx.se/libcurl/c/simple.html). I also
configured the project lib directory and link to include libcurl. I
can successfully compile the code. However, when I run the .exe file
"missing libcurl.dll" warning pops us and program terminates with
failure.
ID: 43282 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 43283 - Posted: 6 Apr 2012, 9:50:34 UTC - in response to Message 43282.  

I forwarded it to the developers.
However, they're in the process of releasing BOINC 7.0 to the public, so it may take a bit for them to react.
ID: 43283 · Report as offensive
niconico

Send message
Joined: 4 Apr 12
Posts: 4
Hong Kong
Message 43284 - Posted: 6 Apr 2012, 13:46:09 UTC - in response to Message 43283.  

Thanks a lot for your help
ID: 43284 · Report as offensive

Message boards : BOINC client : Help About BOINC Client Development

Copyright © 2024 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.