Houdini Afanasy Setup
CGRU and Afanasy must be setuped before.
To do this you can source setup.sh script in CGRU folder.
Afanasy houdini operator library located in afanasy/plugins/houdini directory.
You can add it automatically by adding the folder to HOUDINI_OTLSCAN_PATH variable.
Also you need to point PYTHONPATH to the folder too, to import Afafansy submission script.
Houdini setup example:
#!/bin/bash
# Setup CGRU houdini scripts location:
export HOUDINI_CGRU_PATH=$CGRU_LOCATION/plugins/houdini
# Set Afanasy houdini scripts and otls location:
export HOUDINI_AF_PATH=$AF_ROOT/plugins/houdini
# Set Python path to afanasy submission script:
export PYTHONPATH=$HOUDINI_AF_PATH:$PYTHONPATH
# Define OTL scan path:
HOUDINI_AF_OTLSCAN_PATH=$HIH/otls:$HOUDINI_AF_PATH:$HH/otls
# Create or add to exist OTL scan path:
if [ "$HOUDINI_OTLSCAN_PATH" != "" ]; then
export HOUDINI_OTLSCAN_PATH="${HOUDINI_AF_OTLSCAN_PATH}:${HOUDINI_OTLSCAN_PATH}"
else
export HOUDINI_OTLSCAN_PATH=$HOUDINI_AF_OTLSCAN_PATH
fi
|
Setup example is located in cgru/examples/houdini:
MS Windows script example is also provided, it do the same.
|