Directions to submit a NewTEK Lightwave rendering job to High Performance Cluster:<p class=MsoNormal style="line-height:normal"><span style="font-family:Arial;color:#000080;font-size:small"><span style="font-size:13px"> </span></span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">On the client</span></strong><strong></strong></p> <ol type=1> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">From the Lightwave application, from the file menu choose package scene.  You can choose to save the scene to a folder (that will be the &quot;project name&quot; you are working on.)  The name of the folder can have NO_SPACES in that name.  Use underscores instead if you need spaces.  </span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">The packaged scene will have 3 subfolders, Images, Objects and Scenes.</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">In the scenes subfolder, it is required that the scene file (*.lws) is setup to output to <strong>z:\%projectname%</strong> where %projectname% is the name of the folder you packaged your scene to.  So, if you packaged the scene to a folder name &quot;MyRender&quot; for example, the scene file needs to be configured to output to z:\MyRender\.  If this path is not set properly, you will not get output (though the rendering will occur).<span>  </span>Specifically, the line [SaveRGBImagesPrefix Z:\MyRender\Output_File_Name_1].<span>  </span>With the line in the scene file, the images resulting from the parametric sweep will be save to z:\MyRender\Output_File_Name_1.img through z:\MyRender\Output_File_Name_n.img.</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Copy the Lightwave scene you just packaged to the content folder on the cluster server.  You will copy the top folder with the (3) subfolders. To do that:</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Map a drive (L:) to <span style="text-decoration:underline"><span style="color:blue"><a>\\headnode\LightWave</a></span></span></span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Navigate to (<a>L:\Content</a>) and Copy your &quot;Project Name&quot; folder to that location.  (MyRender) is an example of what will be copied to the remote server.<span>  </span>So there will be l:\content\MyRender with the (subfolders)</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">The output folder on Z: needs to be created / on the headnode.<span>  </span>In the example above, the output folder that needs to be created is z:\myrender</span></li> </ol> <p class=MsoNormal style="line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">On the headnode of the HPCC</span></strong><strong></strong></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">The program NewTEK Lightwave is installed on the headnode of the cluster.<span>  </span>The client needs a dongle to run, the HPCC members/headnode do not need a dongle to run the command line render engine.</span></p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>2.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">&quot;C:\Program Files (x86)\NewTek\LightWave 3D 9&quot; is shared as “Lightwave”</span></p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>3.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">A disk array on the head node with an output folder is shared as “output.”</span></p> <p class=MsoListParagraphCxSpLast style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>4.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">Create a batchfile submit.bat as below</span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>net use L: \\headnode\lightwave</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>net use Z: \\headnode\output</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>cd L:\</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>L:\programs\lwsn.exe -3 -c&quot;L:\config\lw9.cfg&quot; -d&quot;l:\content\%1&quot; &quot;L:\content\%1\scenes\%2&quot; %3 %4 1</strong></span></p> <p class=MsoListParagraphCxSpFirst><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoListParagraphCxSpLast style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>5.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">In the job manager, Create a new job.<span>  </span>Add a new parametric sweep.<span>  </span>The task for the parametric sweep, the task for the parametric sweep is </span></p> <p class=MsoNormal><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">[<strong>\\headnode\lightwave\submit.bat MyRender ScenFile_in_MyRender.lws * *</strong>]</span></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>6.<span style="font:7.0pt &quot;Times New Roman&quot;">     Where %MyRender% is the name of the subfolder of the schene you packages in the example above, and %scenefile_inMyRender is the name of the scene file in the scenes subfolder you are using.</span></span></span></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">SuSubmit the job.</span></p> <p class=MsoListParagraphCxSpLast><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">Performance Considerations</span></strong><strong></strong></p> <p class=MsoNormal><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">For the 32bit version of lightwave on a 64bit cluster (what we are running on) each thread appears limited/will use up to 2GB of RAM.</span></p> <p class=MsoNormal><span style="line-height:14px">C:\Program Files (x86)\NewTek\LightWave 3D 9\Config\lw9.cfg controls the number of threads per core in a server.  set </span></p> <p class=MsoNormal><span style="line-height:14px"><strong>RenderThreads 0</strong> when submitting per node, all the server cores will work to process each frame together using 2GB of RAM total.  </span></p> <p class=MsoNormal><span style="line-height:14px"><strong>RenderThreads 1</strong> when submitting per core, each server core will process its own frame using 2GB of RAM.</span></p> <p class=MsoNormal><span style="line-height:14px">We found on a dual socket, 8 core server (total 8 cores 2x4) that the ideal configuration was to have 16GB of RAM, allowing each core to use the full 2GB of RAM was 40% faster than the same job run on the same server with 4GB of RAM.  2GB RAM per thread, configure per core was the optimum config in our testing of comparisions submitting jobs per core, per socket or per node with different amounts of RAM on a 64BIT HPCC 2008, using the 32Bit version of Lightwave.  When RAM was limited, jobs submitted per node outperformed jobs submitted per core because the jobs were RAM starved.  On a 16core server with 16GB a RAM a job submitted per core to 8 cores outperformed the same job per core submitted to all 16 cores.</span></p> <p class=MsoNormal><span style="line-height:14px"><br/></span></p> <p> </p>© 2009 Microsoft Corporation. All rights reserved.Wed, 10 Jun 2009 20:31:45 Zc804253e-f844-44f7-b92b-ca17bb5c7c90http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#c804253e-f844-44f7-b92b-ca17bb5c7c90http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#c804253e-f844-44f7-b92b-ca17bb5c7c90Andy King - Pittsburghhttp://social.microsoft.com/Profile/en-US/?user=Andy%20King%20-%20PittsburghDirections to submit a NewTEK Lightwave rendering job to High Performance Cluster:<p class=MsoNormal style="line-height:normal"><span style="font-family:Arial;color:#000080;font-size:small"><span style="font-size:13px"> </span></span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">On the client</span></strong><strong></strong></p> <ol type=1> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">From the Lightwave application, from the file menu choose package scene.  You can choose to save the scene to a folder (that will be the &quot;project name&quot; you are working on.)  The name of the folder can have NO_SPACES in that name.  Use underscores instead if you need spaces.  </span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">The packaged scene will have 3 subfolders, Images, Objects and Scenes.</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">In the scenes subfolder, it is required that the scene file (*.lws) is setup to output to <strong>z:\%projectname%</strong> where %projectname% is the name of the folder you packaged your scene to.  So, if you packaged the scene to a folder name &quot;MyRender&quot; for example, the scene file needs to be configured to output to z:\MyRender\.  If this path is not set properly, you will not get output (though the rendering will occur).<span>  </span>Specifically, the line [SaveRGBImagesPrefix Z:\MyRender\Output_File_Name_1].<span>  </span>With the line in the scene file, the images resulting from the parametric sweep will be save to z:\MyRender\Output_File_Name_1.img through z:\MyRender\Output_File_Name_n.img.</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Copy the Lightwave scene you just packaged to the content folder on the cluster server.  You will copy the top folder with the (3) subfolders. To do that:</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Map a drive (L:) to <span style="text-decoration:underline"><span style="color:blue"><a>\\headnode\LightWave</a></span></span></span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">Navigate to (<a>L:\Content</a>) and Copy your &quot;Project Name&quot; folder to that location.  (MyRender) is an example of what will be copied to the remote server.<span>  </span>So there will be l:\content\MyRender with the (subfolders)</span></li> <li class=MsoNormal style="line-height:normal;tab-stops:list .5in"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'">The output folder on Z: needs to be created / on the headnode.<span>  </span>In the example above, the output folder that needs to be created is z:\myrender</span></li> </ol> <p class=MsoNormal style="line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">On the headnode of the HPCC</span></strong><strong></strong></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">The program NewTEK Lightwave is installed on the headnode of the cluster.<span>  </span>The client needs a dongle to run, the HPCC members/headnode do not need a dongle to run the command line render engine.</span></p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>2.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">&quot;C:\Program Files (x86)\NewTek\LightWave 3D 9&quot; is shared as “Lightwave”</span></p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>3.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">A disk array on the head node with an output folder is shared as “output.”</span></p> <p class=MsoListParagraphCxSpLast style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>4.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">Create a batchfile submit.bat as below</span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>net use L: \\headnode\lightwave</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>net use Z: \\headnode\output</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>cd L:\</strong><strong></strong></span></p> <p class=MsoNormal style="margin-bottom:.0001pt;line-height:normal"><span style="font-size:10.0pt;font-family:'Arial','sans-serif'"><strong>L:\programs\lwsn.exe -3 -c&quot;L:\config\lw9.cfg&quot; -d&quot;l:\content\%1&quot; &quot;L:\content\%1\scenes\%2&quot; %3 %4 1</strong></span></p> <p class=MsoListParagraphCxSpFirst><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoListParagraphCxSpLast style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>5.<span style="font:7.0pt &quot;Times New Roman&quot;">     </span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">In the job manager, Create a new job.<span>  </span>Add a new parametric sweep.<span>  </span>The task for the parametric sweep, the task for the parametric sweep is </span></p> <p class=MsoNormal><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">[<strong>\\headnode\lightwave\submit.bat MyRender ScenFile_in_MyRender.lws * *</strong>]</span></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span>6.<span style="font:7.0pt &quot;Times New Roman&quot;">     Where %MyRender% is the name of the subfolder of the schene you packages in the example above, and %scenefile_inMyRender is the name of the scene file in the scenes subfolder you are using.</span></span></span></p> <p class=MsoListParagraphCxSpFirst style="text-indent:-.25in"><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"><span></span></span><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">SuSubmit the job.</span></p> <p class=MsoListParagraphCxSpLast><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'"> </span></p> <p class=MsoNormal style="line-height:normal"><strong><span style="font-size:10.0pt;font-family:'Arial','sans-serif';color:navy">Performance Considerations</span></strong><strong></strong></p> <p class=MsoNormal><span style="font-size:10.0pt;line-height:115%;font-family:'Arial','sans-serif'">For the 32bit version of lightwave on a 64bit cluster (what we are running on) each thread appears limited/will use up to 2GB of RAM.</span></p> <p class=MsoNormal><span style="line-height:14px">C:\Program Files (x86)\NewTek\LightWave 3D 9\Config\lw9.cfg controls the number of threads per core in a server.  set </span></p> <p class=MsoNormal><span style="line-height:14px"><strong>RenderThreads 0</strong> when submitting per node, all the server cores will work to process each frame together using 2GB of RAM total.  </span></p> <p class=MsoNormal><span style="line-height:14px"><strong>RenderThreads 1</strong> when submitting per core, each server core will process its own frame using 2GB of RAM.</span></p> <p class=MsoNormal><span style="line-height:14px">We found on a dual socket, 8 core server (total 8 cores 2x4) that the ideal configuration was to have 16GB of RAM, allowing each core to use the full 2GB of RAM was 40% faster than the same job run on the same server with 4GB of RAM.  2GB RAM per thread, configure per core was the optimum config in our testing of comparisions submitting jobs per core, per socket or per node with different amounts of RAM on a 64BIT HPCC 2008, using the 32Bit version of Lightwave.  When RAM was limited, jobs submitted per node outperformed jobs submitted per core because the jobs were RAM starved.  On a 16core server with 16GB a RAM a job submitted per core to 8 cores outperformed the same job per core submitted to all 16 cores.</span></p> <p class=MsoNormal><span style="line-height:14px"><br/></span></p> <p> </p>Tue, 05 May 2009 16:34:38 Z2009-05-05T17:41:08Zhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#2f03bfa8-804e-4dc4-8550-acd5c70ba3b4http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#2f03bfa8-804e-4dc4-8550-acd5c70ba3b4summer glauhttp://social.microsoft.com/Profile/en-US/?user=summer%20glauDirections to submit a NewTEK Lightwave rendering job to High Performance Cluster:<blockquote> <p class=MsoNormal style="line-height:normal"><span style="font-family:Arial;color:#000080;font-size:small"><span style="font-size:13px"> </span></span></p> <p class=MsoNormal style="line-height:normal"><span style="font-family:Arial;color:#000080;font-size:small"><span style="font-size:13px"><strong>I am looking into setting up a render server for Lightwave, and i was wondering if it will use a GPU rather than just the CPU. Specifically, I want to know if i should buy an NVIDIA Tesla.</strong></span></span></p> </blockquote>Wed, 27 May 2009 01:37:14 Z2009-05-27T01:37:14Zhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#d604d106-86fb-451c-91f3-42e68ad2d0c9http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/c804253e-f844-44f7-b92b-ca17bb5c7c90#d604d106-86fb-451c-91f3-42e68ad2d0c9Andy King - Pittsburghhttp://social.microsoft.com/Profile/en-US/?user=Andy%20King%20-%20PittsburghDirections to submit a NewTEK Lightwave rendering job to High Performance Cluster:We looked at that.  On the lightwave site there were responses indicating it was not supported... though it would be really cool if it was.Wed, 10 Jun 2009 20:31:45 Z2009-06-10T20:31:45Z