Rest API - Set CPU count

Hi @jriise,

Here is a code sample that shows how to submit a study to Pollination using the API:

The daylighting recipes have an input for cpu_count that can be used to set the number of CPUs for the run. See these lines in the code.

recipe_inputs = {
    'model': None,
    'model_id': None,
    'min-sensor-count': 1000,
    'cpu-count': 20 # you can set the number of CPUs here
}

Let me know if you have any other questions.

1 Like