2 errors detected in the compilation of "/tmp/tmpxft_00002bb6_00000000-6_asin_op.cpp1.ii"

username: jiapei100
cooked: <pre><code class="lang-auto">In file included from /usr/include/eigen3/Eigen/Core:257,
                 from ....../pytorch/caffe2/utils/eigen_utils.h:6,
                 from ....../pytorch/caffe2/operators/elementwise_ops.h:15,
                 from ....../pytorch/caffe2/operators/atan_op.h:6,
                 from ....../pytorch/caffe2/operators/atan_op.cu:1:
/usr/local/cuda/include/host_defines.h:54:2: warning: #warning "host_defines.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "host_defines.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(233): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(267): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(233): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(267): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(233): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(267): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(233): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(267): error: no suitable conversion function from "__half" to "unsigned short" exists

2 errors detected in the compilation of "/tmp/tmpxft_00002bb6_00000000-6_asin_op.cpp1.ii".
2 errors detected in the compilation of "/tmp/tmpxft_00002bc3_00000000-6_abs_op.cpp1.ii".
-- Removing ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_asin_op.cu.o
/usr/bin/cmake -E remove ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_asin_op.cu.o
-- Removing ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_abs_op.cu.o
CMake Error at torch_generated_asin_op.cu.o.Release.cmake:281 (message):
  Error generating file
  ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_asin_op.cu.o


make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:125854: caffe2/CMakeFiles/torch.dir/operators/torch_generated_asin_op.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/cmake -E remove ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_abs_op.cu.o
CMake Error at torch_generated_abs_op.cu.o.Release.cmake:281 (message):
  Error generating file
  ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_abs_op.cu.o


make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:124584: caffe2/CMakeFiles/torch.dir/operators/torch_generated_abs_op.cu.o] Error 1
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(302): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h(305): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(233): error: no suitable conversion function from "__half" to "unsigned short" exists

/usr/include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h(267): error: no suitable conversion function from "__half" to "unsigned short" exists

2 errors detected in the compilation of "/tmp/tmpxft_00002bce_00000000-6_acos_op.cpp1.ii".
2 errors detected in the compilation of "/tmp/tmpxft_00002be6_00000000-6_spatial_batch_norm_op_cudnn.cpp1.ii".
-- Removing ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_acos_op.cu.o
/usr/bin/cmake -E remove ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_acos_op.cu.o
CMake Error at torch_generated_acos_op.cu.o.Release.cmake:281 (message):
  Error generating file
  ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_acos_op.cu.o


make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:125833: caffe2/CMakeFiles/torch.dir/operators/torch_generated_acos_op.cu.o] Error 1
-- Removing ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_spatial_batch_norm_op_cudnn.cu.o
/usr/bin/cmake -E remove ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_spatial_batch_norm_op_cudnn.cu.o
CMake Error at torch_generated_spatial_batch_norm_op_cudnn.cu.o.Release.cmake:281 (message):
  Error generating file
  ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_spatial_batch_norm_op_cudnn.cu.o


make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:123798: caffe2/CMakeFiles/torch.dir/operators/torch_generated_spatial_batch_norm_op_cudnn.cu.o] Error 1
2 errors detected in the compilation of "/tmp/tmpxft_00002c03_00000000-6_atan_op.cpp1.ii".
-- Removing ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_atan_op.cu.o
/usr/bin/cmake -E remove ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_atan_op.cu.o
CMake Error at torch_generated_atan_op.cu.o.Release.cmake:281 (message):
  Error generating file
  ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_atan_op.cu.o


make[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:125868: caffe2/CMakeFiles/torch.dir/operators/torch_generated_atan_op.cu.o] Error 1
Generated ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_assert_op.cu.o successfully.
Generated ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_affine_channel_op.cu.o successfully.
Generated ....../pytorch/build/caffe2/CMakeFiles/torch.dir/operators/./torch_generated_arg_ops.cu.o successfully.
make[2]: Leaving directory '....../pytorch/build'
make[1]: *** [CMakeFiles/Makefile2:1594: caffe2/CMakeFiles/torch.dir/all] Error 2
make[1]: Leaving directory '....../pytorch/build'
make: *** [Makefile:166: all] Error 2
longervision-GT72-6QE% ccmake ../

</code></pre>