PatWie / cluster-smi

nvidia-smi but for an entire GPU cluster
GNU General Public License v3.0
76 stars 18 forks source link

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

Open andrewssobral opened 3 years ago

andrewssobral commented 3 years ago

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
andrewssobral commented 3 years ago

my go version is:

go version go1.13 linux/amd64
dk-hong commented 2 years ago

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.