{"id":212,"date":"2013-10-29T03:35:06","date_gmt":"2013-10-28T18:35:06","guid":{"rendered":"http:\/\/blog.ymyzk.com\/?p=212"},"modified":"2014-12-03T09:57:09","modified_gmt":"2014-12-03T00:57:09","slug":"debian-wheezy-cuda-5-5","status":"publish","type":"post","link":"https:\/\/blog.ymyzk.com\/2013\/10\/debian-wheezy-cuda-5-5\/","title":{"rendered":"Debian 7 Wheezy\u306bCUDA 5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"
Debian 7 Wheezy amd64\u306bCUDA 5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306e\u8a18\u9332\u3067\u3059.<\/p>\n
CUDA Downloads | NVIDIA Developer Zone<\/a> \u304b\u3089, CUDA Toolkit\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059. \u3053\u3053\u3067\u306fUbuntu 12.10 x86 64-bit\u306eRUN\u5f62\u5f0f\u306e”cuda_5.5.22_linux_64.run”\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059.<\/p>\n <\/p>\n \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3057\u307e\u3059.<\/p>\n \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059.<\/p>\n \u30c9\u30e9\u30a4\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306fgcc-4.6\u304c\u5fc5\u8981\u3067\u3059. \u3053\u3053\u307e\u3067\u6e96\u5099\u304c\u3067\u304d\u305f\u3089X\u3092\u7d42\u4e86\u3057, \u73fe\u5728\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u30c9\u30e9\u30a4\u30d0\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059.<\/p>\n root\u3067\u30ed\u30b0\u30a4\u30f3\u3057, \u30c9\u30e9\u30a4\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059.<\/p>\n \u30c9\u30e9\u30a4\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089, \u518d\u8d77\u52d5\u3057\u307e\u3059.<\/p>\n GUI\u74b0\u5883\u304b\u3089Toolkit\u3068\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059.<\/p>\n .bashrc\u3084.zshrc\u306bPATH\u3092\u901a\u3057\u307e\u3059. \u4f8b:<\/p>\n \u518d\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u304b, source ~\/.zshrc \u306a\u3069\u3057\u3066PATH\u306e\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059. gcc\u306e\u8a2d\u5b9a\u306f\u5fd8\u308c\u305a\u306b\u623b\u3057\u3066\u304f\u3060\u3055\u3044.<\/p>\n \u4ee5\u4e0a\u3067Debian 7 Wheezy\u3067CUDA\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059. \u8aac\u660e\u3092\u304b\u306a\u308a\u7701\u7565\u3057\u3066\u3044\u308b\u306e\u3067\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u7b49\u306e\u60c5\u5831\u3082\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044. Getting Started Linux :: CUDA Toolkit Documentation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Debian 7 Wheezy amd64\u306bCUDA 5.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306e\u8a18\u9332\u3067\u3059. CUDA Downloads | NVIDIA Developer Zone \u304b\u3089, CUDA Toolkit\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,3],"tags":[29,16,30],"_links":{"self":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":6,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/212\/revisions\/652"}],"wp:attachment":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\r\nsudo sh cuda_5.5.22_linux_64.run -extract=\/root\/\r\n<\/pre>\n
\r\nsudo aptitude install linux-headers-
uname -r<\/code>\r\nsudo aptitude install build-essential binutils gcc-4.6 g++-4.6 ld\r\n<\/pre>\n
\n\/usr\/bin\/gcc \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067gcc-4.7\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081, gcc-4.6\u306b\u5909\u66f4\u3057\u307e\u3059. (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u5143\u306b\u623b\u3059)
\n\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059.<\/p>\n\r\ncd \/usr\/bin\/\r\nsudo rm gcc\r\nsudo ln -s gcc-4.6 gcc\r\n<\/pre>\n
\r\n\/root\/NVIDIA-Linux-x86_64-319.37.run\r\n<\/pre>\n
\r\nsudo \/root\/cuda-linux64-rel-5.5.22-16488124.run\r\nsudo \/root\/cuda-samples-linux-5.5.22-16488124.run\r\n<\/pre>\n
\r\nexport PATH=\/usr\/local\/cuda\/bin:$PATH\r\nexport LD_LIBRARY_PATH=\/usr\/local\/cuda\/lib64:$LD_LIBRARY_PATH\r\n<\/pre>\n