Difference between revisions of "Blender"

From UFRC
Jump to navigation Jump to search
(New page: ==Description== ==Location== /apps/blender/2.44 ==Sample Script== <pre> #!/bin/csh -f # #PBS -N tux #PBS -r n #PBS -o tux.out #PBS -e tux.err #PBS -j oe #PBS -m abe #PBS -M <ADD EMAIL ADD...)
 
 
(40 intermediate revisions by 8 users not shown)
Line 1: Line 1:
==Description==
+
[[Category:Software]][[Category:Graphics]]
==Location==
+
{|<!--CONFIGURATION: REQUIRED-->
/apps/blender/2.44
+
|{{#vardefine:app|Blender}}
==Sample Script==
+
|{{#vardefine:url|http://www.blender.org/}}
<pre>
+
<!--CONFIGURATION: OPTIONAL (1=ON)-->
#!/bin/csh -f
+
|{{#vardefine:exe|1}} <!--RUNNING -->
#
+
|{{#vardefine:conf|}} <!--CONFIGS-->
#PBS -N tux
+
|{{#vardefine:pbs|}} <!--PBS SCRIPTS-->
#PBS -r n
+
|{{#vardefine:policy|}} <!--POLICY-->
#PBS -o tux.out
+
|{{#vardefine:testing|}} <!--TESTING/PROFILING-->
#PBS -e tux.err
+
|{{#vardefine:faq|}} <!--FAQ-->
#PBS -j oe
+
|{{#vardefine:citation|}} <!--CITATION-->
#PBS -m abe
+
|{{#vardefine:installation|}} <!--INSTALLATION-->
#PBS -M <ADD EMAIL ADDRESS HERE!>
+
|{{#vardefine:tutorial|1}} <!--TUTORIAL-->
#PBS -q submit@iogw2.local
+
|}
#PBS -l nodes=1:ppn=2
+
<!--BODY-->
#PBS -l pmem=400mb
+
<!--Description-->
#PBS -l walltime=2:00:00
+
{{#if: {{#var: url}}|
 +
{{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}}
  
 +
3D graphics rendering
  
set EXE = /apps/blender/2.44/blender
+
<!--Modules-->
 
+
==Environment Modules==
cd /home/jka/
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
$EXE -b Tux.blend -f 1 -x 1 -t 2
+
==System Variables==
</pre>
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
Note that you should add your address to the appropriate line in this case. Also note that the walltime has been set to 2 hours. You will have to figure out through trial and error what the most appropriate amount of time for a rendering should be. In this particular example:
+
<!--Additional-->
* Blender will render the first frame of either a static or dynamic animation.  
+
{{#if: {{#var: exe}}|==Additional Information==
* It will use two threads to perform this operation, hence defining that PBS should use two processors on a single node.
+
* Note: The server hardware that this will run on does not have any audio hardware built in, nor would it be audible since the hardware is installed in a separate room. As such, the blender command has been aliased so that the "'''-noaudio'''" flag is automatic.
* The output of the frame will be wherever it was defined in the blend file that was originally saved.
+
|}}
 
+
<!--Configuration-->
Setting the proper path for the output in the blend file is '''critical''', as this is a batch based system and you will have no idea which computational node actually does the processing. Be sure to set the output path to a known location in the global filesystem, either /scratch/ufhpc or /home/<username>. The default in linux is to set this to /tmp, which will simply dump the output to that directory on the local computational node, which means you will not get the results.
+
{{#if: {{#var: conf}}|==Configuration==
 +
See the [[{{PAGENAME}}_Configuration]] page for {{#var: app}} configuration details.
 +
|}}
 +
<!--PBS scripts-->
 +
{{#if: {{#var: pbs}}|==PBS Script Examples==
 +
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}}
 +
<!--Policy-->
 +
{{#if: {{#var: policy}}|==Usage Policy==
 +
WRITE USAGE POLICY HERE (perhaps templates for a couple of main licensing schemes can be used)
 +
|}}
 +
<!--Performance-->
 +
{{#if: {{#var: testing}}|==Performance==
 +
DOUBLE_CLICK_TO_WRITE_PERFORMANCE_TESTING_RESULTS_HERE
 +
|}}
 +
<!--Faq-->
 +
{{#if: {{#var: faq}}|==FAQ==
 +
*'''Q:''' **'''A:'''|}}
 +
<!--Citation-->
 +
{{#if: {{#var: citation}}|==Citation==
 +
If you publish research that uses {{#var:app}} you have to cite it as follows:
 +
DOUBLE_CLICK_TO_WRITE_CITATION_HERE
 +
|}}
 +
<!--Installation-->
 +
{{#if: {{#var: installation}}|==Installation==
 +
See the [[{{PAGENAME}}_Install]] page for {{#var: app}} installation notes.|}}
 +
<!--Tutorial-->
 +
{{#if: {{#var: tutorial}}|==Tutorial==
 +
* There are a number of different tutorials on the [http://www.blender.org/support/tutorials/ Blender Tutorial] webpage.
 +
|}}
 +
__NOTOC____NOEDITSECTION__

Latest revision as of 13:03, 15 August 2022

Description

Blender website  

3D graphics rendering

Environment Modules

Run module spider Blender to find out what environment modules are available for this application.

System Variables

  • HPC_BLENDER_DIR - installation directory

Additional Information

  • Note: The server hardware that this will run on does not have any audio hardware built in, nor would it be audible since the hardware is installed in a separate room. As such, the blender command has been aliased so that the "-noaudio" flag is automatic.




Tutorial