Running parrellel processes in ubuntu

Hi all!

I've finally got my ubuntu partition in working order with Radiance installed and ready to go. Unfortunately, my office only had a dual core machine available for my use, so I need to get Radiance running some parallel processes on the two cores. I've been reading up on the -N option for rad, but whenever I use "-N 2" as a parameter, only one of the cores is running rad. Does the -N option actually work, or do I need to use rpiece for running radiance on both processors.

Thanks,
Matthew Brugman

···

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Hi Matthew,

I believe that the -N option of rad will start multiple instances of rpict, with each instance working on a different view (ie NOT parallel processing on the same view). So if the rad file that you have only has one view then using -N 2 will not accomplish anything.

If your intent is to distribute one image (view) over multiple cores then you will need to look into rpiece.

Regards,

-Jack de Valpine

M. Brugman wrote:

···

Hi all!

I've finally got my ubuntu partition in working order with Radiance installed and ready to go. Unfortunately, my office only had a dual core machine available for my use, so I need to get Radiance running some parallel processes on the two cores. I've been reading up on the -N option for rad, but whenever I use "-N 2" as a parameter, only one of the cores is running rad. Does the -N option actually work, or do I need to use rpiece for running radiance on both processors.

Thanks,
Matthew Brugman

------------------------------------------------------------------------
Hotmail® is up to 70% faster. Now good news travels really fast. Find out more. <http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009>

------------------------------------------------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
  
--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Hi Matthew!

cores. I've been reading up on the -N option for rad, but whenever I
use "-N 2" as a parameter, only one of the cores is running rad. Does
the -N option actually work, or do I need to use rpiece for running
radiance on both processors.

Well it works, but not the way you were hoping for I guess :wink: The -N 2
will distribute your views (or frames) over two rpict processes - but it
will not divide one view into parts (or pieces, hm, that is why it is
called rpiece). So to make use of more then one CPU or core or network
node or whatever, you will need more then one view defined. By the way,
I have also used ranimate for this task, which has some extra
functionality for cluster support...

For most cases, with modern machines, it is not worth the trouble to
care about distributing the rendering calculations for one view. In some
special cases, where you have very complicated scenes or want to render
in very high resolution, rpiece may be a good solution.

CU Lars.