# CUDA Library Downloads \[tar\] This downloads the Nvidia CUDA libraries, and compiles them all into an env for import into other articles. Note that each time, the actual download link must be updated by going to the linked address and loggin in with an Nvidia developer account, to get a working auth token. # Downloads The Deep Neural Network library (Runtime and Dev). ```bash id=09286e19-0f17-452f-8d69-60080d7de510 FILENAME="cudnn-9.2-linux-x64-v7.1.tgz" wget -O /results/$FILENAME --progress=dot:giga \ https://developer.download.nvidia.com/compute/machine-learning/cudnn/secure/v7.1.4/prod/9.2_20180516/cudnn-9.2-linux-x64-v7.1.tgz?RP182L3ykC0E3p4482AVNjiNo3wEe0lbbsroyYMw9yLkld5BaRLoO9Rk9CVBSv-FSWt7mSNNgIKDRLGFAASsb3lALE247u0PZ0quVXHJShQN5X4o2tsHGcHcQgYQweO5Vkbp_bjCseJaRwvYZ8ySjMbi-cPasnRGmDRI5-1VkFjmdPYQ8EcCENoweW8IeVVZ8yGvQ--WtaxmUA ``` [cudnn-9.2-linux-x64-v7.1.tgz][nextjournal#output#09286e19-0f17-452f-8d69-60080d7de510#cudnn-9.2-linux-x64-v7.1.tgz] The Collective Communications Library. ```bash id=63820f98-5d04-4d92-b70a-bd63d5b4796b FILENAME="nccl_2.2.13-1+cuda9.2_x86_64.txz" wget -O /results/$FILENAME --progress=dot:giga \ https://developer.download.nvidia.com/compute/machine-learning/nccl/secure/v2.2/prod/nccl_2.2.13-1%2Bcuda9.2_x86_64.txz?2K-MZ1K9RhbODnIa1sBuDdea7Wxm8oAZoeG1qBBiGnUWCdHMRsVa-Vuw2StivKF_yGbRksOJTTYmrET4euLZbrdTwFmZ2hpI3bbfhsHVPPxBgowRFTYd-PcNFB4nDxoRdELvKjcqaWhJdTGnoGPj3EqMFbqRJpbLnLB8iJM4VULVbAhLvdRBoC8XLl9Pkdvb ``` [nccl_2.2.13-1+cuda9.2_x86_64.txz][nextjournal#output#63820f98-5d04-4d92-b70a-bd63d5b4796b#nccl_2.2.13-1+cuda9.2_x86_64.txz] # Compile & Test ```bash id=cf188034-0ac6-484b-8308-0faee4a23058 cp [reference][nextjournal#reference#c4a0bad9-1f64-497e-bd8b-8d34c39fdfe5] \ /cudnn-9.2-linux-x64-v7.1.tgz cp [reference][nextjournal#reference#13ace725-acf4-415e-9dc3-bfcbcdc2d0f8] \ /nccl_2.2.13-1+cuda9.2_x86_64.txz ``` ```bash id=824fe6ad-f0c6-434f-b551-0262962333db tar -tzf cudnn-9.2-linux-x64-v7.1.tgz > /dev/null tar -tJf nccl_2.2.13-1+cuda9.2_x86_64.txz > /dev/null ``` [nextjournal#output#09286e19-0f17-452f-8d69-60080d7de510#cudnn-9.2-linux-x64-v7.1.tgz]: [nextjournal#output#63820f98-5d04-4d92-b70a-bd63d5b4796b#nccl_2.2.13-1+cuda9.2_x86_64.txz]: [nextjournal#reference#c4a0bad9-1f64-497e-bd8b-8d34c39fdfe5]: <#nextjournal#reference#c4a0bad9-1f64-497e-bd8b-8d34c39fdfe5> [nextjournal#reference#13ace725-acf4-415e-9dc3-bfcbcdc2d0f8]: <#nextjournal#reference#13ace725-acf4-415e-9dc3-bfcbcdc2d0f8>
This notebook was exported from https://nextjournal.com/a/K9bai6XpH4UjwGwDoYFoq?change-id=CHfWUfWPBL4mgM6Ng3gpwh ```edn nextjournal-metadata {:article {:settings nil, :nodes {"09286e19-0f17-452f-8d69-60080d7de510" {:compute-ref #uuid "e02d88e0-9964-11e8-8a5e-ffd515faf621", :exec-duration 4215, :id "09286e19-0f17-452f-8d69-60080d7de510", :kind "code", :name "cuDNN", :output-log-lines {:stdout 23}, :runtime [:runtime "5951e57c-e01d-42d7-82c9-a25edc1d59fc"]}, "13ace725-acf4-415e-9dc3-bfcbcdc2d0f8" {:id "13ace725-acf4-415e-9dc3-bfcbcdc2d0f8", :kind "reference", :link [:output "63820f98-5d04-4d92-b70a-bd63d5b4796b" "nccl_2.2.13-1+cuda9.2_x86_64.txz"]}, "5951e57c-e01d-42d7-82c9-a25edc1d59fc" {:environment [:environment {:node/id "421b1cd0-8cc6-4765-9b56-7201c1946160", :article/nextjournal.id #uuid "5accb601-b16a-4637-ae55-5fd73544a52f", :change/nextjournal.id #uuid "5b27e175-58d6-4497-98fa-fef6282d7bba"}], :id "5951e57c-e01d-42d7-82c9-a25edc1d59fc", :kind "runtime", :language "bash", :name "Downloads", :resources {:machine-type "n1-standard-2"}, :type :nextjournal}, "63820f98-5d04-4d92-b70a-bd63d5b4796b" {:compute-ref #uuid "33a02500-9965-11e8-8a5e-ffd515faf621", :exec-duration 927, :id "63820f98-5d04-4d92-b70a-bd63d5b4796b", :kind "code", :name "NCCL", :output-log-lines {:stdout 12}, :runtime [:runtime "5951e57c-e01d-42d7-82c9-a25edc1d59fc"]}, "824fe6ad-f0c6-434f-b551-0262962333db" {:compute-ref #uuid "a96124f0-9966-11e8-8a5e-ffd515faf621", :exec-duration 12439, :id "824fe6ad-f0c6-434f-b551-0262962333db", :kind "code", :output-log-lines {}, :runtime [:runtime "8a768604-1b74-40e4-871a-fd860ac46dee"]}, "8a768604-1b74-40e4-871a-fd860ac46dee" {:environment [:environment "92a7ae6a-6bd3-4974-b0ca-ce3d39c54a73"], :id "8a768604-1b74-40e4-871a-fd860ac46dee", :kind "runtime", :language "bash", :name "Test", :type :nextjournal}, "92a7ae6a-6bd3-4974-b0ca-ce3d39c54a73" {:environment [:environment {:node/id "421b1cd0-8cc6-4765-9b56-7201c1946160", :article/nextjournal.id #uuid "5accb601-b16a-4637-ae55-5fd73544a52f", :change/nextjournal.id #uuid "5b27e175-58d6-4497-98fa-fef6282d7bba"}], :environment? true, :id "92a7ae6a-6bd3-4974-b0ca-ce3d39c54a73", :kind "runtime", :language "bash", :name "CUDA Libs [tar]", :type :nextjournal, :docker/environment-image "eu.gcr.io/nextjournal-com/environment@sha256:79b82203977d319993475f4ac958f1139d9a0e6bf59306c548b18ce56ef23ce0"}, "c4a0bad9-1f64-497e-bd8b-8d34c39fdfe5" {:id "c4a0bad9-1f64-497e-bd8b-8d34c39fdfe5", :kind "reference", :link [:output "09286e19-0f17-452f-8d69-60080d7de510" "cudnn-9.2-linux-x64-v7.1.tgz"]}, "cf188034-0ac6-484b-8308-0faee4a23058" {:compute-ref #uuid "714b6300-9966-11e8-8a5e-ffd515faf621", :exec-duration 5489, :id "cf188034-0ac6-484b-8308-0faee4a23058", :kind "code", :output-log-lines {}, :runtime [:runtime "92a7ae6a-6bd3-4974-b0ca-ce3d39c54a73"]}}, :nextjournal/id #uuid "0288af7b-2d49-4b57-bfe5-143e29bad6cc", :article/change {:nextjournal/id #uuid "5b682838-be00-472d-b9bb-08209906d158"}}} ```