Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error loading module 'libcuda_utils #56

Open
fujinzhou opened this issue May 15, 2017 · 10 comments
Open

error loading module 'libcuda_utils #56

fujinzhou opened this issue May 15, 2017 · 10 comments

Comments

@fujinzhou
Copy link

/home/hckj/torch/install/bin/luajit: /home/hckj/torch/install/share/lua/5.1/trepl/init.lua:389: error loading module 'libcuda_utils' from file './libcuda_utils.so':
libTHC.so.0: cannot open shared object file: No such file or directory
stack traceback:
[C]: in function 'error'
/home/hckj/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
neuralstyle_seg.lua:7: in main chunk
[C]: in function 'dofile'
...hckj/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

@fujinzhou
Copy link
Author

Please help me see this question. thank

@mattclarkestudio
Copy link

mattclarkestudio commented Jul 7, 2017

Same issue here. I have reinstalled torch.

matthewclarke/torch/install/share/lua/5.1/trepl/init.lua:389: error loading module 'libcuda_utils' from file './libcuda_utils.so':
dlopen(./libcuda_utils.so, 6): no suitable image found. Did find:
./libcuda_utils.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
stack traceback:
[C]: in function 'error'
...matthewclarke/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
neuralstyle_seg.lua:7: in main chunk
[C]: in function 'dofile'
...arke/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x010bf65bb0

@MarkOUzx
Copy link

@fujinzhou I also met the same issue. have you fixed this problem?

@stancil1
Copy link

stancil1 commented Aug 6, 2018

Has anyone solved this problem?

@sscode02
Copy link

sscode02 commented Aug 8, 2018

Problem?

@stancil1
Copy link

stancil1 commented Aug 8, 2018

Having same issue where after I run the make file and try to run python gen_all.py I receive

/usr/share/lua/5.3/trepl/init.lua:389: error loading module 'lubcuda_utils' from file './libcuda_utils.so':
stack traceback:
[C]: in function 'error'
/usr/share/lua/5.3/trepl/init.lua:389: in function 'require'
nerualstyle_seg.lua:7: in main chunk
[C]: in function 'dofile'
/usr/lib64/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?

I think it may be an issue with torch trying to load libcuda_utils, but I"m not sure yet how to fix this problem.

@MarkOUzx
Copy link

MarkOUzx commented Aug 8, 2018

I just delete it, and find it all right

@stancil1
Copy link

stancil1 commented Aug 8, 2018

Delete what?

@stancil1
Copy link

stancil1 commented Aug 8, 2018

So it looks like I have solved at least my current issue with this by having to edit the LUA_PATH and LUA_CPATH variables. Now it can find the correct packages.

@mpselland
Copy link

Yes set the variables to env_variables path for both 'LUA_PATH' and 'LUA_CPATH', it will probably find the path and correct the package missing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants