Timucin Ozger

tricecold

About Me

Expertise
Technical Director
Location
Canada

Connect

My Tutorials

obj-image Intermediate
VFX Studio Oriented Training

Recent Forum Posts

Do pyro sims benefit from Dual GPU- Cards ? Nov. 28, 2018, 12:22 p.m.

How about targeting microsolvers to use separate cards. Would that cause double the vram usage yet faster solves. Can we tag microsolvers for which GPUs to pick.

capturing hython terminal output running inside a async multiprocess Oct. 22, 2018, 10:58 p.m.

Hi; How can I capture the terminal output of a hython file that runs inside an async process.

if __name__ == '__main__':
    pool = multiprocessing.Pool(max_number_processes)
    
        
    for wedge in range(0,total_tasks):
        pool.apply_async(cacheHoudini,args=(wedge,))
        

    pool.close() # After all threads started we close the pool
    pool.join() # And wait until all threads are done
    del pool

above process creates several processes for running wedges , I am not sure how to create a log per PID .

thanx for the help

multiprocessing.pool and Hython Sept. 22, 2018, 10:05 p.m.

Hello, I have a question, regarding hython

I am making my own wedger, which are a few lines of python really. it works fine, but i am trying to use multiprocessing to split loops in batches. does anybody have any idea how to adjust this code, thanks

below code opens the file and changes the scale from 0 to 24 times and writes it out to file.
lets say i want to run these in blocks of 4 and finally the remainder.



hou.hipFile.load("filename.hiplc")
wedger = hou.parm('/obj/geo1/transform1/scale')
cache = hou.node('/out/cacheme')

#####WEDGE
for wedge in range(0,24):
    print wedge
    wedger.set(wedge)
    cache.render(verbose=True)