{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/6787","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/6787/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/6787/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/6787/events","html_url":"https://github.com/apache/incubator-mxnet/issues/6787","id":237998674,"number":6787,"title":"OSError: libcuda.so.1: cannot open shared object file: No such file or directory","user":{"login":"ChongWu-Biostat","id":8730301,"avatar_url":"https://avatars3.githubusercontent.com/u/8730301?v=4","gravatar_id":"","url":"https://api.github.com/users/ChongWu-Biostat","html_url":"https://github.com/ChongWu-Biostat","followers_url":"https://api.github.com/users/ChongWu-Biostat/followers","following_url":"https://api.github.com/users/ChongWu-Biostat/following{/other_user}","gists_url":"https://api.github.com/users/ChongWu-Biostat/gists{/gist_id}","starred_url":"https://api.github.com/users/ChongWu-Biostat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChongWu-Biostat/subscriptions","organizations_url":"https://api.github.com/users/ChongWu-Biostat/orgs","repos_url":"https://api.github.com/users/ChongWu-Biostat/repos","events_url":"https://api.github.com/users/ChongWu-Biostat/events{/privacy}","received_events_url":"https://api.github.com/users/ChongWu-Biostat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-22T23:10:06Z","updated_at":"2017-09-09T22:37:41Z","closed_at":null,"author_association":"NONE","body":"I exactly followed the http://mxnet.io/get_started/install.html instruction to install the GPU version in the server, however, I am unable to install it successfully.\r\n\r\n## Environment info\r\nOperating System: CentOS release 6.9 (Final)\r\n\r\nCompiler: gcc version 4.8.1 (GCC)\r\n\r\nPackage used (Python/R/Scala/Julia): Python\r\n\r\nMXNet version:  mxnet-cu80\r\n\r\nOr if installed from source: No. \r\n\r\nMXNet commit hash (`git rev-parse HEAD`): NA\r\n\r\nIf you are using python package, please provide\r\n\r\nPython version and distribution: Python 3.5.2 |Anaconda 4.1.1\r\n\r\nIf you are using R package, please provide\r\n\r\nR `sessionInfo()`:\r\n\r\n## Error Message:\r\nPlease paste the full error message, including stack trace.\r\n\r\n## Minimum reproducible example\r\nif you are using your own code, please provide a short script that reproduces the error.\r\n\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/panwei/wuxx0845/.local/lib/python3.5/site-packages/mxnet/__init__.py\", line 7, in <module>\r\n    from .base import MXNetError\r\n  File \"/home/panwei/wuxx0845/.local/lib/python3.5/site-packages/mxnet/base.py\", line 52, in <module>\r\n    _LIB = _load_lib()\r\n  File \"/home/panwei/wuxx0845/.local/lib/python3.5/site-packages/mxnet/base.py\", line 44, in _load_lib\r\n    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)\r\n  File \"/panfs/roc/msisoft/anaconda/anaconda3-4.1.1/lib/python3.5/ctypes/__init__.py\", line 347, in __init__\r\n    self._handle = _dlopen(self._name, mode)\r\nOSError: libcuda.so.1: cannot open shared object file: No such file or directory\r\n\r\n## Steps to reproduce\r\nor if you are running standard examples, please provide the commands you have run that lead to the error.\r\n\r\n1. I followed the steps as described on the website.\r\n\r\n## What have you tried to solve it?\r\n\r\n1. I tried to fix the path, including PATH, USE_CUDA_PATH, LD_LIBRARY_PATH.\r\nHere is the information:\r\necho $PATH\r\n/panfs/roc/msisoft/anaconda/anaconda3-4.1.1/bin:/panfs/roc/msisoft/openmpi/el6/1.7.2/gnu-4.8.1/bin:/panfs/roc/msisoft/gcc/4.8.1/bin:/panfs/roc/msisoft/opencv/3.1.0/bin:/panfs/roc/msisoft/ffmpeg/2.6.2/bin:/panfs/roc/msisoft/java/jdk1.8.0_45/bin:/panfs/roc/msisoft/vtk/7.0.0/bin:/panfs/roc/msisoft/gcc/6.1.0/bin:/panfs/roc/msisoft/cuda/8.0/bin:/usr/local/bin:/usr/local/sbin:/usr/lib64/qt-3.3/bin:/adm/suacct/bin:/opt/suacct/bin:/opt/moab/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/ibutils/bin:/panfs/roc/msisoft/cuda-sdk/8.0/NVIDIA_CUDA-8.0_Samples/bin/x86_64/linux/release\r\n\r\n echo $USE_CUDA_PATH\r\n/panfs/roc/msisoft/cuda/8.0/\r\n\r\n echo $LD_LIBRARY_PATH\r\n/panfs/roc/msisoft/cuda/8.0/:/panfs/roc/msisoft/cuda/8.0/lib64/stubs/:/panfs/roc/msisoft/openmpi/el6/1.7.2/gnu-4.8.1/lib:/panfs/roc/msisoft/gcc/4.8.1/lib64:/panfs/roc/msisoft/opencv/3.1.0/lib:/panfs/roc/msisoft/ffmpeg/2.6.2/lib:/panfs/roc/msisoft/java/jdk1.8.0_45/jre/lib/amd64/server:/panfs/roc/msisoft/vtk/7.0.0/lib:/panfs/roc/msisoft/vtk/7.0.0/lib/vtk-7.0:/panfs/roc/msisoft/isl/0.16.1_gcc6.1.0/lib:/panfs/roc/msisoft/mpc/1.0.3_gcc6.1.0/lib:/panfs/roc/msisoft/mpfr/3.1.4-p1_gcc6.1.0/lib:/panfs/roc/msisoft/gmp/6.1.0_gcc6.1.0/lib:/soft/intel/x86_64/2013/composer_xe_2013/composer_xe_2013.5.192/compiler/lib/intel64:/soft/intel/x86_64/2013/composer_xe_2013/composer_xe_2013.5.192/mkl/lib/intel64:/panfs/roc/msisoft/cudnn/5.1/lib64:/panfs/roc/msisoft/cuda/8.0/lib64:/panfs/roc/msisoft/cuda/8.0/lib:/panfs/roc/msisoft/gcc/6.1.0/lib64\r\n\r\n\r\nSince I am using the server, I just load cuda and related packages. \r\nmodule load cuda/8.0\r\nmodule load cuda-sdk/8.0 \r\nmodule load cudnn/5.1\r\nmodule load mkl\r\nmodule load opencv/3.1.0_gcc6.1.0\r\nmodule load ompi/gnu\r\nmodule load python3/3.5.2_anaconda4.1.1\r\n\r\nI am not sure what's wrong with my procedures. I really want to install mxnet and use it. Thanks for your help in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments/328307562","html_url":"https://github.com/apache/incubator-mxnet/issues/6787#issuecomment-328307562","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/6787","id":328307562,"user":{"login":"szha","id":2626883,"avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T22:37:41Z","updated_at":"2017-09-09T22:37:41Z","author_association":"CONTRIBUTOR","body":"@ChongWu-Biostat you need your cuda driver and the cuda library to use the GPU version. Are you able to find and install the libcuda through other methods?"}}
{"actor":{"display_login":"szha"}}