running build_ext
skipping 'model/utils/bbox.c' Cython extension (up-to-date)
skipping 'model/nms/cpu_nms.c' Cython extension (up-to-date)
skipping 'pycocotools/_mask.c' Cython extension (up-to-date)
Compiling nms kernels by nvcc...
make.sh: 11: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms
['/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o']
generating /tmp/tmp25ghhu/_nms.c
setting the current directory to '/tmp/tmp25ghhu'
running build_ext
building '_nms' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _nms.c -o ./_nms.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_nms.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o -o ./_nms.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 36, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi pooling kernels by nvcc...
make.sh: 20: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling
generating /tmp/tmpaGCAHV/_roi_pooling.c
setting the current directory to '/tmp/tmpaGCAHV'
running build_ext
building '_roi_pooling' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_pooling.c -o ./_roi_pooling.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_pooling.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.cu.o -o ./_roi_pooling.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 34, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi align kernels by nvcc...
make.sh: 29: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align
generating /tmp/tmpdKm6CH/_roi_align.c
setting the current directory to '/tmp/tmpdKm6CH'
running build_ext
building '_roi_align' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_align.c -o ./_roi_align.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_align.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_kernel.cu.o -o ./_roi_align.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 35, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi crop kernels by nvcc...
make.sh: 38: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop
generating /tmp/tmpzbFmDZ/_roi_crop.c
setting the current directory to '/tmp/tmpzbFmDZ'
running build_ext
building '_roi_crop' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_crop.c -o ./_roi_crop.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.o
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c: In function ‘BilinearSamplerBHWD_updateGradInput’:
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:190:14: warning: unused variable ‘inBottomRight’ [-Wunused-variable]
real inBottomRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:189:14: warning: unused variable ‘inBottomLeft’ [-Wunused-variable]
real inBottomLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:188:14: warning: unused variable ‘inTopRight’ [-Wunused-variable]
real inTopRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:187:14: warning: unused variable ‘inTopLeft’ [-Wunused-variable]
real inTopLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:186:14: warning: unused variable ‘v’ [-Wunused-variable]
real v=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c: In function ‘BilinearSamplerBCHW_updateGradInput’:
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:441:14: warning: unused variable ‘inBottomRight’ [-Wunused-variable]
real inBottomRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:440:14: warning: unused variable ‘inBottomLeft’ [-Wunused-variable]
real inBottomLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:439:14: warning: unused variable ‘inTopRight’ [-Wunused-variable]
real inTopRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:438:14: warning: unused variable ‘inTopLeft’ [-Wunused-variable]
real inTopLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:437:14: warning: unused variable ‘v’ [-Wunused-variable]
real v=0;
^
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_crop.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda_kernel.cu.o -o ./_roi_crop.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 35, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
g201708021059@scw4750:/gg/DetNet_Pytorch/lib$ sudo apt-get install python2.7-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.7-dev is already the newest version.
python2.7-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
g201708021059@scw4750:/gg/DetNet_Pytorch/lib$ sh make.sh
running build_ext
skipping 'model/utils/bbox.c' Cython extension (up-to-date)
skipping 'model/nms/cpu_nms.c' Cython extension (up-to-date)
skipping 'pycocotools/_mask.c' Cython extension (up-to-date)
Compiling nms kernels by nvcc...
make.sh: 11: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms
['/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o']
generating /tmp/tmphykfmz/_nms.c
setting the current directory to '/tmp/tmphykfmz'
running build_ext
building '_nms' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _nms.c -o ./_nms.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_nms.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o -o ./_nms.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 36, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi pooling kernels by nvcc...
make.sh: 20: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling
generating /tmp/tmprX3Cci/_roi_pooling.c
setting the current directory to '/tmp/tmprX3Cci'
running build_ext
building '_roi_pooling' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_pooling.c -o ./_roi_pooling.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_pooling.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.cu.o -o ./_roi_pooling.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_pooling/src/roi_pooling.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 34, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi align kernels by nvcc...
make.sh: 29: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align
generating /tmp/tmpc_KAbR/_roi_align.c
setting the current directory to '/tmp/tmpc_KAbR'
running build_ext
building '_roi_align' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_align.c -o ./_roi_align.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_align.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_kernel.cu.o -o ./_roi_align.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_align/src/roi_align_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 35, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Compiling roi crop kernels by nvcc...
make.sh: 38: make.sh: nvcc: not found
Including CUDA code.
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop
generating /tmp/tmpsXcAr7/_roi_crop.c
setting the current directory to '/tmp/tmpsXcAr7'
running build_ext
building '_roi_crop' extension
creating disk1
creating disk1/g201708021059
creating disk1/g201708021059/gg
creating disk1/g201708021059/gg/DetNet_Pytorch
creating disk1/g201708021059/gg/DetNet_Pytorch/lib
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop
creating disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c _roi_crop.c -o ./_roi_crop.o
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.o
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c: In function ‘BilinearSamplerBHWD_updateGradInput’:
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:190:14: warning: unused variable ‘inBottomRight’ [-Wunused-variable]
real inBottomRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:189:14: warning: unused variable ‘inBottomLeft’ [-Wunused-variable]
real inBottomLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:188:14: warning: unused variable ‘inTopRight’ [-Wunused-variable]
real inTopRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:187:14: warning: unused variable ‘inTopLeft’ [-Wunused-variable]
real inTopLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:186:14: warning: unused variable ‘v’ [-Wunused-variable]
real v=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c: In function ‘BilinearSamplerBCHW_updateGradInput’:
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:441:14: warning: unused variable ‘inBottomRight’ [-Wunused-variable]
real inBottomRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:440:14: warning: unused variable ‘inBottomLeft’ [-Wunused-variable]
real inBottomLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:439:14: warning: unused variable ‘inTopRight’ [-Wunused-variable]
real inTopRight=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:438:14: warning: unused variable ‘inTopLeft’ [-Wunused-variable]
real inTopLeft=0;
^
/disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.c:437:14: warning: unused variable ‘v’ [-Wunused-variable]
real v=0;
^
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -std=c99 -fPIC -DWITH_CUDA -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/TH -I/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/../../lib/include/THC -I/usr/local/cuda/include -I/usr/include/python2.7 -c /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.c -o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 ./_roi_crop.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop.o ./disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda.o /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda_kernel.cu.o -o ./_roi_crop.so
x86_64-linux-gnu-gcc: error: /disk1/g201708021059/gg/DetNet_Pytorch/lib/model/roi_crop/src/roi_crop_cuda_kernel.cu.o: No such file or directory
Traceback (most recent call last):
File "build.py", line 35, in
ffi.build()
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 164, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 100, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile
compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/disk1/g201708021059/.local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1