blender with boinc

Message boards : Client : blender with boinc
Message board moderation

To post messages, you must log in.

AuthorMessage
priminfo

Send message
Joined: 23 May 07
Posts: 2
Credit: 0
RAC: 0
Message 5871 - Posted: 23 May 2007, 10:38:17 UTC

Hey,

I\'m trying to make a project in boinc to render with blender. I use the glue wrapper and I compiled the patched blender. When I use the glue in standalone mode everything works fine.
I use the command : ./glue blender -b in \"-F JPEF -f 1 0 0 11\"

But when I try this in boinc, I get the following error in my client

wo 23 mei 2007 12:22:29 CEST|Blender|Starting test011_0
wo 23 mei 2007 12:22:29 CEST|Blender|Starting task test011_0 using blender version 200
wo 23 mei 2007 12:22:30 CEST|Blender|Deferring communication for 1 min 0 sec
wo 23 mei 2007 12:22:30 CEST|Blender|Reason: Unrecoverable error for result test011_0 (process exited with code 9 (0x9))
wo 23 mei 2007 12:22:30 CEST|Blender|Computation for task test011_0 finished
wo 23 mei 2007 12:22:30 CEST|Blender|Output file test011_0_0 for task test011_0 absent


Does anyone have an idea how to solve this problem?
Maybe I\'m using a bad command line, can anyone show me there workunit and result templates?

Thanx in advance
ID: 5871 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 5872 - Posted: 23 May 2007, 14:33:18 UTC
Last modified: 23 May 2007, 14:42:39 UTC

The commandline used for Glue2 at BURP is the following:
\"glue blender \\\"-y -b\\\" in.blend \\\"-F PNG -f #frame_number #x_fraction_start #y_fraction_start #x_fraction_stop #y_fraction_stop\\\"\"
Obviously replace relevant stuff with correct values.

Glue will lookup a file named \"in\" (hardcoded) in the virtual directory layout from BOINC, uncompress it and use the physical file \"in.blend\" inside it to call \"blender\" with the \"-y -b\" parameters, telling it to not run startup scripts and render in the background. \"-F PNG\" means the output will be PNG images, where \"-f 1 0 0 0.1 0.1\" would tell Blender to render exactly the first frame, but only 1% of it - namely the box [0,0,10%,10%] as interpreted by the box-rendering mechanism in Blender.

The files stdout and stderr in the slots/ directory should tell you more about the error you experience.
ID: 5872 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
priminfo

Send message
Joined: 23 May 07
Posts: 2
Credit: 0
RAC: 0
Message 5876 - Posted: 24 May 2007, 9:56:35 UTC - in response to Message 5872.  

Thanx for your reply, but i still don\'t get it working.

Can i maybe see the workunit and result template,
and the create_work line?

Tia

The commandline used for Glue2 at BURP is the following:
\"glue blender \\\"-y -b\\\" in.blend \\\"-F PNG -f #frame_number #x_fraction_start #y_fraction_start #x_fraction_stop #y_fraction_stop\\\"\"
Obviously replace relevant stuff with correct values.

Glue will lookup a file named \"in\" (hardcoded) in the virtual directory layout from BOINC, uncompress it and use the physical file \"in.blend\" inside it to call \"blender\" with the \"-y -b\" parameters, telling it to not run startup scripts and render in the background. \"-F PNG\" means the output will be PNG images, where \"-f 1 0 0 0.1 0.1\" would tell Blender to render exactly the first frame, but only 1% of it - namely the box [0,0,10%,10%] as interpreted by the box-rendering mechanism in Blender.

The files stdout and stderr in the slots/ directory should tell you more about the error you experience.

ID: 5876 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
viermaalj

Send message
Joined: 30 May 07
Posts: 3
Credit: 0
RAC: 0
Message 5924 - Posted: 30 May 2007, 8:58:04 UTC

Hi all

I\'m setting up a boinc server for a school project, and would like to be able to render files. I\'ve compiled the burp blender version and it runs great without boinc, but when I try to execute a work unit I get the following error:

////////////////////////////////////////////////////////////////////////////
2007-05-30 07:50:37 [3D Rendering Blender] Starting blendtest18_0
2007-05-30 07:50:37 [3D Rendering Blender] Starting task blendtest18_0 using blender version 118
2007-05-30 07:50:38 [3D Rendering Blender] Deferring communication for 1 min 0 sec
2007-05-30 07:50:38 [3D Rendering Blender] Reason: Unrecoverable error for result blendtest18_0 (process exited with code 16 (0x10))
2007-05-30 07:50:38 [3D Rendering Blender] Computation for task blendtest18_0 finished
2007-05-30 07:50:38 [3D Rendering Blender] Output file blendtest18_0_0 for task blendtest18_0 absent
2007-05-30 07:51:41 [3D Rendering Blender] Sending scheduler request: To fetch work
////////////////////////////////////////////////////////////////////////////

Everything downloads fine, but the WU just won\'t start.

My template files are:
blender_re.xml
/////////////////////////////////////////////////////////////
<!-- result template for the BOINC hello world program -->
<!-- <OUTFILE_0/> -->

<file_info>
<name><OUTFILE_0/></name>
<generated_locally/>
<upload_when_present/>
<url><UPLOAD_URL/></url>
<max_nbytes>2040800</max_nbytes>
</file_info>

<result>
<file_ref>
<file_name><OUTFILE_0/></file_name>
<open_name>out.zip</open_name>
</file_ref>
</result>
/////////////////////////////////////////////////////////////

blender_wu.xml
/////////////////////////////////////////////////////////////
<!-- workunit template for the BOINC hello world program -->
<!-- -->
<file_info>
<number>0</number>
</file_info>

<file_info>
<number>1</number>
</file_info>

<file_info>
<number>2</number>
</file_info>

<file_info>
<number>3</number>
</file_info>

<file_info>
<number>4</number>
</file_info>

<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>blender4boinc</open_name>
</file_ref>
<file_ref>
<file_number>1</file_number>
<open_name>in.zip</open_name>
</file_ref>
<file_ref>
<file_number>2</file_number>
<open_name>glue</open_name>
</file_ref>
<file_ref>
<file_number>3</file_number>
<open_name>linux_unzip</open_name>
</file_ref>
<file_ref>
<file_number>4</file_number>
<open_name>linux_zip</open_name>
</file_ref>
<command_line>blender blender4boinc -b in.zip \"-F JPEG -f 1 0 0 1 1\" </command_line>
<min_quorum> 1 </min_quorum>
<target_nresults> 1 </target_nresults>
<max_error_results> 3 </max_error_results>
<max_success_results> 6 </max_success_results>
<max_total_results> 9 </max_total_results>
<rsc_memory_bound> 2e6 </rsc_mem_bound>
<rsc_disk_bound> 2e6 </rsc_disk_bound>
<rsc_fpops_est> 2e11 </rsc_fpops_est>
<rsc_fpops_bound> 6e11 </rsc_fpops_bound>
<delay_bound> 90000 </delay_bound>
</workunit>
/////////////////////////////////////////////////////////////
ID: 5924 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
noderaser
Project donor
Avatar

Send message
Joined: 28 Mar 06
Posts: 516
Credit: 1,567,702
RAC: 0
Message 5928 - Posted: 30 May 2007, 23:46:03 UTC

Is the project setting up the BOINC project, or rendering? If you just need to render some things, why don\'t you just submit your files to BURP? You\'ll find a whole lot more computation power here.
Click here to see My Detailed BOINC Stats
ID: 5928 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
viermaalj

Send message
Joined: 30 May 07
Posts: 3
Credit: 0
RAC: 0
Message 5933 - Posted: 31 May 2007, 5:42:41 UTC

Hi

The project is setting up a BOINC server, not just the rendering part.
ID: 5933 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Janus
Volunteer moderator
Project administrator
Avatar

Send message
Joined: 16 Jun 04
Posts: 4574
Credit: 2,100,463
RAC: 8
Message 5941 - Posted: 31 May 2007, 9:36:12 UTC

I believe your commandline and fileref setups are wrong.
As pointed out earlier in this thread an example commandline would be:
glueXXXX blender \"-y -b\" in.blend \"-F PNG -f 10 0 0 1 1\"
It\'s important to point out that only the glueversion and the numbers in the end are variables here. \"blender\" is the executable to run from the archive glueXXXX.zip (after extracting it). Also the archive MUST be named glueXXXX.zip if your glue executable is named glueXXXX.
ID: 5941 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
viermaalj

Send message
Joined: 30 May 07
Posts: 3
Credit: 0
RAC: 0
Message 5945 - Posted: 31 May 2007, 15:51:02 UTC

Thx

It finaly renders, but when BOINC wants to upload the result, i get the following error

unrecoverable error for result test12_0 (<file_xfer_error> <file_name> test12_0_0 </file_name> <error_code> -161 </error_code> </file_xfer_error>)

any ideas
ID: 5945 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Cameron Eagans

Send message
Joined: 21 Feb 07
Posts: 22
Credit: 702
RAC: 0
Message 5995 - Posted: 6 Jun 2007, 5:55:02 UTC - in response to Message 5924.  

Hi all

I\'m setting up a boinc server for a school project, and would like to be able to render files. I\'ve compiled the burp blender version and it runs great without boinc, but when I try to execute a work unit I get the following error:

////////////////////////////////////////////////////////////////////////////
2007-05-30 07:50:37 [3D Rendering Blender] Starting blendtest18_0
2007-05-30 07:50:37 [3D Rendering Blender] Starting task blendtest18_0 using blender version 118
2007-05-30 07:50:38 [3D Rendering Blender] Deferring communication for 1 min 0 sec
2007-05-30 07:50:38 [3D Rendering Blender] Reason: Unrecoverable error for result blendtest18_0 (process exited with code 16 (0x10))
2007-05-30 07:50:38 [3D Rendering Blender] Computation for task blendtest18_0 finished
2007-05-30 07:50:38 [3D Rendering Blender] Output file blendtest18_0_0 for task blendtest18_0 absent
2007-05-30 07:51:41 [3D Rendering Blender] Sending scheduler request: To fetch work
////////////////////////////////////////////////////////////////////////////

Everything downloads fine, but the WU just won\'t start.

My template files are:
blender_re.xml
/////////////////////////////////////////////////////////////
<!-- result template for the BOINC hello world program -->
<!-- <OUTFILE_0/> -->

<file_info>
<name><OUTFILE_0/></name>
<generated_locally/>
<upload_when_present/>
<url><UPLOAD_URL/></url>
<max_nbytes>2040800</max_nbytes>
</file_info>

<result>
<file_ref>
<file_name><OUTFILE_0/></file_name>
<open_name>out.zip</open_name>
</file_ref>
</result>
/////////////////////////////////////////////////////////////

blender_wu.xml
/////////////////////////////////////////////////////////////
<!-- workunit template for the BOINC hello world program -->
<!-- -->
<file_info>
<number>0</number>
</file_info>

<file_info>
<number>1</number>
</file_info>

<file_info>
<number>2</number>
</file_info>

<file_info>
<number>3</number>
</file_info>

<file_info>
<number>4</number>
</file_info>

<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>blender4boinc</open_name>
</file_ref>
<file_ref>
<file_number>1</file_number>
<open_name>in.zip</open_name>
</file_ref>
<file_ref>
<file_number>2</file_number>
<open_name>glue</open_name>
</file_ref>
<file_ref>
<file_number>3</file_number>
<open_name>linux_unzip</open_name>
</file_ref>
<file_ref>
<file_number>4</file_number>
<open_name>linux_zip</open_name>
</file_ref>
<command_line>blender blender4boinc -b in.zip \"-F JPEG -f 1 0 0 1 1\" </command_line>
<min_quorum> 1 </min_quorum>
<target_nresults> 1 </target_nresults>
<max_error_results> 3 </max_error_results>
<max_success_results> 6 </max_success_results>
<max_total_results> 9 </max_total_results>
<rsc_memory_bound> 2e6 </rsc_mem_bound>
<rsc_disk_bound> 2e6 </rsc_disk_bound>
<rsc_fpops_est> 2e11 </rsc_fpops_est>
<rsc_fpops_bound> 6e11 </rsc_fpops_bound>
<delay_bound> 90000 </delay_bound>
</workunit>
/////////////////////////////////////////////////////////////



why don\'t you try Condor? It is much easier to set up...I had a system set up at my high school in about 3 days. The client can be pushed out to the machines via group policy and you don\'t really need a beefy server to run the server software.
ID: 5995 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
PovAddict
Avatar

Send message
Joined: 25 Apr 05
Posts: 347
Credit: 4,618
RAC: 0
Message 6153 - Posted: 20 Jun 2007, 17:36:42 UTC - in response to Message 5995.  

why don\'t you try Condor? It is much easier to set up...I had a system set up at my high school in about 3 days. The client can be pushed out to the machines via group policy and you don\'t really need a beefy server to run the server software.

I have seen many people saying BOINC was easier to setup than Condor, and you definitely don\'t need such a good server to run BOINC. I ran Renderfarm@Home on a virtual machine on my home PC, then moved to a friend\'s PC that had faster network.
ID: 6153 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Client : blender with boinc