You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to compile mumax3 on Ubuntu. I have followed the installation instructions of "https://github.com/mumax/3", but I have not been lucky:
`cgo-gcc-prolog: In function ‘_cgo_c21ce16ee817_Cfunc_cuDeviceComputeCapability’:
cgo-gcc-prolog:56:2: warning: ‘cuDeviceComputeCapability’ is deprecated [-Wdeprecated-declarations]
In file included from /home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cu/device.go:5:
/usr/local/cuda/include/cuda.h:4195:36: note: declared here
4195 | __CUDA_DEPRECATED CUresult CUDAAPI cuDeviceComputeCapability(int *major, int *minor, CUdevice dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_c21ce16ee817_Cfunc_cuDeviceGetProperties’:
cgo-gcc-prolog:159:2: warning: ‘cuDeviceGetProperties’ is deprecated [-Wdeprecated-declarations]
In file included from /home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cu/device.go:5:
/usr/local/cuda/include/cuda.h:4161:36: note: declared here
4161 | __CUDA_DEPRECATED CUresult CUDAAPI cuDeviceGetProperties(CUdevprop *prop, CUdevice dev);
| ^~~~~~~~~~~~~~~~~~~~~
github.com/mumax/3/cuda/curand
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/curand/generator.go:46:102: identifier "_Ctype_ulonglong" may conflict with identifiers generated by cgo
github.com/mumax/3/cuda/cufft
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:17:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_FFTW_ALL
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:16:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:14:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_NATIVE
`
I have Cuda 11.5 installed (diver version 495.29.05).
thanks
The text was updated successfully, but these errors were encountered:
I have fixed building with modern versions of go, check it out here https://github.com/Artemkth/3 . Warning, build procedure is slightly different from normal mumax3.
Hi,
I have tried to compile mumax3 on Ubuntu. I have followed the installation instructions of "https://github.com/mumax/3", but I have not been lucky:
`cgo-gcc-prolog: In function ‘_cgo_c21ce16ee817_Cfunc_cuDeviceComputeCapability’:
cgo-gcc-prolog:56:2: warning: ‘cuDeviceComputeCapability’ is deprecated [-Wdeprecated-declarations]
In file included from /home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cu/device.go:5:
/usr/local/cuda/include/cuda.h:4195:36: note: declared here
4195 | __CUDA_DEPRECATED CUresult CUDAAPI cuDeviceComputeCapability(int *major, int *minor, CUdevice dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_c21ce16ee817_Cfunc_cuDeviceGetProperties’:
cgo-gcc-prolog:159:2: warning: ‘cuDeviceGetProperties’ is deprecated [-Wdeprecated-declarations]
In file included from /home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cu/device.go:5:
/usr/local/cuda/include/cuda.h:4161:36: note: declared here
4161 | __CUDA_DEPRECATED CUresult CUDAAPI cuDeviceGetProperties(CUdevprop *prop, CUdevice dev);
| ^~~~~~~~~~~~~~~~~~~~~
github.com/mumax/3/cuda/curand
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/curand/generator.go:46:102: identifier "_Ctype_ulonglong" may conflict with identifiers generated by cgo
github.com/mumax/3/cuda/cufft
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:17:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_FFTW_ALL
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:16:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_FFTW_ASYMMETRIC
/home/mike/go/pkg/mod/github.com/mumax/[email protected]+incompatible/cuda/cufft/mode.go:14:52: could not determine kind of name for C.CUFFT_COMPATIBILITY_NATIVE
`
I have Cuda 11.5 installed (diver version 495.29.05).
thanks
The text was updated successfully, but these errors were encountered: