vchoutas / torch-mesh-isect

Other
281 stars 72 forks source link

About gcc version #11

Closed yinger650 closed 4 years ago

yinger650 commented 4 years ago

The package compiles CPP/CUDA files. I use conda environment and install torch via pip install. My python version is 3.6.9, and related gcc version is 7.3. The package is set up successfully but failed when running the example. The error message is "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)" I address the segfault at https://github.com/vchoutas/torch-mesh-isect/blob/master/src/bvh_cuda_op.cu#L830. Could you provide the gcc version on your PC? Maybe different compiler causes this problem.

yinger650 commented 4 years ago

I got it. CUDA 10 cannot pass this code while CUDA 9 works. And I downgrade the gcc version to gcc-5.