Open SandUhrGucker opened 4 years ago
This was very helpful! Thanks a lot!
I am having issue in installing Openblas on doing this command: make NO_AFFINITY=1 USE_OPENMP=1 I get the error in the end:
END OF TESTS make[1]: Leaving directory '/home/admin/usr/local/OpenBLAS/ctest' make[1]: Entering directory '/home/admin/usr/local/OpenBLAS/exports' cc -O2 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.11.dev\" -msse3 -mssse3 -msse4.1 -march=skylake-avx512 -mavx2 -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -shared -o ../libopenblas_skylakexp-r0.3.11.dev.so \ -Wl,--whole-archive ../libopenblas_skylakexp-r0.3.11.dev.a -Wl,--no-whole-archive \ -Wl,-soname,libopenblas.so.0 -lm -lpthread -lgfortran -lm -lpthread -lgfortran /usr/bin/ld: cannot find -lgfortran collect2: error: ld returned 1 exit status make[1]: *** [Makefile:181: ../libopenblas_skylakexp-r0.3.11.dev.so] Error 1 make[1]: Leaving directory '/home/admin/usr/local/OpenBLAS/exports' make: *** [Makefile:116: shared] Error 2
10 sudo chmod +x NVIDIA-Linux-x86_64-440.59.run 11 sudo ./NVIDIA-Linux-x86_64-440.59.run 12 sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" 13 sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf" 14 cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf 15 sudo update-initramfs -u 16 sudo reboot
17 sudo apt-get update 19 cd Downloads/ 20 ls -l
install cuda, cudunn, nccl
21 sudo ./NVIDIA-Linux-x86_64-440.59.run 24 sudo dpkg -i cuda-repo-ubuntu1804-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb 25 sudo apt-key add /var/cuda-repo-10-1-local-10.1.243-418.87.00/7fa2af80.pub 26 sudo dpkg -i cuda-repo-ubuntu1804-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb 27 sudo dpkg -i libcudnn7_7.6.5.32-1+cuda10.1_amd64.deb 28 sudo dpkg -i libcudnn7-dev_7.6.5.32-1+cuda10.1_amd64.deb 29 sudo dpkg -i libcudnn7-doc_7.6.5.32-1+cuda10.1_amd64.deb 30 sudo dpkg -i nccl-repo-ubuntu1804-2.5.6-ga-cuda10.1_1-1_amd64.deb sudo apt-get update sudo apt-get install cuda