Caffe2 - Build From Source (源码编译安装) - troubleshooting (疑难解答)
ImportError: No module named setuptools
yongqiang@strong-sys:~/Caffe2_install/pytorch$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 126, in
from setuptools import setup, Extension, distutils, Command, find_packages
ImportError: No module named setuptools
yongqiang@strong-sys:~/Caffe2_install/pytorch$
yongqiang@strong-sys:~/Caffe2_install/pytorch$ sudo apt-get install python-setuptools
[sudo] yongqiang 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:
python-pkg-resources
建议安装:
python-setuptools-doc
下列【新】软件包将被安装:
python-pkg-resources python-setuptools
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 31 个软件包未被升级。
需要下载 278 kB 的归档。
解压缩后会消耗 982 kB 的额外空间。
您希望继续执行吗? [Y/n] Y
获取:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial/main amd64 python-setuptools all 20.7.0-1 [169 kB]
已下载 278 kB,耗时 1秒 (150 kB/s)
正在选中未选择的软件包 python-pkg-resources。
(正在读取数据库 ... 系统当前共安装有 194349 个文件和目录。)
正准备解包 .../python-pkg-resources_20.7.0-1_all.deb ...
正在解包 python-pkg-resources (20.7.0-1) ...
正在选中未选择的软件包 python-setuptools。
正准备解包 .../python-setuptools_20.7.0-1_all.deb ...
正在解包 python-setuptools (20.7.0-1) ...
正在设置 python-pkg-resources (20.7.0-1) ...
正在设置 python-setuptools (20.7.0-1) ...
yongqiang@strong-sys:~/Caffe2_install/pytorch$
RuntimeError: Missing build dependency: Unable to import yaml
.
yongqiang@strong-sys:~/Caffe2_install/pytorch$ python setup.py install
Building wheel torch-1.0.0a0+46ef2b2
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
Traceback (most recent call last):
File "setup.py", line 1243, in
rel_site_packages + '/caffe2/**/*.py'
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 725, in run
self.run_command('build_deps')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 464, in run
check_pydep('yaml', 'pyyaml')
File "setup.py", line 351, in check_pydep
raise RuntimeError(missing_pydep.format(importname=importname, module=module))
RuntimeError: Missing build dependency: Unable to `import yaml`.
Please install it via `conda install pyyaml` or `pip install pyyaml`
yongqiang@strong-sys:~/Caffe2_install/pytorch$
yongqiang@strong-sys:~/Caffe2_install/pytorch$ sudo pip install pyyaml
The directory '/home/yongqiang/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/yongqiang/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pyyaml
Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
100% |████████████████████████████████| 276kB 944kB/s
Installing collected packages: pyyaml
Running setup.py install for pyyaml ... done
Successfully installed pyyaml-3.13
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
yongqiang@strong-sys:~/Caffe2_install/pytorch$
RuntimeError: Missing build dependency: Unable to import typing
.
yongqiang@strong-sys:~/Caffe2_install/pytorch$ python setup.py install
Building wheel torch-1.0.0a0+46ef2b2
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
Traceback (most recent call last):
File "setup.py", line 1243, in
rel_site_packages + '/caffe2/**/*.py'
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 725, in run
self.run_command('build_deps')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 465, in run
check_pydep('typing', 'typing')
File "setup.py", line 351, in check_pydep
raise RuntimeError(missing_pydep.format(importname=importname, module=module))
RuntimeError: Missing build dependency: Unable to `import typing`.
Please install it via `conda install typing` or `pip install typing`
yongqiang@strong-sys:~/Caffe2_install/pytorch$
yongqiang@strong-sys:~/Caffe2_install/pytorch$ sudo pip install typing
The directory '/home/yongqiang/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/yongqiang/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting typing
Downloading https://files.pythonhosted.org/packages/cc/3e/29f92b7aeda5b078c86d14f550bf85cff809042e3429ace7af6193c3bc9f/typing-3.6.6-py2-none-any.whl
Installing collected packages: typing
Successfully installed typing-3.6.6
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
yongqiang@strong-sys:~/Caffe2_install/pytorch$
error: could not create ‘/usr/local/lib/python2.7/dist-packages/caffe2’: Permission denied
yongqiang@strong-sys:~/Caffe2_install/pytorch$ python setup.py install
Building wheel torch-1.0.0a0+46ef2b2
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case "$1" in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case "$1" in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case "$1" in
+ USE_QNNPACK=1
+ shift
+ [[ 2 -gt 0 ]]
+ case "$1" in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Linux == Darwin ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /home/yongqiang/Caffe2_install/pytorch
+ BASE_DIR=/home/yongqiang/Caffe2_install/pytorch
+ TORCH_LIB_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib
+ INSTALL_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/home/yongqiang/Caffe2_install/pytorch/third_party
+ C_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN"'
+ C_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS='-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" '
+ LD_POSTFIX=.so
++ uname
+ [[ Linux == \D\a\r\w\i\n ]]
+ [[ 0 -eq 1 ]]
+ LDFLAGS='-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN'
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ NCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ [[ 1 -eq 1 ]]
+ GLOO_FLAGS+=-DNCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ [[ 0 -eq 1 ]]
+ CWRAP_FILES='/home/yongqiang/Caffe2_install/pytorch/torch/lib/ATen/Declarations.cwrap;/home/yongqiang/Caffe2_install/pytorch/torch/lib/THNN/generic/THNN.h;/home/yongqiang/Caffe2_install/pytorch/torch/lib/THCUNN/generic/THCUNN.h;/home/yongqiang/Caffe2_install/pytorch/torch/lib/ATen/nn.yaml'
+ CUDA_NVCC_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=32
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ for arg in '"$@"'
+ [[ nccl == \n\c\c\l ]]
+ pushd /home/yongqiang/Caffe2_install/pytorch/third_party
~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ build_nccl
+ mkdir -p build/nccl
+ pushd build/nccl
~/Caffe2_install/pytorch/third_party/build/nccl ~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ [[ 1 -eq 1 ]]
+ cmake ../../nccl -DCMAKE_MODULE_PATH=/home/yongqiang/Caffe2_install/pytorch/cmake/Modules_CUDA_fix -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install '-DCMAKE_C_FLAGS= -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1 ' '-DCMAKE_CXX_FLAGS= -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1 -std=c++11 ' -DCMAKE_SHARED_LINKER_FLAGS= -DCMAKE_UTILS_PATH=/home/yongqiang/Caffe2_install/pytorch/cmake/public/utils.cmake -DNUM_JOBS=32
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "7.0")
-- Autodetected CUDA architecture(s): 6.1;6.1;6.1;6.1
-- Set NVCC_GENCODE for building NCCL: -gencode=arch=compute_61,code=sm_61
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl
+ make install -j32
Scanning dependencies of target nccl
[100%] Generating lib/libnccl.so
make[3]: 警告: 子 make 中强制 -jN: 关闭 jobserver 模式。
Generating nccl.h.in > nccl.h
Compiling init.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/init.o
Compiling ring.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/ring.o
Compiling bootstrap.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/bootstrap.o
Compiling transport.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport.o
Compiling misc/group.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/group.o
Compiling misc/nvmlwrap.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/nvmlwrap.o
Compiling misc/ibvwrap.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/ibvwrap.o
Compiling misc/rings.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/rings.o
Compiling misc/utils.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/utils.o
Compiling misc/enqueue.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/misc/enqueue.o
Compiling transport/p2p.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport/p2p.o
Compiling transport/shm.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport/shm.o
Compiling transport/net.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport/net.o
Compiling transport/net_socket.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport/net_socket.o
Compiling transport/net_ib.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/transport/net_ib.o
Compiling collectives/all_reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/all_reduce.o
Compiling collectives/broadcast.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/broadcast.o
Compiling collectives/all_gather.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/all_gather.o
Compiling collectives/reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/reduce.o
Compiling collectives/reduce_scatter.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/reduce_scatter.o
Compiling all_reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_reduce_sum.o
Compiling all_reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_reduce_prod.o
Compiling all_reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_reduce_min.o
Compiling all_reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_reduce_max.o
Compiling broadcast.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/broadcast_sum.o
Compiling broadcast.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/broadcast_prod.o
Compiling broadcast.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/broadcast_min.o
Compiling broadcast.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/broadcast_max.o
Compiling reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_sum.o
Compiling reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_prod.o
Compiling all_gather.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_gather_prod.o
Compiling reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_min.o
Grabbing nccl.h > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/include/nccl.h
Compiling all_gather.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_gather_min.o
Compiling reduce_scatter.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_scatter_min.o
Compiling reduce.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_max.o
Compiling reduce_scatter.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_scatter_max.o
Compiling all_gather.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_gather_max.o
Compiling functions.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/functions.o
Compiling all_gather.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/all_gather_sum.o
Compiling reduce_scatter.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_scatter_sum.o
Compiling reduce_scatter.cu > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/reduce_scatter_prod.o
Archiving objects > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/obj/collectives/device/colldevice.a
Linking libnccl.so.2.3.5 > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/lib/libnccl.so.2.3.5
Archiving libnccl_static.a > /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl/lib/libnccl_static.a
/home/yongqiang/Caffe2_install/pytorch/third_party/nccl/nccl/src
[100%] Built target nccl
Install the project...
-- Install configuration: "Release"
-- Installing: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
+ mkdir -p /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib
+ find lib -name 'libnccl.so*'
+ xargs -I '{}' rsync -lptgoD '{}' /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/
+ popd
~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ '[' -f ./nccl/nccl/src/nccl.h ']'
+ rm ./nccl/nccl/src/nccl.h
+ popd
~/Caffe2_install/pytorch/build
+ for arg in '"$@"'
+ [[ caffe2 == \n\c\c\l ]]
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /usr/lib/python2.7/dist-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")
+ [[ 1 -eq 1 ]]
+ cmake /home/yongqiang/Caffe2_install/pytorch -DPYTHON_EXECUTABLE=/usr/bin/python -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so.1.0 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+46ef2b2 -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_NUMPY= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR=/usr/include/ -DCUDNN_LIB_DIR=/usr/lib/x86_64-linux-gnu/ -DCUDNN_LIBRARY=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 -DUSE_MKLDNN=0 -DMKLDNN_INCLUDE_DIR= -DMKLDNN_LIB_DIR= -DMKLDNN_LIBRARY= -DCMAKE_INSTALL_PREFIX=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS=-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN ' '-DCMAKE_SHARED_LINKER_FLAGS=-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN ' -DNCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install -DTHD_SO_VERSION=1 -DCMAKE_PREFIX_PATH=/usr/lib/python2.7/dist-packages
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Not forcing any particular BLAS to be found
-- Performing Test COMPILER_WORKS
-- Performing Test COMPILER_WORKS - Success
-- Performing Test SUPPORT_GLIBCXX_USE_C99
-- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED
-- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success
-- std::exception_ptr is supported.
-- Performing Test CAFFE2_IS_NUMA_AVAILABLE
-- Performing Test CAFFE2_IS_NUMA_AVAILABLE - Success
-- NUMA is available
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING
-- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Success
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Caffe2 protobuf include directory: $$
-- The BLAS backend of choice:MKL
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
CMake Warning at cmake/Dependencies.cmake:76 (message):
MKL could not be found. Defaulting to Eigen
Call Stack (most recent call first):
CMakeLists.txt:202 (include)
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Brace yourself, we are building NNPACK
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Failed to find LLVM FileCheck
-- Found Git: /usr/bin/git (found version "2.7.4")
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Found Numa: /usr/include
-- Found Numa (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)
-- Using third party subdirectory Eigen.
Python 2.7.12
-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.12", minimum required is "2.7")
-- Found PythonLibs: /usr/lib/libpython2.7.so.1.0 (found suitable version "2.7.12", minimum required is "2.7")
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named numpy
-- Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION)
CMake Warning at cmake/Dependencies.cmake:485 (find_package):
Could not find a package configuration file provided by "pybind11" with any
of the following names:
pybind11Config.cmake
pybind11-config.cmake
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
"pybind11_DIR" to a directory containing one of the above files. If
"pybind11" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:202 (include)
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR)
-- Using third_party/pybind11.
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so
-- MPI support found
-- MPI compile flags:
-- MPI include path: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi
-- MPI LINK flags path: -Wl,-rpath -Wl,/usr/lib/openmpi/lib -Wl,--enable-new-dtags
-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so
CMake Warning at cmake/Dependencies.cmake:522 (message):
OpenMPI found, but it is not built with CUDA support.
Call Stack (most recent call first):
CMakeLists.txt:202 (include)
-- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "7.0")
-- Caffe2: CUDA detected: 9.0
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 9.0
-- Found CUDNN: /usr/include/
-- Found cuDNN: v7.1.2 (include: /usr/include/, library: /usr/lib/x86_64-linux-gnu/libcudnn.so.7)
-- Autodetected CUDA architecture(s): 6.1;6.1;6.1;6.1
-- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
-- Found NCCL: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include
-- Determining NCCL version from the header file: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
-- NCCL_MAJOR_VERSION: 2
-- Found NCCL (include: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include, library: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so)
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR)
-- MPI include path: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi
-- MPI libraries: /usr/lib/openmpi/lib/libmpi_cxx.so/usr/lib/openmpi/lib/libmpi.so
-- CUDA detected: 9.0
-- Found libcuda: /usr/local/cuda-9.0/lib64/stubs/libcuda.so
-- Found libnvrtc: /usr/local/cuda-9.0/lib64/libnvrtc.so
-- Determining NCCL version from the header file: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
-- NCCL_MAJOR_VERSION: 2
-- Found NCCL (include: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include, library: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so)
CMake Warning at cmake/Dependencies.cmake:753 (message):
mobile opengl is only used in android or ios builds.
Call Stack (most recent call first):
CMakeLists.txt:202 (include)
CMake Warning at cmake/Dependencies.cmake:829 (message):
Metal is only used in ios builds.
Call Stack (most recent call first):
CMakeLists.txt:202 (include)
--
-- ******** Summary ********
-- CMake version : 3.5.1
-- CMake command : /usr/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 5.4.0
-- CXX flags : -fvisibility-inlines-hidden
-- Build type : Release
-- Compile definitions :
-- CMAKE_PREFIX_PATH : /usr/lib/python2.7/dist-packages
-- CMAKE_INSTALL_PREFIX : /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
-- CMAKE_MODULE_PATH : /home/yongqiang/Caffe2_install/pytorch/cmake/Modules;/home/yongqiang/Caffe2_install/pytorch/cmake/public/../Modules_CUDA_fix
--
-- ONNX version : 1.3.0
-- ONNX NAMESPACE : onnx_torch
-- ONNX_BUILD_TESTS : OFF
-- ONNX_BUILD_BENCHMARKS : OFF
-- ONNX_USE_LITE_PROTO : OFF
-- ONNXIFI_DUMMY_BACKEND : OFF
--
-- Protobuf compiler :
-- Protobuf includes :
-- Protobuf libraries :
-- BUILD_ONNX_PYTHON : OFF
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Compiling with OpenMP support
-- MAGMA not found. Compiling without MAGMA support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Performing Test NO_GCC_EBX_FPIC_BUG
-- Performing Test NO_GCC_EBX_FPIC_BUG - Success
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- AVX compiler support found
-- AVX2 compiler support found
-- Performing Test HAS_C11_ATOMICS
-- Performing Test HAS_C11_ATOMICS - Failed
-- Performing Test HAS_MSC_ATOMICS
-- Performing Test HAS_MSC_ATOMICS - Failed
-- Performing Test HAS_GCC_ATOMICS
-- Performing Test HAS_GCC_ATOMICS - Success
-- Atomics: using GCC intrinsics
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
-- MKL library not found
-- Checking for [Accelerate]
-- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
-- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [openblas]
-- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [openblas - pthread]
-- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran]
-- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran - pthread]
-- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [acml - gfortran]
-- Library acml: BLAS_acml_LIBRARY-NOTFOUND
-- Checking for [ptf77blas - atlas - gfortran]
-- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND
-- Checking for [blas]
-- Library blas: BLAS_blas_LIBRARY-NOTFOUND
-- Cannot find a library with BLAS API. Not using BLAS.
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
-- Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
-- MKL library not found
-- Checking for [Accelerate]
-- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
-- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [openblas]
-- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [openblas - pthread]
-- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran]
-- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [goto2 - gfortran - pthread]
-- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND
-- Checking for [acml - gfortran]
-- Library acml: BLAS_acml_LIBRARY-NOTFOUND
-- Checking for [ptf77blas - atlas - gfortran]
-- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND
-- Checking for [blas]
-- Library blas: BLAS_blas_LIBRARY-NOTFOUND
-- Cannot find a library with BLAS API. Not using BLAS.
-- LAPACK requires BLAS
-- Cannot find a library with LAPACK API. Not using LAPACK.
-- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "5.5")
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- Could NOT find MKLDNN (missing: MKLDNN_INCLUDE_DIR MKLDNN_LIBRARY)
-- MKLDNN not found. Compiling without MKLDNN support
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test C_HAS_THREAD
-- Performing Test C_HAS_THREAD - Success
-- GCC 5.4.0: Adding gcc and gcc_s libs to link line
-- Using python found in /usr/bin/python
-- Check size of long double
-- Check size of long double - done
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success
-- Performing Test COMPILER_SUPPORTS_FLOAT128
-- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success
-- Performing Test COMPILER_SUPPORTS_SSE2
-- Performing Test COMPILER_SUPPORTS_SSE2 - Success
-- Performing Test COMPILER_SUPPORTS_SSE4
-- Performing Test COMPILER_SUPPORTS_SSE4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX
-- Performing Test COMPILER_SUPPORTS_AVX - Success
-- Performing Test COMPILER_SUPPORTS_FMA4
-- Performing Test COMPILER_SUPPORTS_FMA4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_SVE
-- Performing Test COMPILER_SUPPORTS_SVE - Failed
-- Performing Test COMPILER_SUPPORTS_AVX512F
-- Performing Test COMPILER_SUPPORTS_AVX512F - Failed
-- Performing Test COMPILER_SUPPORTS_OPENMP
-- Performing Test COMPILER_SUPPORTS_OPENMP - Success
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success
-- Configuring build for SLEEF-v3.2
Target system: Linux-4.13.0-36-generic
Target processor: x86_64
Host system: Linux-4.13.0-36-generic
Host processor: x86_64
Detected C compiler: GNU @ /usr/bin/cc
-- Using option `-Wall -Wno-unused -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math` to compile libsleef
-- Building shared libs : OFF
-- MPFR : LIB_MPFR-NOTFOUND
-- GMP : LIBGMP-NOTFOUND
-- RUNNING_ON_TRAVIS : 0
-- COMPILER_SUPPORTS_OPENMP : 1
-- Using python found in /usr/bin/python
-- /usr/bin/c++ /home/yongqiang/Caffe2_install/pytorch/torch/abi-check.cpp -o /home/yongqiang/Caffe2_install/pytorch/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- Performing Test HAS_THREAD_LOCAL
-- Performing Test HAS_THREAD_LOCAL - Success
-- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "7.5")
-- Determining NCCL version from the header file: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
-- NCCL_MAJOR_VERSION: 2
-- Found NCCL (include: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include, library: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so)
-- MPI_LIBRARIES: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so
-- Building the gloo backend with TCP support only
-- NCCL_LIBRARIES: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so
-- NCCL Version 2 or higher found, will compile with NCCL distributed backend
-- MPI_LINK_FLAGS: -Wl,-rpath -Wl,/usr/lib/openmpi/lib -Wl,--enable-new-dtags
-- Found CUDA: /usr/local/cuda (found version "9.0")
-- Building C10D with CUDA support
-- MPI_INCLUDE_PATH: /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi
-- MPI_LIBRARIES: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so
-- MPIEXEC: /usr/bin/mpiexec
-- Determining NCCL version from the header file: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
-- NCCL_MAJOR_VERSION: 2
-- Found NCCL (include: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include, library: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so)
-- NCCL_LIBRARIES: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so
-- NCCL_INCLUDE_DIRS: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include
-- NCCL Version 2 or higher found, will compile with NCCL distributed backend
-- Include NCCL operators
-- Excluding ideep operators as we are not using ideep
-- Excluding image processing operators due to no opencv
-- Excluding video processing operators due to no opencv
-- Include Observer library
-- Using lib/python2.7/dist-packages as python relative installation path
-- Automatically generating missing __init__.py files.
CMake Warning at CMakeLists.txt:390 (message):
Generated cmake files are only fully tested if one builds with system glog,
gflags, and protobuf. Other settings may generate files that are not well
tested.
--
-- ******** Summary ********
-- General:
-- CMake version : 3.5.1
-- CMake command : /usr/bin/cmake
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- C++ compiler version : 5.4.0
-- BLAS : MKL
-- CXX flags : -fvisibility-inlines-hidden -fopenmp -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-unused-but-set-variable -Wno-maybe-uninitialized
-- Build type : Release
-- Compile definitions : ONNX_NAMESPACE=onnx_torch;USE_GCC_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
-- CMAKE_PREFIX_PATH : /usr/lib/python2.7/dist-packages
-- CMAKE_INSTALL_PREFIX : /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
--
-- TORCH_VERSION : 1.0.0
-- CAFFE2_VERSION : 1.0.0
-- BUILD_ATEN_MOBILE : OFF
-- BUILD_ATEN_ONLY : OFF
-- BUILD_BINARY : OFF
-- BUILD_CUSTOM_PROTOBUF : ON
-- Link local protobuf : ON
-- BUILD_DOCS : OFF
-- BUILD_PYTHON : ON
-- Python version : 2.7.12
-- Python executable : /usr/bin/python
-- Pythonlibs version : 2.7.12
-- Python library : /usr/lib/libpython2.7.so.1.0
-- Python includes : /usr/include/python2.7
-- Python site-packages: lib/python2.7/dist-packages
-- BUILD_CAFFE2_OPS : ON
-- BUILD_SHARED_LIBS : ON
-- BUILD_TEST : ON
-- USE_ASAN : OFF
-- USE_CUDA : 1
-- CUDA static link : 0
-- USE_CUDNN : ON
-- CUDA version : 9.0
-- cuDNN version : 7.1.2
-- CUDA root directory : /usr/local/cuda
-- CUDA library : /usr/local/cuda-9.0/lib64/stubs/libcuda.so
-- cudart library : /usr/local/cuda/lib64/libcudart_static.a;-pthread;dl;/usr/lib/x86_64-linux-gnu/librt.so
-- cublas library : /usr/local/cuda/lib64/libcublas.so;/usr/local/cuda/lib64/libcublas_device.a
-- cufft library : /usr/local/cuda/lib64/libcufft.so
-- curand library : /usr/local/cuda/lib64/libcurand.so
-- cuDNN library : /usr/lib/x86_64-linux-gnu/libcudnn.so.7
-- nvrtc : /usr/local/cuda-9.0/lib64/libnvrtc.so
-- CUDA include path : /usr/local/cuda/include
-- NVCC executable : /usr/local/cuda/bin/nvcc
-- CUDA host compiler : /usr/bin/cc
-- USE_TENSORRT : OFF
-- USE_ROCM : OFF
-- USE_EIGEN_FOR_BLAS : ON
-- USE_FFMPEG : OFF
-- USE_GFLAGS : OFF
-- USE_GLOG : OFF
-- USE_LEVELDB : OFF
-- USE_LITE_PROTO : OFF
-- USE_LMDB : OFF
-- USE_METAL : OFF
-- USE_MKL :
-- USE_MOBILE_OPENGL : OFF
-- USE_NCCL : ON
-- USE_SYSTEM_NCCL : OFF
-- USE_NNPACK : 1
-- USE_NUMPY : OFF
-- USE_OBSERVERS : ON
-- USE_OPENCL : OFF
-- USE_OPENCV : OFF
-- USE_OPENMP : OFF
-- USE_PROF : OFF
-- USE_QNNPACK : 1
-- USE_REDIS : OFF
-- USE_ROCKSDB : OFF
-- USE_ZMQ : OFF
-- USE_DISTRIBUTED : ON
-- USE_MPI : ON
-- USE_GLOO : ON
-- USE_GLOO_IBVERBS : OFF
-- Public Dependencies : Threads::Threads
-- Private Dependencies : qnnpack;nnpack;cpuinfo;/usr/lib/x86_64-linux-gnu/libnuma.so;fp16;/usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so;gloo;aten_op_header_gen;onnxifi_loader;rt;gcc_s;gcc;dl
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CUDNN_LIB_DIR
THD_SO_VERSION
-- Build files have been written to: /home/yongqiang/Caffe2_install/pytorch/build
+ '[' -f /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/libnccl.so ']'
+ '[' '!' -f lib/libnccl.so.2 ']'
+ find /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib -name 'libnccl.so*'
+ xargs -I '{}' rsync -lptgoD '{}' lib/
+ make install -j32
Scanning dependencies of target python_copy_files
Scanning dependencies of target gtest
Scanning dependencies of target clog
Scanning dependencies of target gloo
Scanning dependencies of target libprotobuf-lite
Scanning dependencies of target js_embed
Scanning dependencies of target pthreadpool
Scanning dependencies of target mkalias
Scanning dependencies of target c10
Scanning dependencies of target onnxifi_loader
Scanning dependencies of target onnxifi_dummy
Scanning dependencies of target mkmasked_gnuabi
Scanning dependencies of target mkdisp
Scanning dependencies of target arraymap
Scanning dependencies of target benchmark
Scanning dependencies of target mkrename
Scanning dependencies of target mkrename_gnuabi
Scanning dependencies of target common
Scanning dependencies of target ATEN_CPU_FILES_GEN_TARGET
Scanning dependencies of target c10_utils_gpu
Scanning dependencies of target torch_shm_manager
Scanning dependencies of target c10_utils_hip
Scanning dependencies of target c10_utils_cpu
Scanning dependencies of target ATEN_CUDA_FILES_GEN_TARGET
Scanning dependencies of target libprotobuf
[ 1%] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o
[ 1%] Building C object sleef/src/libm/CMakeFiles/mkalias.dir/mkalias.c.o
[ 1%] Building CXX object third_party/protobuf/cmake/CMakeFiles/js_embed.dir/__/src/google/protobuf/compiler/js/embed.cc.o
[ 1%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o
[ 1%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o
...
...
...
creating build/temp.linux-x86_64-2.7/torch/csrc/cuda
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/DataLoader.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/DataLoader.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Device.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Device.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Dtype.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Dtype.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/DynamicTypes.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/DynamicTypes.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Exceptions.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Exceptions.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/TypeInfo.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/TypeInfo.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Generator.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Generator.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Layout.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Layout.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Module.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Module.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/PtrWrapper.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/PtrWrapper.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Size.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Size.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/Storage.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/Storage.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/functions/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/functions/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/generated/python_functions.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_functions.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/generated/python_nn_functions.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_nn_functions.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/generated/python_torch_functions.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_torch_functions.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/generated/python_variable_methods.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_variable_methods.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_anomaly_mode.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_anomaly_mode.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_cpp_function.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_cpp_function.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_engine.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_engine.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_function.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_function.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_hook.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_hook.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_legacy_variable.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_legacy_variable.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_variable.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_variable.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/autograd/python_variable_indexing.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_variable_indexing.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/byte_order.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/byte_order.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/batched/BatchTensor.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/batched/BatchTensor.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/passes/onnx.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/passes/onnx/fixup_onnx_loop.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/fixup_onnx_loop.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/passes/onnx/prepare_division_for_onnx.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/prepare_division_for_onnx.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/passes/onnx/peephole.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/peephole.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/passes/to_batch.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/to_batch.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/python_arg_flatten.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_arg_flatten.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/python_interpreter.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_interpreter.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/python_ir.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_ir.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/python_tracer.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_tracer.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/script/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/script/lexer.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/lexer.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/script/module.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/module.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/jit/script/python_tree_views.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/python_tree_views.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/nn/THNN.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/nn/THNN.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/onnx/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/onnx/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/serialization.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/serialization.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/tensor/python_tensor.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/tensor/python_tensor.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/cuda_lazy_init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/cuda_lazy_init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/invalid_arguments.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/invalid_arguments.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/object_ptr.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/object_ptr.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/python_arg_parser.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/python_arg_parser.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_apply.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_apply.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_conversion_dispatch.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_conversion_dispatch.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_dtypes.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_dtypes.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_flatten.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_flatten.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_layouts.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_layouts.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_list.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_list.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_new.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_new.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_numpy.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_numpy.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tensor_types.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_types.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/utils/tuple_parser.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/utils/tuple_parser.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/distributed/Module.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/distributed/Module.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/distributed/c10d/init.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/distributed/c10d/init.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/distributed/c10d/ddp.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/distributed/c10d/ddp.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/Module.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Module.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/Storage.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Storage.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/Stream.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Stream.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/utils.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/utils.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/comm.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/comm.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/python_comm.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/python_comm.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/serialization.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/serialization.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/nn/THCUNN.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/nn/THCUNN.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/nccl.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/nccl.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/cuda/python_nccl.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/cuda/python_nccl.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
warning: no library file corresponding to '/usr/lib/x86_64-linux-gnu/libcudnn.so.7' found (skipping)
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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/torch/csrc/DataLoader.o build/temp.linux-x86_64-2.7/torch/csrc/Device.o build/temp.linux-x86_64-2.7/torch/csrc/Dtype.o build/temp.linux-x86_64-2.7/torch/csrc/DynamicTypes.o build/temp.linux-x86_64-2.7/torch/csrc/Exceptions.o build/temp.linux-x86_64-2.7/torch/csrc/TypeInfo.o build/temp.linux-x86_64-2.7/torch/csrc/Generator.o build/temp.linux-x86_64-2.7/torch/csrc/Layout.o build/temp.linux-x86_64-2.7/torch/csrc/Module.o build/temp.linux-x86_64-2.7/torch/csrc/PtrWrapper.o build/temp.linux-x86_64-2.7/torch/csrc/Size.o build/temp.linux-x86_64-2.7/torch/csrc/Storage.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/functions/init.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_functions.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_nn_functions.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_torch_functions.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/generated/python_variable_methods.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/init.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_anomaly_mode.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_cpp_function.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_engine.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_function.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_hook.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_legacy_variable.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_variable.o build/temp.linux-x86_64-2.7/torch/csrc/autograd/python_variable_indexing.o build/temp.linux-x86_64-2.7/torch/csrc/byte_order.o build/temp.linux-x86_64-2.7/torch/csrc/jit/batched/BatchTensor.o build/temp.linux-x86_64-2.7/torch/csrc/jit/init.o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx.o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/fixup_onnx_loop.o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/prepare_division_for_onnx.o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/onnx/peephole.o build/temp.linux-x86_64-2.7/torch/csrc/jit/passes/to_batch.o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_arg_flatten.o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_interpreter.o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_ir.o build/temp.linux-x86_64-2.7/torch/csrc/jit/python_tracer.o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/init.o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/lexer.o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/module.o build/temp.linux-x86_64-2.7/torch/csrc/jit/script/python_tree_views.o build/temp.linux-x86_64-2.7/torch/csrc/nn/THNN.o build/temp.linux-x86_64-2.7/torch/csrc/onnx/init.o build/temp.linux-x86_64-2.7/torch/csrc/serialization.o build/temp.linux-x86_64-2.7/torch/csrc/tensor/python_tensor.o build/temp.linux-x86_64-2.7/torch/csrc/utils.o build/temp.linux-x86_64-2.7/torch/csrc/utils/cuda_lazy_init.o build/temp.linux-x86_64-2.7/torch/csrc/utils/invalid_arguments.o build/temp.linux-x86_64-2.7/torch/csrc/utils/object_ptr.o build/temp.linux-x86_64-2.7/torch/csrc/utils/python_arg_parser.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_apply.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_conversion_dispatch.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_dtypes.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_flatten.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_layouts.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_list.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_new.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_numpy.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tensor_types.o build/temp.linux-x86_64-2.7/torch/csrc/utils/tuple_parser.o build/temp.linux-x86_64-2.7/torch/csrc/distributed/Module.o build/temp.linux-x86_64-2.7/torch/csrc/distributed/c10d/init.o build/temp.linux-x86_64-2.7/torch/csrc/distributed/c10d/ddp.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Module.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Storage.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/Stream.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/utils.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/comm.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/python_comm.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/serialization.o build/temp.linux-x86_64-2.7/torch/csrc/nn/THCUNN.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/nccl.o build/temp.linux-x86_64-2.7/torch/csrc/cuda/python_nccl.o -L/home/yongqiang/Caffe2_install/pytorch/torch/lib -L/usr/local/cuda/lib64 -lshm -lcudart -lnvToolsExt -o build/lib.linux-x86_64-2.7/torch/_C.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu/ -Wl,-rpath,/usr/local/cuda/lib64 /home/yongqiang/Caffe2_install/pytorch/torch/lib/libcaffe2.so /home/yongqiang/Caffe2_install/pytorch/torch/lib/libc10.so -Wl,--no-as-needed /home/yongqiang/Caffe2_install/pytorch/torch/lib/libcaffe2_gpu.so -Wl,--as-needed /home/yongqiang/Caffe2_install/pytorch/torch/lib/libtorch.so /home/yongqiang/Caffe2_install/pytorch/torch/lib/libTHD.a /home/yongqiang/Caffe2_install/pytorch/torch/lib/libc10d.a /home/yongqiang/Caffe2_install/pytorch/torch/lib/libgloo_cuda.a /home/yongqiang/Caffe2_install/pytorch/torch/lib/libnccl.so.2 -Wl,-rpath,$ORIGIN/lib
building 'torch._dl' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c torch/csrc/dl.c -o build/temp.linux-x86_64-2.7/torch/csrc/dl.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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/torch/csrc/dl.o -o build/lib.linux-x86_64-2.7/torch/_dl.so
building 'torch._nvrtc' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/ -I/home/yongqiang/Caffe2_install/pytorch -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/ATen -I/home/yongqiang/Caffe2_install/pytorch/third_party/pybind11/include -I/home/yongqiang/Caffe2_install/pytorch/torch/csrc -Ibuild/third_party -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THD -I/usr/local/cuda/include -I/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -c torch/csrc/nvrtc.cpp -o build/temp.linux-x86_64-2.7/torch/csrc/nvrtc.o -D_THP_CORE -DONNX_NAMESPACE=onnx_torch -std=c++11 -Wall -Wextra -Wno-strict-overflow -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-zero-length-array -Wno-unknown-pragmas -Wno-deprecated-declarations -fno-strict-aliasing -Wno-missing-braces -Wno-stringop-overflow -DUSE_DISTRIBUTED -DUSE_C10D -DUSE_CUDA -DCUDA_LIB_PATH=/usr/local/cuda/lib64 -DUSE_NCCL -DUSE_CUDNN
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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/torch/csrc/nvrtc.o -L/home/yongqiang/Caffe2_install/pytorch/torch/lib -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib64/stubs -o build/lib.linux-x86_64-2.7/torch/_nvrtc.so -Wl,-rpath,/usr/lib/x86_64-linux-gnu/ -Wl,-rpath,/usr/local/cuda/lib64 -Wl,-rpath,$ORIGIN/lib -Wl,--no-as-needed -lcuda -lnvrtc
running install_lib
creating /usr/local/lib/python2.7/dist-packages/caffe2
error: could not create '/usr/local/lib/python2.7/dist-packages/caffe2': Permission denied
yongqiang@strong-sys:~/Caffe2_install/pytorch$
yongqiang@strong-sys:~/Caffe2_install/pytorch$ sudo python setup.py install
[sudo] yongqiang 的密码:
Building wheel torch-1.0.0a0+46ef2b2
running install
setup.py::run()
running build_deps
setup.py::build_deps::run()
+ SYNC_COMMAND=cp
++ command -v rsync
+ '[' -x /usr/bin/rsync ']'
+ SYNC_COMMAND='rsync -lptgoD'
+ CMAKE_COMMAND=cmake
++ command -v cmake3
+ [[ -x '' ]]
+ USE_CUDA=0
+ USE_ROCM=0
+ USE_NNPACK=0
+ USE_MKLDNN=0
+ USE_QNNPACK=0
+ USE_GLOO_IBVERBS=0
+ CAFFE2_STATIC_LINK_CUDA=0
+ RERUN_CMAKE=1
+ [[ 5 -gt 0 ]]
+ case "$1" in
+ USE_CUDA=1
+ shift
+ [[ 4 -gt 0 ]]
+ case "$1" in
+ USE_NNPACK=1
+ shift
+ [[ 3 -gt 0 ]]
+ case "$1" in
+ USE_QNNPACK=1
+ shift
+ [[ 2 -gt 0 ]]
+ case "$1" in
+ break
+ CMAKE_INSTALL='make install'
+ BUILD_SHARED_LIBS=ON
+ USER_CFLAGS=
+ USER_LDFLAGS=
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
++ uname
+ '[' Linux == Darwin ']'
+++ dirname ../tools/build_pytorch_libs.sh
++ cd ../tools/..
+++ pwd
++ printf '%q\n' /home/yongqiang/Caffe2_install/pytorch
+ BASE_DIR=/home/yongqiang/Caffe2_install/pytorch
+ TORCH_LIB_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib
+ INSTALL_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ THIRD_PARTY_DIR=/home/yongqiang/Caffe2_install/pytorch/third_party
+ C_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN"'
+ C_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'
+ LDFLAGS='-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" '
+ LD_POSTFIX=.so
++ uname
+ [[ Linux == \D\a\r\w\i\n ]]
+ [[ 0 -eq 1 ]]
+ LDFLAGS='-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN'
+ CPP_FLAGS=' -std=c++11 '
+ THD_FLAGS=
+ NCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ [[ 1 -eq 1 ]]
+ GLOO_FLAGS+=-DNCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ [[ 0 -eq 1 ]]
+ CWRAP_FILES='/home/yongqiang/Caffe2_install/pytorch/torch/lib/ATen/Declarations.cwrap;/home/yongqiang/Caffe2_install/pytorch/torch/lib/THNN/generic/THNN.h;/home/yongqiang/Caffe2_install/pytorch/torch/lib/THCUNN/generic/THCUNN.h;/home/yongqiang/Caffe2_install/pytorch/torch/lib/ATen/nn.yaml'
+ CUDA_NVCC_FLAGS=' -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'
+ [[ -z '' ]]
+ CUDA_DEVICE_DEBUG=0
+ '[' -z '' ']'
++ getconf _NPROCESSORS_ONLN
+ MAX_JOBS=32
+ BUILD_TYPE=Release
+ [[ -n '' ]]
+ [[ -n '' ]]
+ echo 'Building in Release mode'
Building in Release mode
+ mkdir -p /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install
+ for arg in '"$@"'
+ [[ nccl == \n\c\c\l ]]
+ pushd /home/yongqiang/Caffe2_install/pytorch/third_party
~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ build_nccl
+ mkdir -p build/nccl
+ pushd build/nccl
~/Caffe2_install/pytorch/third_party/build/nccl ~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ [[ 1 -eq 1 ]]
+ cmake ../../nccl -DCMAKE_MODULE_PATH=/home/yongqiang/Caffe2_install/pytorch/cmake/Modules_CUDA_fix -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install '-DCMAKE_C_FLAGS= -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1 ' '-DCMAKE_CXX_FLAGS= -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/TH" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THC" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCS" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THNN" -I"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1 -std=c++11 ' -DCMAKE_SHARED_LINKER_FLAGS= -DCMAKE_UTILS_PATH=/home/yongqiang/Caffe2_install/pytorch/cmake/public/utils.cmake -DNUM_JOBS=32
-- Autodetected CUDA architecture(s): 6.1;6.1;6.1;6.1
-- Set NVCC_GENCODE for building NCCL: -gencode=arch=compute_61,code=sm_61
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yongqiang/Caffe2_install/pytorch/third_party/build/nccl
+ make install -j32
[100%] Built target nccl
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/include/nccl.h
+ mkdir -p /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib
+ find lib -name 'libnccl.so*'
+ xargs -I '{}' rsync -lptgoD '{}' /home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib/
+ popd
~/Caffe2_install/pytorch/third_party ~/Caffe2_install/pytorch/build
+ '[' -f ./nccl/nccl/src/nccl.h ']'
+ popd
~/Caffe2_install/pytorch/build
+ for arg in '"$@"'
+ [[ caffe2 == \n\c\c\l ]]
+ [[ caffe2 == \c\a\f\f\e\2 ]]
+ build_caffe2
+ [[ -z '' ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS=()
+ [[ -n '' ]]
+ [[ -n /usr/lib/python2.7/dist-packages ]]
+ EXTRA_CAFFE2_CMAKE_FLAGS+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")
+ [[ 1 -eq 1 ]]
+ cmake /home/yongqiang/Caffe2_install/pytorch -DPYTHON_EXECUTABLE=/usr/bin/python -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so.1.0 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DBUILDING_WITH_TORCH_LIBS=ON -DTORCH_BUILD_VERSION=1.0.0a0+46ef2b2 -DCMAKE_BUILD_TYPE=Release -DBUILD_TORCH=ON -DBUILD_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DBUILD_BINARY=OFF -DBUILD_TEST=ON -DINSTALL_TEST=ON -DBUILD_CAFFE2_OPS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DUSE_DISTRIBUTED=ON -DUSE_NUMPY= -DCAFFE2_STATIC_LINK_CUDA=0 -DUSE_ROCM=0 -DUSE_NNPACK=1 -DUSE_LEVELDB=OFF -DUSE_LMDB=OFF -DUSE_OPENCV=OFF -DUSE_QNNPACK=1 -DUSE_FFMPEG=OFF -DUSE_GLOG=OFF -DUSE_GFLAGS=OFF -DUSE_SYSTEM_EIGEN_INSTALL=OFF -DCUDNN_INCLUDE_DIR=/usr/include/ -DCUDNN_LIB_DIR=/usr/lib/x86_64-linux-gnu/ -DCUDNN_LIBRARY=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 -DUSE_MKLDNN=0 -DMKLDNN_INCLUDE_DIR= -DMKLDNN_LIB_DIR= -DMKLDNN_LIBRARY= -DCMAKE_INSTALL_PREFIX=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS=-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN ' '-DCMAKE_SHARED_LINKER_FLAGS=-L"/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,$ORIGIN ' -DNCCL_ROOT_DIR=/home/yongqiang/Caffe2_install/pytorch/torch/lib/tmp_install -DTHD_SO_VERSION=1 -DCMAKE_PREFIX_PATH=/usr/lib/python2.7/dist-packages
-- std::exception_ptr is supported.
-- NUMA is available
...
...
...
byte-compiling /usr/local/lib/python2.7/dist-packages/torch/onnx/__init__.py to __init__.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/torch/onnx/utils.py to utils.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/torch/onnx/symbolic.py to symbolic.pyc
running install_egg_info
running egg_info
creating torch.egg-info
writing torch.egg-info/PKG-INFO
writing top-level names to torch.egg-info/top_level.txt
writing dependency_links to torch.egg-info/dependency_links.txt
writing entry points to torch.egg-info/entry_points.txt
writing manifest file 'torch.egg-info/SOURCES.txt'
reading manifest file 'torch.egg-info/SOURCES.txt'
writing manifest file 'torch.egg-info/SOURCES.txt'
Copying torch.egg-info to /usr/local/lib/python2.7/dist-packages/torch-1.0.0a0+46ef2b2.egg-info
running install_scripts
Installing convert-caffe2-to-onnx script to /usr/local/bin
Installing convert-onnx-to-caffe2 script to /usr/local/bin
yongqiang@strong-sys:~/Caffe2_install/pytorch$