def METHOD_NAME(clearance_heights, xgaps, Ds, tilts, kwargs):
    # Create client
    scheduler_file = '/scratch/sayala/dask_testing/scheduler.json'
    client = Client(scheduler_file=scheduler_file)
    # Iterate over inputs
    futures = []
    for ch in range (0, len(clearance_heights)):
        clearance_height = clearance_heights[ch]
        for xx in range (0, len(xgaps)):
            xgap = xgaps[xx]
            for tt in range (0, len(tilts)):
                tilt = tilts[tt]
                for dd in range (0, len(Ds)):
                    D = Ds[dd]
                    futures.append(client.submit(simulate_single, clearance_height=clearance_height,
                                                            xgap=xgap, tilt=tilt, D=D, **kwargs))
    # Get results for all simulations
    res = client.gather(futures)
    # Close all dask workers and scheduler
    try:
    	client.shutdown()
    except:
        pass
    # Close client
    client.close()
    res = 'FINISHED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
    return res