{"id":828,"date":"2012-02-10T20:52:34","date_gmt":"2012-02-10T11:52:34","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=828"},"modified":"2012-02-10T20:52:34","modified_gmt":"2012-02-10T11:52:34","slug":"cuda-gdb%e3%81%8clibpython%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8b%e3%81%a3%e3%81%9f%e3%82%89","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=828","title":{"rendered":"cuda-gdb\u304clibpython\u306e\u30a8\u30e9\u30fc\u3067\u8d77\u52d5\u3067\u304d\u306a\u304b\u3063\u305f\u3089"},"content":{"rendered":"<p>CUDA4.1\u306b\u4ed8\u5c5e\u306ecuda-gdb\u306flibpython2.6\u304c\u5fc5\u8981\u306a\u3093\u3060\u305d\u3046\u3067\u3059\u3002<br \/>\n\u307c\u304f\u306fpython3.x\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u306e\u30672.x\u306f\u4f7f\u3048\u307e\u305b\u3093\u3068\u304b\u305d\u3046\u3044\u3046\u306e\u306f\u304a\u3044\u3068\u3044\u3066\u3001\u8eab\u8fd1\u306a\u30c7\u30a3\u30b9\u30c8\u30ed\u306e\u6700\u65b0\u306f\u3060\u3044\u305f\u30442.x\u7cfb\u3068\u3057\u3066\u306f2.7\u3057\u304b\u7528\u610f\u3057\u3066\u306a\u3044\u307d\u3044\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% cuda-gdb\r\ncuda-gdb: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory\r\n<\/pre>\n<p>\u81ea\u5206\u3067libpython2.6\u3092\u5165\u624b\u3057\u3066\u624b\u5143\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3082\u3044\u3044\u3093\u3067\u3059\u304c\u305d\u3093\u306a\u306d\u3047\u3002<\/p>\n<p>\u3054\u307e\u304b\u3057\u3061\u3083\u3048\u3070\u3044\u3044\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% sudo ln -s \/usr\/lib\/libpython2.7.so.1.0 \/usr\/lib\/libpython2.6.so.1.0\r\n% sudo ln -s \/usr\/lib64\/libpython2.7.so.1.0 \/usr\/lib64\/libpython2.6.so.1.0\r\n<\/pre>\n<p>\u3061\u3087\u3002<br \/>\nYOU\u3053\u3093\u306a\u3053\u3068\u3057\u3066\u3044\u3044\u306e\u304bYO\uff01<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% cuda-gdb\r\nNVIDIA (R) CUDA Debugger\r\n4.1 release\r\nPortions Copyright (C) 2007-2012 NVIDIA Corporation\r\nGNU gdb (GDB) 7.2\r\nCopyright (C) 2010 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;\r\nand &quot;show warranty&quot; for details.\r\nThis GDB was configured as &quot;x86_64-unknown-linux-gnu&quot;.\r\nFor bug reporting instructions, please see:\r\n&lt;http:\/\/www.gnu.org\/software\/gdb\/bugs\/&gt;.\r\n(cuda-gdb)\r\n<\/pre>\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2227\u2227<br \/>\n\u3000\u3000\u3000\u3000 \u3000\u3000\u30fd(\uff65\u03c9\uff65)\/\u3000 \u3000\uff7d\uff9e\uff7a\uff70<br \/>\n\u3000\u3000\u3000\u3000 \u3000\uff3c(.\uff3c \u30ce<br \/>\n\u3000\u3000\u3000\u3000\uff64\uff8a,,\uff64\u3000\uffe3<br \/>\n\u3000\u3000\u3000\u3000\uffe3<\/p>\n<p>\u3061\u3087\u3063\u3068\u4f7f\u3063\u305f\u7bc4\u56f2\u3060\u3068\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u306f\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CUDA4.1\u306b\u4ed8\u5c5e\u306ecuda-gdb\u306flibpython2.6\u304c\u5fc5\u8981\u306a\u3093\u3060\u305d\u3046\u3067\u3059\u3002 \u307c\u304f\u306fpython3.x\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u306e\u30672.x\u306f\u4f7f\u3048\u307e\u305b\u3093\u3068\u304b\u305d\u3046\u3044\u3046\u306e\u306f\u304a\u3044\u3068\u3044\u3066\u3001\u8eab\u8fd1\u306a\u30c7\u30a3\u30b9\u30c8\u30ed\u306e\u6700\u65b0\u306f\u3060\u3044\u305f\u30442.x\u7cfb\u3068\u3057\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,7,10],"class_list":["post-828","post","type-post","status-publish","format-standard","hentry","category-1","tag-cuda","tag-linux","tag-10"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=828"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/828\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}