PatWie / cluster-smi

nvidia-smi but for an entire GPU cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[error] build cluster-smi-router.go config.go

andrewssobral opened this issue · comments

Hi again,
Do you know why it happens?

# go build cluster-smi-router.go config.go
# command-line-arguments
./cluster-smi-router.go:81:48: cannot use router_socket (type *"github.com/pebbe/zmq4".Socket) as type *"github.com/patwie/cluster-smi/vendor/github.com/pebbe/zmq4".Socket in argument to messaging.ReceiveMultipartMessage
./cluster-smi-router.go:97:33: cannot use router_socket (type *"github.com/pebbe/zmq4".Socket) as type *"github.com/patwie/cluster-smi/vendor/github.com/pebbe/zmq4".Socket in argument to messaging.SendMultipartMessage

my go version is:

go version go1.13 linux/amd64

I fix the same problem by removing go/src/github.com/patwie/cluster-smi/vendor.
You may resolve this, but if not, I hope it helps.