I am currently running two workers on two different hosts. When I print the client information, I can see that both workers are successfully connected to the Dask scheduler. I believe I have sourced xrt correctly, but they are still unable to detect any devices when calling client.submit.
This can be successfully executed with the correct output.
for i in range(len(pynq.Device.devices)):
print("{}) {}".format(i, pynq.Device.devices[i].name))

but when running
import platform, os
if len(workers) != 2:
print("Configure your Dask cluster with two workers")
def verify_workers():
import pynq
import subprocess
import os
node_name = platform.node()
device_name = pynq.Device.active_device[0]
return node_name, device_name
worker_0 = client.submit(verify_workers, workers=workers[0], pure=False)
worker_1 = client.submit(verify_workers, workers=workers[1], pure=False)
worker_check = [worker_0.result(), worker_1.result()]
for w in worker_check:
print('Worker name: {} | device name: {}'.format(w[0], w[1]))
It shows error:

I am afraid I do not know how to launch a worker correctly. Now I am running in this way

I would greatly appreciate your guidance on this matter.
I am currently running two workers on two different hosts. When I print the client information, I can see that both workers are successfully connected to the Dask scheduler. I believe I have sourced xrt correctly, but they are still unable to detect any devices when calling client.submit.
This can be successfully executed with the correct output.
but when running
It shows error:

I am afraid I do not know how to launch a worker correctly. Now I am running in this way

I would greatly appreciate your guidance on this matter.