Hi Axel,<br><br>It good to know that someone else had the same problem, even if we don't have the solution (at least, for now).<br>I know that Radiance is much faster and easier to use in Linux, since I'm usually using it there.<br>
I had an idea to include in some Python scripts in Windows rtcontib calculation, and was exploring options with parallel prosesses. Even without them, rtcontrib works fast and good enough in Windows.<br><br>Thanks again,<br>
Marija<br><br><br><br><div class="gmail_quote">On Sat, Dec 5, 2009 at 3:45 PM, Axel Jacobs <span dir="ltr"><<a href="mailto:jacobs.axel@gmail.com">jacobs.axel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I recently looked into various ways of running Radiance/LEARNIX on a Windows machine. Francesco's web site was down (fixed now), so I had to compile Cygwin Radiance myself. I did not try mingw, but believe it to be somewhat similar to cygwin in performance.<br>
<br>
When running Mark's benchmark, I encountered the same problem that you are describing with rpiece. Trying to figure out why this wouldn't work, I played around with the bench4 makefile, and came to the same conclusion that Greg suggested. The syncfile which coordinates the different rtrace/rpict processes is opened multiple times, each process reading from and writing to the same file.<br>
<br>
I believe it to be a 'feature' of the Windows OS that users are protected from themselves at all cost, so I'd be surprised if there was a mechanism that would allow you to disable this file-locking. Having said that, I am no expert in such matters.<br>
<br>
If you have a multi-core machine and really need the extra speed, I suggest you look into running Radiance on LINUX inside a virtual machine. Sun's VirtualBox is very good and open source. It is comparable in speed to cygwin Radiance, but will utilise all cores/processors. You can double the speed again by running LINUX natively, to which there are a number of different approaches.<br>
<br>
To get an idea about VirtualBox under Windows and the speed increase that you can expect, please see 'Running LEARNIX' which is available from the LEARNIX documentation page:<br>
<br>
<a href="http://luminance.londonmet.ac.uk/learnix/docs.shtml" target="_blank">http://luminance.londonmet.ac.uk/learnix/docs.shtml</a><br>
<br>
I know this doesn't really answer your question, but might provide an acceptable work-around for your problem.<br>
<br>
Axel<br>
<br>
</blockquote></div><br>