Accelerad and HB AnnualIrradiance "workers"

Hello all,

I am running the Annual Irradiance recipe using the Python API. I have also setup to run Accelerad. I am curious though what the expected impact of the workers argument is in this case:

# create the settings
    rec_settings = RecipeSettings(folder, workers=workers_)

From what I can tell it certainly changes the runtime for my simulations, but it also seems to be driving the negative values I was detecting earlier this year (and still run into). For instance I can run the same scene with 4 workers and have no negative values, but once I switch to 22 workers I have many using the same parameters (runtime is reduced to 1/5th of 4 workers).

For context I run a 12 core CPU with an RTX card and 64GB of ram.

Thanks!

Hi @justinfmccarty,

When using Accelerad, you should have only one worker. Having multiple workers will cause context switching on the GPU, which will only slow the simulations down.

1 Like

Excellent. Thank you for being so quick.