Submit Deadline job - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Submit Deadline job (/thread-2312.html) |
Submit Deadline job - Oleksiak - 03-23-2021 Hi I am trying to send "export particles" to deadline but I get an error "Job Submission FAILED. Deadline not detected" 3ds max 2020 Deadline 10 tyFlow v0.16113 Do you know what the problem could be? I would like to make several versions of the simulation and run them on computers on a deadline - is it possible? greetings T_O RE: Submit Deadline job - tyFlow - 03-23-2021 tyFlow uses the Thinkbox-provided path retrieval method, which looks for the system environment variable called "DEADLINE_PATH" in order to find where the Deadline repository exists. Inside that directory it also accesses the files "deadlinecommand.exe" and "deadlinecommandbg.exe" so those files must also exist in that root path. Please make sure your system env vars are configured correctly to point to the proper Deadline location. RE: Submit Deadline job - tyFlow - 03-23-2021 Correction: "DEADLINE_PATH" should point to the deadline bin folder, not the repo. RE: Submit Deadline job - tyFlow - 03-23-2021 Here is the script tyFlow uses to find Deadline. Perhaps it can help you debug your situation: Code: fn tf_waitForCommandToComplete params timeOutInSec outputFile exitCodeFile = "getDeadlineNetworkRoot()" returns a string which is the network path of your deadline repo. Try running that script and see if the result you get is correct. RE: Submit Deadline job - Oleksiak - 03-23-2021 Thanks for your help and quick reply. Unfortunately, the script you provided does not work. It only pops up: tf_waitForCommandToComplete () getDeadlineNetworkRoot () "" RE: Submit Deadline job - tyFlow - 03-23-2021 Interesting...try this version...it prints out a bunch of debug text to the listener that will hopefully allow us to track down where it's going wrong on your system: Code: fn tf_waitForCommandToComplete params timeOutInSec outputFile exitCodeFile = RE: Submit Deadline job - Oleksiak - 03-23-2021 Thanks, something like this came up: "exitCodeFile successfully cleared" "C: \ Program Files \ Thinkbox \ Deadline10 \ bin \ deadlinecommand.exe" "... found" "C: \ Program Files \ Thinkbox \ Deadline10 \ bin \ deadlinecommandbg.exe" "... found" "Launching command: C: \ Program Files \ Thinkbox \ Deadline10 \ bin \ deadlinecommandbg.exe: -outputfiles" C: \ Users \ d345a \ AppData \ Local \ Temp \ submitOutput.txt "" C: \ Users \ d345a \ AppData \ Local \ Temp \ submitExitCode.txt "-getrepositoryroot" " Waiting for response ... " "... exitCodeFile found" "Result: 0" " " "... result file found" Our IT contacted you and informed you that our deadline repository is not stored locally but on the server. The question is whether it can be changed somehow so that Tyflow looks for the repository elsewhere. RE: Submit Deadline job - tyFlow - 03-23-2021 Repo being on a server is fine....but the issue seems to be that deadlinecommandbg.exe is not returning the repo location. That is a Thinkbox-provided exe that can be used to query Deadline setup info. So the fact that it's returning an empty string means something in your Deadline configuration is incorrect. You'll have to contact Thinkbox for further info. To confirm, run the following line from the windows command prompt: Code: "C:\Program Files\Thinkbox\Deadline10\bin\deadlinecommandbg.exe" -outputfiles "C:\Users\d345a\AppData\Local\Temp\submitOutput.txt" "C:\Users\d345a\AppData\Local\Temp\submitExitCode.txt" -getrepositoryroot Then look at the "submitOutput.txt" file that is created. Assuming the command completes successfully from the command prompt, the "submitOutput.txt" file should contain the network path to your Deadline repo. If it does not, then it's a Deadline setup issue and you'll have to contact Thinkbox about it. If it does contain the root, then let me know and we can go from there. RE: Submit Deadline job - Oleksiak - 03-25-2021 thanks, I checked the script and the files are empty. I will repeat the question to be sure that we are talking about the same: is Tyflow able to send simulations to the deadline? so we have several Tyflow in the scene and click on the tyflow right mouse button> utilities> export all (daedline)> type: tycache Will each tycache then be computed by another computer in a deadline? RE: Submit Deadline job - tyFlow - 03-25-2021 Yes, that's the purpose of that function. RE: Submit Deadline job - Oleksiak - 03-26-2021 thanks for the help ! Everything works. Question: Is it possible to do an option in Tycache that will allow you to generate several tycaches with different settings? Something like houdini ... That's how I see it: - next to the options that can be edited in the operators, there is a field to mark that you want to randomize the parameter - a field with this parameter appears in the tycache and next to it the range of values from which the randomization will be taken - in the tycache there is a field to select the number of randomization / tyflow version So when we click "submit deadline job" a tyflow with randomized parameters is generated and sent to the deadline, then the next tyflow is generated with new parameters .... and as many times as we want. just asking ... |