pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.17k stars 163 forks source link

# github.com/mumax/3/cuda/cufft ../../cuda/cufft/plan.go:193:16: could not determine kind of name for C.cufftSetCompatibilityMode #136

Closed KwangsooKim closed 6 years ago

KwangsooKim commented 6 years ago

Hello, I got a trouble with installing mumax3 program. I tried to solve by myself like installing with source but it did not work well. Could I get your help?

# uname -r
3.10.0-862.3.3.el7.x86_64

gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Copyright (C) 2015 Free Software Foundation, Inc.
# go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/lib/golang"
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build016037397=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
# go get -u -v -x github.com/mumax/3/cmd/mumax3

cd /root/go/src/github.com/mumax/3
git config remote.origin.url
github.com/mumax/3 (download)
cd /root/go/src/github.com/mumax/3
git pull --ff-only
cd /root/go/src/github.com/mumax/3
git submodule update --init --recursive
cd /root/go/src/github.com/mumax/3
git show-ref
cd /root/go/src/github.com/mumax/3
git submodule update --init --recursive
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
cd /root/go/src/github.com/mumax/3
git config remote.origin.url
WORK=/tmp/go-build142000419
github.com/mumax/3/cuda/cufft
mkdir -p $WORK/github.com/mumax/3/cuda/cufft/_obj/
mkdir -p $WORK/github.com/mumax/3/cuda/
cd /root/go/src/github.com/mumax/3/cuda/cufft
CGO_LDFLAGS="-g" "-O2" "-lcufft" "-L/usr/local/cuda/lib64" "-L/usr/local/cuda/lib" "-L/usr/local/cuda-6.0/lib64" "-L/usr/local/cuda-6.0/lib" "-L/usr/local/cuda-5.5/lib64" "-L/usr/local/cuda-5.5/lib" "-L/usr/local/cuda-5.0/lib64" "-L/usr/local/cuda-5.0/lib" "-L/usr/lib/x86_64-linux-gnu/" "-L/opt/cuda/lib64" "-L/opt/cuda/lib" /usr/lib/golang/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/mumax/3/cuda/cufft/_obj/ -importpath github.com/mumax/3/cuda/cufft -- -I $WORK/github.com/mumax/3/cuda/cufft/_obj/ -g -O2 -I/usr/local/cuda/include/ -I/usr/local/cuda-6.0/include/ -I/usr/local/cuda-5.5/include/ -I/usr/local/cuda-5.0/include/ -I/usr/include -I/opt/cuda/include cgoflags.go mode.go plan.go result.go type.go
# github.com/mumax/3/cuda/cufft
../../cuda/cufft/plan.go:193:16: could not determine kind of name for C.cufftSetCompatibilityMode
KwangsooKim commented 6 years ago

sorry. I posted this wrong place. have a good day