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

Jetson Tx2 compile error #469

Open
junteken opened this issue May 18, 2017 · 3 comments
Open

Jetson Tx2 compile error #469

junteken opened this issue May 18, 2017 · 3 comments

Comments

@junteken
Copy link

Hello there~

I installed jetpack on my jetson tx2 board.

And I tried to install cunn with luarocks, the following error occured.

Could you tell me how to solve it?

Error :

[ 33%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_PReLU.cu.o
/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(138): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(150): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(151): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(138): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(150): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(151): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(138): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(150): error: too many arguments in function call

/tmp/luarocks_cunn-scm-1-6855/cunn/lib/THCUNN/generic/PReLU.cu(151): error: too many arguments in function call

9 errors detected in the compilation of "/tmp/tmpxft_0000130d_00000000-7_PReLU.cpp1.ii".
CMake Error at THCUNN_generated_PReLU.cu.o.cmake:267 (message):
Error generating file
/tmp/luarocks_cunn-scm-1-6855/cunn/build/lib/THCUNN/CMakeFiles/THCUNN.dir//./THCUNN_generated_PReLU.cu.o

lib/THCUNN/CMakeFiles/THCUNN.dir/build.make:203: recipe for target 'lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_PReLU.cu.o' failed
make[2]: *** [lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_PReLU.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:103: recipe for target 'lib/THCUNN/CMakeFiles/THCUNN.dir/all' failed
make[1]: *** [lib/THCUNN/CMakeFiles/THCUNN.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@lspoo
Copy link

lspoo commented May 19, 2017

same here.

@varadhodiyil
Copy link

varadhodiyil commented May 26, 2017

same here !
Is there any workaround for this ?
thanks

@JamesAllingham
Copy link

JamesAllingham commented May 26, 2017

Same here - on a AWS p2.xlarge!

@varadhodiyil What worked for me was reinstalling torch, following the instructions on the torch website maybe that will work for you too.

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

4 participants