build error
Opened this issue · 0 comments
Linux hoon 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
python: 3.11.4
torch: 2.0.0+cu117
gcc: 7.5.0
cuda: 11.6
Python is higher version than required but in my machine, DREAMPlace work well.
Below is my error log. Thank you.
[ 62%] Building CXX object dreamplace/ops/density_map/CMakeFiles/density_map_cpp.dir/src/density_map.cpp.o
cd /mnt/work/AutoDMP/build/dreamplace/ops/density_map && /usr/bin/c++ -DENABLE_CUDA=1 -DTORCH_EXTENSION_NAME=density_map_cpp -DTORCH_MAJOR_VERSION=2 -DTORCH_MINOR_VERSION=0 -D_GLIBCXX_USE_CXX11_ABI=0 -Ddensity_map_cpp_EXPORTS -I/mnt/work/AutoDMP/dreamplace/ops/density_map/.. -I/usr/local/cuda-11.6/include -isystem /mnt/work/AutoDMP/thirdparty/pybind11/include -isystem /home/hoon/miniconda3/include/python3.11 -isystem /home/hoon/miniconda3/lib/python3.11/site-packages/torch/include -isystem /home/hoon/miniconda3/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -std=gnu++14 -MD -MT dreamplace/ops/density_map/CMakeFiles/density_map_cpp.dir/src/density_map.cpp.o -MF CMakeFiles/density_map_cpp.dir/src/density_map.cpp.o.d -o CMakeFiles/density_map_cpp.dir/src/density_map.cpp.o -c /mnt/work/AutoDMP/dreamplace/ops/density_map/src/density_map.cpp
CMake Error at pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o.Release.cmake:220 (message):
Error generating
/mnt/work/AutoDMP/build/dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/src/./pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o
dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/build.make:78: recipe for target 'dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/src/pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o' failed
make[2]: *** [dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/src/pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o] Error 1
make[2]: Leaving directory '/mnt/work/AutoDMP/build'
CMakeFiles/Makefile2:3259: recipe for target 'dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/all' failed
make[1]: *** [dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....