mumax / 3

GPU-accelerated micromagnetic simulator
Other
457 stars 151 forks source link

libcufft.so.7.5: cannot open shared object file: No such file or directory #143

Closed xshengjie closed 6 years ago

xshengjie commented 6 years ago

1, the platform is centos6.9, 2,I have installed cuda7.5.18

nvcc -V Cuda compilation tools, release 7.5, V7.5.17

3,have edit the environment variables

vim /etc/profile export PATH=$PATH:/usr/local/go/bin export GOPATH=/home/customer/gopath export PATH=/usr/local/cuda-7.5/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH source /etc/profile

4,Follow the tutorial

go install cd src ./mumax I got one mistake ./mumax3: error while loading shared libraries: libcufft.so.7.5: cannot open shared object file: No such file or directory

But this document does exist in /usr/local/cuda-7.5/lib64/libcufft.so.7.5 Is there something wrong? I do not know what to do.

xshengjie commented 6 years ago

cat /etc/ld.so.conf

include ld.so.conf.d/*.conf

echo "/usr/local/cuda-7.5/lib64" >> /etc/ld.so.conf

ldconfig

Sorry to bother, I have found a solution。