RWTH-ACS / cricket

cricket is a virtualization solution for GPUs
MIT License
150 stars 39 forks source link

Fail to start the provided docker #39

Closed SunZekai-CN closed 11 months ago

SunZekai-CN commented 11 months ago

This is a great project. Thank you for all the contributions. I utilized the Dockerfile under utils folder to build a Docker (only replace “nvidia-driver-NVML-530.30.02” with “nvidia-driver-NVML” for compile) and run it with the following command.

docker build -f Dockerfile -t cricket .
docker run -itd --gpus all --net host --ipc host --name cricket cricket
docker attach cricket

however, after i built cricket with the following command in docker:

git clone https://github.com/RWTH-ACS/cricket.git
cd cricket && git submodule update --init
LOG=INFO make

and start the starting the cricket server via ./bin/cricket-rpc-server, the following errors show up:

welcome to cricket!
+00:00:00.000002 INFO:  using TCP...
+00:00:00.000612 INFO:  listening on port 61869
+00:00:00.000687 ERROR: unable to register (RPC_PROG_PROG, RPC_PROG_VERS).      in cpu-server.c:257

It seems that I failed to start RPC, but there is no problem with the network connection of this docker. Could you please tell me if I started my docker in the wrong way or started the cricket in the wrong way?

Thanks a lot

SunZekai-CN commented 11 months ago

This is a great project. Thank you for all the contributions. I utilized the Dockerfile under utils folder to build a Docker (only replace “nvidia-driver-NVML-530.30.02” with “nvidia-driver-NVML” for compile) and run it with the following command.

docker build -f Dockerfile -t cricket .
docker run -itd --gpus all --net host --ipc host --name cricket cricket
docker attach cricket

however, after i built cricket with the following command in docker:

git clone https://github.com/RWTH-ACS/cricket.git
cd cricket && git submodule update --init
LOG=INFO make

and start the starting the cricket server via ./bin/cricket-rpc-server, the following errors show up:

welcome to cricket!
+00:00:00.000002 INFO:  using TCP...
+00:00:00.000612 INFO:  listening on port 61869
+00:00:00.000687 ERROR: unable to register (RPC_PROG_PROG, RPC_PROG_VERS).      in cpu-server.c:257

It seems that I failed to start RPC, but there is no problem with the network connection of this docker. Could you please tell me if I started my docker in the wrong way or started the cricket in the wrong way?

Thanks a lot

freshduer commented 9 months ago

i run: rpcbind start in shell then ok