- This topic has 1 reply, 2 voices, and was last updated 18 years, 6 months ago by
Leonardo Bernardini.
-
Posted in: Templates
-
5th March 2007 at 3:53 pm #14161
I’v built a new template from “mr_uid15.template”, but it just didn’t work. I’m sure I copied this one to the render client and dispatcher,and I “soft restart” the render client, and even the dispatcher, but all I got was only a red dot, what was wrong with it….Can any one help…Thanks a lot!
my template:
# JDL – Job Description language
# Template file for Muster 5.0, applies to Mental ray multifile render
#
# Basic template declaration, specify job string identifier and unique IDDECLARE TEMPLATE
{SET TEMPLATE_NAME “Mental Ray Standalone – MultiFile”
SET TEMPLATE_DESC “Mental Ray Multi file rendering”
SET TEMPLATE_UID 25
SET TEMPLATE_LOGIC MULTIFRAME
SET DEFAULT_PRIORITY 1
SET DEFAULT_POOL “Entire Farm”
SET MAXIMUM_LICENSES 0
SET DELAY_GROUP “Global”
SET DELAY_TIME 0
}DECLARE MULTIFRAME
{
SET ENABLE_FRAME_CHECK 1
}DECLARE SUBMISSION
{
SET ENABLE_ADDITIONAL_FLAGS 1ADD MRFILENAME FILE_SELECTOR “” “Mental ray file list prefix” “Specify the mental ray file prefix, use # to substitute frame number” NOTACTIVABLE MANDATORY SUBST *.*
ADD MRRENDERPATH FOLDER_SELECTOR “” “Frame destination” “Specify the alternative rendering folder” ACTIVABLE MANDATORY SUBST
ADD MRSTARTFRAME INTEGER_INPUT “1” “Start frame” “Specify the starting frame for the rendering job” NOTACTIVABLE MANDATORY NOSUBST
ADD MRENDFRAME INTEGER_INPUT “1” “End frame” “Specify the ending frame for the rendering job” NOTACTIVABLE MANDATORY NOSUBST
ADD MRBYFRAME INTEGER_INPUT “1” “By frame” “Specify the frame step for the rendering job” NOTACTIVABLE MANDATORY NOSUBSTSET BUILDMRFILE FILE_BUILDER MRFILENAME MRFILENAME 1 “#”
# Map fields to Muster internal start/end/by frame values
MAP start_frame MRSTARTFRAME
MAP end_frame MRENDFRAME
MAP by_frame MRBYFRAME
MAP job_file MRFILENAME
MAP output_folder MRRENDERPATH}
DECLARE SUBMISSION_ADDFLAGS_GUI
{
DECLARE SUBMS_ADDFLAGS
{
SET GROUP_NAME “Custom flags”
ADD CUSTOM_FLAGS STRING_INPUT “” “Custom flags:” “Specify additional flags to concatenate to the command line” ACTIVABLE
}SET ADDFLAGS_COMMAND_LINE “%ISACTIVE(CUSTOM_FLAGS (%ATTR(CUSTOM_FLAGS) ))”
}DECLARE ENGINE_WIN
{
SET PLATFORM_ENABLED 1
SET ENABLE_ERROR_CHECK 1
SET ENABLED_BY_DEFAULT 1
SET FRAMESFLOATS 0
SET COMMAND_LINE “-L “%ATTR(MRLIBPATH)” -I “%ATTR(MRINCPATH)” %ATTR(ADD_FLAGS) %ISACTIVE(output_folder (-file_dir “%ATTR(output_folder)”)) %FILELIST(job_file)”
SET EXECUTABLE “%ATTR(MREXECUTABLE)”
SET STARTING_FOLDER “%ATTR(MRHOME)”
SET ENVIRONMENT_BLOCK DERIVED
SET DETECTION_LOGIC PROCDECLARE CONFIGURABLE_TAGS
{
ADD MREXECUTABLE FILE_SELECTOR “C:\Program Files\mental images\mental ray\ray.exe” “Mental ray executable” “Specify the softimage render executable” NOTACTIVABLE MANDATORY *.exe
ADD MRHOME FOLDER_SELECTOR “C:\Program Files\mental images\mental ray” “Location of Mental ray installation” “Specify the starting folder for the render process” NOTACTIVABLE MANDATORY
ADD MRLIBPATH FOLDER_SELECTOR “C:\Program Files\mental images\mental ray\shaders” “Location of Mental ray lib directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY
ADD MRINCPATH FOLDER_SELECTOR “C:\Program Files\mental images\mental ray\include” “Location of Mental ray include directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY}
DECLARE CUSTOM_ENVIRONMENT
{SET MI_ROOT %ATTR(MRHOME)
SET MI_RAY3_SERVICE mi-raysatxsi5_0
SET PATH %MI_ROOT%;%PATH%
}
}DECLARE ENGINE_MAC
{SET PLATFORM_ENABLED 1
SET ENABLE_ERROR_CHECK 1
SET ENABLED_BY_DEFAULT 1
SET FRAMESFLOATS 0
SET COMMAND_LINE “-L “%ATTR(MRLIBPATH)” -I “%ATTR(MRINCPATH)” %ATTR(ADD_FLAGS) %ISACTIVE(output_folder (-file_dir “%ATTR(output_folder)”)) %FILELIST(job_file)”
SET EXECUTABLE “%ATTR(MREXECUTABLE)”
SET STARTING_FOLDER “%ATTR(MRHOME)”
SET ENVIRONMENT_BLOCK DERIVED
SET DETECTION_LOGIC PROCDECLARE CONFIGURABLE_TAGS
{
ADD MREXECUTABLE FILE_SELECTOR “/usr/aw/mentalray3.4/ray.exe” “Mental ray executable” “Specify the softimage render executable” NOTACTIVABLE MANDATORY *.exe
ADD MRHOME FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4” “Location of Mental ray installation” “Specify the starting folder for the render process” NOTACTIVABLE MANDATORY
ADD MRLIBPATH FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4/lib” “Location of Mental ray lib directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY
ADD MRINCPATH FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4/include” “Location of Mental ray include directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY}
DECLARE CUSTOM_ENVIRONMENT
{SET MI_ROOT %ATTR(MRHOME)
SET MI_RAY3_SERVICE mi-raysatxsi5_0
SET PATH %MI_ROOT%;%PATH%
}
}DECLARE ENGINE_LINUX
{SET PLATFORM_ENABLED 1
SET ENABLE_ERROR_CHECK 1
SET ENABLED_BY_DEFAULT 1
SET FRAMESFLOATS 0
SET COMMAND_LINE “-L “%ATTR(MRLIBPATH)” -I “%ATTR(MRINCPATH)” %ATTR(ADD_FLAGS) %ISACTIVE(output_folder (-file_dir “%ATTR(output_folder)”)) %FILELIST(job_file)”
SET EXECUTABLE “%ATTR(MREXECUTABLE)”
SET STARTING_FOLDER “%ATTR(MRHOME)”
SET ENVIRONMENT_BLOCK DERIVED
SET DETECTION_LOGIC PROCDECLARE CONFIGURABLE_TAGS
{
ADD MREXECUTABLE FILE_SELECTOR “/usr/aw/mentalray3.4/ray.exe” “Mental ray executable” “Specify the softimage render executable” NOTACTIVABLE MANDATORY *.exe
ADD MRHOME FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4” “Location of Mental ray installation” “Specify the starting folder for the render process” NOTACTIVABLE MANDATORY
ADD MRLIBPATH FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4/lib” “Location of Mental ray lib directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY
ADD MRINCPATH FOLDER_SELECTOR “/usr/aw/mentalray3.4/mentalray3.4/include” “Location of Mental ray include directory” “Specify the mental ray containing libraries” NOTACTIVABLE MANDATORY}
DECLARE CUSTOM_ENVIRONMENT
{SET MI_ROOT %ATTR(MRHOME)
SET MI_RAY3_SERVICE mi-raysatxsi5_0
SET PATH %MI_ROOT%;%PATH%
}
}DECLARE ERROR
{
ADD WARNING “warning”
ADD ERROR “error” “Error”
ADD ERROR_RETCODE -1
ADD WARNING_RETCODE 1
ADD DEFAULT_RETCODE 0
}17th March 2007 at 8:18 pm #14630If you get a red dot, there’s an error reported by a renderclient. Take particular attention, when you publish a new template, it has a new template ID, it means that you’ve to reconfigure the PATHS for that particular template on each render client.
-
You must be logged in to reply to this topic.