Created
April 1, 2023 18:06
-
-
Save ekoontz/572891bd79dc1c439b84ea4e17ae34f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ip-172-31-46-147:~/marian/build$ history | |
1 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-system-dev gcc-${{ env.gcc_version }} g++-${{ env.gcc_version }} | |
2 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-system-dev gcc-8 g++-8 | |
3 apt-cache search gcc | |
4 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-system-dev gcc-11 g++-11 | |
5 sudo apt-cache search protobuf-compiler | |
6 sudo apt-cache search protobuf | |
7 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-c-dev protobuf-compiler libboost-system-dev gcc-11 g++-11 | |
8 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-c-dev protobuf-c-compiler libboost-system-dev gcc-11 g++-11 | |
9 sudo apt-get update | |
10 sudo apt-get upgrade | |
11 sudo apt-get install -y libgoogle-perftools-dev libprotobuf-c-dev protobuf-c-compiler libboost-system-dev gcc-11 g++-11 | |
12 wget -qO- "https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB" | sudo apt-key add - | |
13 sudo sh -c "echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list" | |
14 sudo apt-get update -o Dir::Etc::sourcelist="/etc/apt/sources.list.d/intel-mkl.list" | |
15 sudo apt-get install -y --no-install-recommends intel-mkl-64bit-2020.0-088 | |
16 git clone https://github.com/marian-nmt/marian | |
17 cd marian/ | |
18 ls | |
19 ./scripts/ci/install_cuda_ubuntu.sh 11.2 | |
20 sudo apt-get update | |
21 sudo apt-get -y install cuda | |
22 sudo lsmod | |
23 sudo reboot | |
24 sudo lsmod | |
25 history | |
26 sudo dpkg -l | grep intel | |
27 ls | |
28 cd marian/ | |
29 ls | |
30 mkdir build | |
31 CC=/usr/bin/gcc-11 CXX=/usr/bin/g++-11 CUDAHOSTCXX=/usr/bin/g++-11 cmake .. -DBoost_ARCHITECTURE=-x64 -DCMAKE_BUILD_TYPE=Slim -DCOMPILE_CPU=on -DCOMPILE_CUDA=true -DCOMPILE_KEPLER=true -DCOMPILE_MAXWELL=true -DCOMPILE_SERVER=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12 -DUSE_FBGEMM=false -DUSE_SENTENCEPIECE=on -DUSE_STATIC_LIBS=on | |
32 sudo apt install cmake | |
33 CC=/usr/bin/gcc-11 CXX=/usr/bin/g++-11 CUDAHOSTCXX=/usr/bin/g++-11 cmake .. -DBoost_ARCHITECTURE=-x64 -DCMAKE_BUILD_TYPE=Slim -DCOMPILE_CPU=on -DCOMPILE_CUDA=true -DCOMPILE_KEPLER=true -DCOMPILE_MAXWELL=true -DCOMPILE_SERVER=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12 -DUSE_FBGEMM=false -DUSE_SENTENCEPIECE=on -DUSE_STATIC_LIBS=on | |
34 cd build/ | |
35 CC=/usr/bin/gcc-11 CXX=/usr/bin/g++-11 CUDAHOSTCXX=/usr/bin/g++-11 cmake .. -DBoost_ARCHITECTURE=-x64 -DCMAKE_BUILD_TYPE=Slim -DCOMPILE_CPU=on -DCOMPILE_CUDA=true -DCOMPILE_KEPLER=true -DCOMPILE_MAXWELL=true -DCOMPILE_SERVER=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-12 -DUSE_FBGEMM=false -DUSE_SENTENCEPIECE=on -DUSE_STATIC_LIBS=on | |
36 df -h | |
37 make -j4 | |
38 history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment