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

cuda_compile_1_generated_math_functions.cu.o error #6952

Open
5 tasks done
femifapo opened this issue Jun 18, 2020 · 1 comment
Open
5 tasks done

cuda_compile_1_generated_math_functions.cu.o error #6952

femifapo opened this issue Jun 18, 2020 · 1 comment

Comments

@femifapo
Copy link

femifapo commented Jun 18, 2020

#6392 Issue summary
I am unable to complete the openpose build because of the caffe math_functions error.

Initial error message below->
CMake Error at cuda_compile_1_generated_math_functions.cu.o.Release.cmake:280 (message):
Error generating file
/home//software/openpose/3rdparty/caffe/build/src/caffe/CMakeFiles/cuda_compile_1.dir/util/./cuda_compile_1_generated_math_functions.cu.o

Steps to reproduce

After the installation of all required dependencies (cuda,cuDNN,protobu,cmake GUI,OpenCV) for openpose . During the caffe installation, I ran "/software/openpose/3rdparty/caffe/build$ cmake .." and "/software/openpose/3rdparty/caffe/build$ make -j'nproc'"

Tried solutions

I tried to fix using the "Replace math_functions.h with cuda_runtime.h to remove CUDA compile w… #6681" but that didn't fix it. Infact, I got more errors.

Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_00001fb6_00000000-10_math_functions.compute_61.cpp1.ii".
Compilation terminated.
CMake Error at cuda_compile_1_generated_math_functions.cu.o.Release.cmake:280 (message):
Error generating file
/home//software/openpose/3rdparty/caffe/build/src/caffe/CMakeFiles/cuda_compile_1.dir/util/./cuda_compile_1_generated_math_functions.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:517: recipe for target 'src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o' failed
make[2]: *** [src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o] Error 1
CMakeFiles/Makefile2:420: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

System configuration

  • Operating system: Ubuntu 18.04
  • Compiler: cmake
  • CUDA version (if applicable): 10.2.89
  • CUDNN version (if applicable): ver. 7.6.5
  • BLAS: Atlas
  • Python version (if using pycaffe):
  • MATLAB version (if using matcaffe):

Issue checklist

  • read the guidelines and removed the first paragraph
  • written a short summary and detailed steps to reproduce
  • explained how solutions to related problems failed (tick if found none)
  • filled system configuration
  • attached relevant logs/config files (tick if not applicable)
@Remi-Tortue
Copy link

Hey @femifapo,
I'm facing the same issue, did you find how to fix it?

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

2 participants