运行pyscenic grn又报错,distributed.worker - ERROR - Failed to communicate with scheduler during heartbeat
在服务器上运行pyscenic grn,又发生了报错,不知道问题又出在哪里了
(pyscenic) **@bio:~/Project/wxx$ pyscenic grn --num_workers 20 \
> --sparse \
> --method grnboost2 \
> --output ${project}.sce.adj.csv \
> $expression_mtx \
2023-01-03 17:46:57,864 - pyscenic.cli.pyscenic - INFO - Loading expression matrix.
2023-01-03 17:46:59,895 - pyscenic.cli.pyscenic - INFO - Inferring regulatory networks.
/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use.
Perhaps you already have a cluster running?
Hosting the HTTP server on port 39081 instead
warnings.warn(
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
preparing dask client
parsing input
creating dask graph
20 partitions
computing dask graph
not shutting down client, client was created externally
finished
2023-01-03 18:02:19,869 - distributed.worker - ERROR - Failed to communicate with scheduler during heartbeat.
Traceback (most recent call last):
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/comm/tcp.py", line 225, in read
frames_nbytes = await stream.read_bytes(fmt_size)
tornado.iostream.StreamClosedError: Stream is closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/worker.py", line 1215, in heartbeat
response = await retry_operation(
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/utils_comm.py", line 400, in retry_operation
return await retry(
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/utils_comm.py", line 385, in retry
return await coro()
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/core.py", line 1221, in send_recv_from_rpc
return await send_recv(comm=comm, op=key, **kwargs)
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/core.py", line 986, in send_recv
response = await comm.read(deserializers=deserializers)
File "/Data/*/User/*/anaconda3/envs/pyscenic/lib/python3.9/site-packages/distributed/comm/tcp.py", line 241, in read