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

Lual_openlib problem #62

Open
elfPlane opened this issue Aug 12, 2017 · 2 comments
Open

Lual_openlib problem #62

elfPlane opened this issue Aug 12, 2017 · 2 comments

Comments

@elfPlane
Copy link

elfPlane commented Aug 12, 2017

I got a problem with
[$ make clean && make

find . -type f | xargs -n 5 touch
rm -f libcuda_utils.so
/usr/local/cuda-8.0/bin/nvcc -arch sm_35 -O3 -DNDEBUG --compiler-options '-fPIC' -o libcuda_utils.so --shared cuda_utils.cu -I/home/chloe/torch/install/include/THC -I/home/chloe/torch/install/include/TH -I/home/chloe/torch/install/include -L/home/chloe/torch/install/lib -Xlinker -rpath,/home/chloe/torch/install/lib -lluaT -lTHC -lTH -lpng
cuda_utils.cu(509): error: identifier "luaL_openlib" is undefined

1 error detected in the compilation of "/tmp/tmpxft_00004fc0_00000000-9_cuda_utils.cpp1.ii".
makefile:10: 'libcuda_utils.so' failed operation]

Do you know about this problem to solve? with cuda 8.0

@rahul-iyer
Copy link

Any idea how you solved this ?

@BestJuly
Copy link

BestJuly commented Jan 22, 2018

@elfPlane @rahul-iyer The problem was the Lua version, it only works with 5.1 not 5.2.
I have the same question and I solve the problem by reinstall torch with lua 5.1.
TORCH_LUA_VERSION=LUA51 ./install.sh

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

3 participants