[Radiance-general] rpiece question

iebele info at iebele.nl
Thu Jul 24 07:01:09 PDT 2008


Hi Mark, Ilya,

Thanks for your help, rpiece runs cool now,  the script is very  helpfull in 
understanding the common usage of rpiece,

Iebele



----- Original Message ----- 
From: "Mark Stock" <mstock at umich.edu>
To: "Radiance general discussion" <radiance-general at radiance-online.org>
Sent: Thursday, July 24, 2008 1:41 AM
Subject: Re: [Radiance-general] rpiece question


> Iebele,
>
> The runsmp script contained in my Radiance benchmark tests demonstrates 
> this. It's what I use to render my large art images.
>
> http://mark.technolope.org/pages/rad_bench.html
> http://mark.technolope.org/radmisc/bench4.tar.gz
>
> Mark
>
> PS. here's the script rewritten for 4 CPUs:
> -------------
> #!/bin/sh
>
> [ -z "$NCPU" ] && NCPU=4
> [ -z "$COLS" ] && COLS=1
> [ -z "$ROWS" ] && ROWS=64
>
> echo $COLS $ROWS > syncfile
> rm -f pp
>
> while [ "$NCPU" -gt 0 ]
> do
>         echo "running proc $NCPU"
>         rpiece -v -PP pp -F syncfile @viewpoint @options @args &
>         NCPU=`expr $NCPU - 1`
> done
> wait
>
> rm -f syncfile pp
>
> exit 0
> -------------
>
> On Wed, 23 Jul 2008, iebele wrote:
>
>> Hi all,
>>
>> Does any of you wants to share an example of rpiece, using multiple (say 
>> 4) processes on a single machine, sharing 1 ambient file, resulting in 1 
>> single image?
>>
>> The manpage gives this example:
>>
>> goober% echo 1 8 > syncfile
>> goober% echo -F syncfile -x 1024 -y 1024 -vf view -o picture octree > 
>> args
>> goo1ber% rpiece @args &
>>
>> How do I let rpiece run 4 processes simultaneous? Just run 4 processes in 
>> the background?
>> How does an ambient file works using rpiece? Do I just need one, or as 
>> many as there are "pieces"?
>> Where are temporary files stored, so I can check their progress?
>>
>> -Iebele
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 





More information about the Radiance-general mailing list