I am using dask_jobqueue.SGECluster()
and when I submit jobs to the grid they are all listed as dask-worker
. I want to have different names for each submitted job.
Here is one example:
futures = []
for i in range(1,10):
res = client.submit(slow_pow, i,2)
futures.append(res)
[future.result() for future in as_completed(futures)]
All 10 jobs appear with name dask-worker
when checking their status with qsub
.
I have tried adding client.adapt(job_name=f'job{i}')
within the loop, but no success, name still dask-worker
.
Any hints?