Deadline launcher script hanging....

Hello.

Just testing out deadline on my small home network. I already have 3dsmax on a centralised setup, remapping the user macros, user scripts etc to my file server. Plus using include in the plugins to send everything there.
So far, so good…

Everything is installed fine. I have the macros on the network, launcher and main script, but Deadline is causing me some issues.
When starting max, and watching the shared macros folder, the main script re-creates itself, very slowly, even though the script is already there. This causes max to hang for ages until complete.

Is this something to do with usermacros being remapped to the network? Is there something I can remove from the updater/launcher script that will prevent it rebuilding itself?

Cheers

Tim

Hmm

After rooting around for several hours I found this:

viewtopic.php?f=11&t=3536&p=13603&hilit=slow+script#p13603

A faster stripped down version of the launcher script. This might be what I’m after, so i’ll give that a whirl.

I have no idea what you are talking about :slight_smile:
You are NOT supposed to change any paths in any scripts.
You simply RUN on your workstation the Deadline-SubmitMaxToDeadline.MCR script found in the \Repository\clientSetup\3dsmax\ folder. This creates a local copy in your \UserMacros\ folder of Max and you customize a Toolbar or Menu with it. Then you press the button or select the menu item and all the right scripts will be pulled from the repository and the Submitter (SMTD) will launch.

The link you provided contains an old version of the script from 2010. Those changes are already in the current version shipping with Deadline - the MCR will copy all files locally first, then FileIn() them for faster loading. On my machine, I get

Resolving Network Path: 614ms SMTD_AutoLoadSuccessful = true Loading RegionManipulator.ms: 11ms Loading TileManipulator.ms: 3ms Loading SubmitMaxToDeadline_Functions.ms: 3ms Loading SubmitMaxToDeadline.ms: 2ms Loading SubmitMaxToDeadline_SanityCheck_Private.ms: 3ms Loading SubmitMaxToDeadline_SanityCheck_General.ms: 3ms Loading SubmitMaxToDeadline_SanityCheck.ms: 2ms Total SMTD Launcher Time: 671ms

WARNING:
If you are running Max 2012 without any hotfixes or service packs, SMTD will NOT work due to a MAXScript core error (new text files cannot be opened until a restart).
If you are running Max 2012 with Product Update 6, Deadline will NOT render (Autodesk is working on a hotfix for this).
In both cases, the problem is in the Autodesk code. :slight_smile:

hi bobo, i have sorted this now. I dont really understand it myself!Sorry if it made no sense.

I have mapped the $usermacros in max, back to local machine, and i’m copying all macroscripts to the local machine. rather than keeping them on the file server.
it was like max was in a loop.
loading the launcher from a remote usermacros location, was then causing the submit to deadline.mcr to rebuild itself into a _temp.mcr in that location, eventually replacing itself. even though it already existed.
very weird.
sticking clear of macros on a file server from now! all very confusing!