Page 1 of 1

How to separate render job to a specified render machines

Posted: Mon May 11, 2020 7:53 am
by ramdhandwi
Hello,

I am not a programmer, but I use Afanasy frequently.

Now, I am facing new problem. I have 5 fast computers to render and 10 slow computers. I want to set fileA (mostly environments) for faster computers, and fileB (characters and props only) for slow computers. Is it doable to do such things?
I tried to use host mask, but I don't find anywhere to set the computer host. It would be helpful to know how to set this up.

Thanks.

Re: How to separate render job to a specified render machines

Posted: Mon May 11, 2020 10:01 am
by timurhai
Hi!

You can set it during job construction, via JSON protocol, within GUI.
http://cgru.info/afanasy/job#job_hosts_mask

ps
Remember that hosts mask is a regular expression.

Re: How to separate render job to a specified render machines

Posted: Tue May 12, 2020 10:11 am
by ramdhandwi
Hi Timur, thank you very much.

It turns out, I made a mistake when naming the computers, I have the same name for all the fast computers. So when I use "Hosts Mask", afanasy didn't recognize it. So... I go to my server and change the name of my renderer by going to the "c:\temp\afanasy\renders\0". all the renderer data are located there. I change it manually one by one. and then after that, I can use the "hosts mask" again.

now, I can submit a job and also assign which renderer is going to do it by grouping them by name.

Afanasy is awesome! thanks again.