facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

build error: Linking reshape_op_gpu_test "undefined reference to `TLS init function`" #1297

Closed yangxian10 closed 6 years ago

yangxian10 commented 7 years ago

My environment is centos7.0 + CUDA8.0 + cudnn6.0.21. building stop on linking reshape_op_gpu_test operator_fallback_gpu_test typeid_test

[ 75%] Linking CXX executable binaries/reshape_op_gpu_test CMakeFiles/reshape_op_gpu_test.dir/operators/reshape_op_gpu_test.cc.o: In function caffe2::CUDAContext::~CUDAContext()': reshape_op_gpu_test.cc:(.text._ZN6caffe211CUDAContextD2Ev[_ZN6caffe211CUDAContextD5Ev]+0x420): undefined reference toTLS init function for caffe2::CUDAContext::cudaobjects' libCaffe2_GPU.so: undefined reference to `TLS init function for caffe2::CuDNNWrapper::tls_cudnnhandles' collect2: error: ld returned 1 exit status make[3]: *** [caffe2/binaries/reshape_op_gpu_test] Error 1

Yangqing commented 7 years ago

Could you post the full cmake and make output?

yangxian10 commented 7 years ago

I just do git clone --recursive https://github.com/caffe2/caffe2.git cd caffe2 make -j8 and the log:

-- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.5 -- 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 -- Setting CMAKE_FIND_NO_INSTALL_PREFIX -- Build type not set - defaulting to Release -- 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 Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "2.6.1") -- Found Git: /usr/bin/git (found version "1.8.3.1") -- The BLAS backend of choice:Eigen -- Could NOT find NNPACK (missing: NNPACK_INCLUDE_DIR NNPACK_LIBRARY PTHREADPOOL_LIBRARY) -- Will try to build NNPACK from source. If anything fails, follow the NNPACK prerequisite installation steps. CMake Warning at cmake/External/nnpack.cmake:155 (message): NNPACK is chosen to be installed, but confu and ninja that are needed by it are not installed. As a result we won't build with NNPACK. Call Stack (most recent call first): cmake/Dependencies.cmake:73 (include) CMakeLists.txt:74 (include)

CMake Warning at cmake/Dependencies.cmake:78 (message): Not compiling with NNPACK. Suppress this warning with -DUSE_NNPACK=OFF Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- Found GFlags: /usr/local/include
-- Found gflags (include: /usr/local/include, library: /usr/local/lib/libgflags.a) -- Found system gflags install. -- Found Glog: /usr/local/include
-- Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.so) -- Found system glog install. -- Found PythonInterp: /usr/anaconda2/bin/python (found version "2.7.11") -- Could NOT find Benchmark (missing: Benchmark_INCLUDE_DIR Benchmark_LIBRARY) -- git Version: v0.0.0-dirty -- Version: 0.0.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_WZERO_AS_NULL_POINTER_CONSTANT -- Performing Test HAVE_CXX_FLAG_WZERO_AS_NULL_POINTER_CONSTANT - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- 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 -- compiled but failed to run -- 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 -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Performing Test BENCHMARK_HAS_CXX03_FLAG -- Performing Test BENCHMARK_HAS_CXX03_FLAG - Success -- Found LMDB: /usr/local/include
-- Found lmdb (include: /usr/local/include, library: /usr/local/lib/liblmdb.so) -- Found LevelDB: /usr/local/include
-- Found LevelDB (include: /usr/local/include, library: /usr/lib/libleveldb.so) -- Found Snappy: /usr/include
-- Found Snappy (include: /usr/include, library: /usr/lib64/libsnappy.so) -- Could NOT find RocksDB (missing: RocksDB_INCLUDE_DIR RocksDB_LIBRARIES) CMake Warning at cmake/Dependencies.cmake:159 (message): Not compiling with RocksDB. Suppress this warning with -DUSE_ROCKSDB=OFF Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- Found CUDA: /usr/local/cuda-8.0 (found suitable exact version "8.0") -- OpenCV found (/usr/local/share/OpenCV) -- Found PythonInterp: /usr/anaconda2/bin/python (found suitable version "2.7.11", minimum required is "2.7") -- Found PythonLibs: /usr/anaconda2/lib/libpython2.7.so (found suitable version "2.7.11", minimum required is "2.7") -- Found NumPy: /usr/anaconda2/lib/python2.7/site-packages/numpy/core/include (found version "1.12.0") -- NumPy ver. 1.12.0 found (include: /usr/anaconda2/lib/python2.7/site-packages/numpy/core/include) -- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) -- Found MPI_C: /opt/openmpi-1.8.5/lib/libmpi.so
-- Found MPI_CXX: /opt/openmpi-1.8.5/lib/libmpi_cxx.so;/opt/openmpi-1.8.5/lib/libmpi.so
-- MPI support found -- MPI compile flags: -- MPI include path: /opt/openmpi-1.8.5/include -- MPI LINK flags path: -Wl,-rpath -Wl,/opt/openmpi-1.8.5/lib -Wl,--enable-new-dtags -- MPI libraries: /opt/openmpi-1.8.5/lib/libmpi_cxx.so/opt/openmpi-1.8.5/lib/libmpi.so CMake Warning at cmake/Dependencies.cmake:273 (message): OpenMPI found, but it is not built with CUDA support. Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- 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
-- Adding -fopenmp -- CUDA detected: 8.0 -- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 -- Found libcuda: /usr/lib64/libcuda.so -- Found libnvrtc: /usr/local/cuda-8.0/lib64/libnvrtc.so -- Found CUDNN: /usr/local/cuda-8.0/include
-- Found cuDNN: v6.0.21 (include: /usr/local/cuda-8.0/include, library: /usr/local/cuda-8.0/lib64/libcudnn.so) -- Found NCCL: /usr/local/include
-- Found NCCL (include: /usr/local/include, library: /usr/local/lib/libnccl.so) -- NCCL: /usr/local/lib/libnccl.so -- Could NOT find CUB (missing: CUB_INCLUDE_DIR) -- Could NOT find Gloo (missing: Gloo_INCLUDE_DIR Gloo_LIBRARY) -- MPI include path: /opt/openmpi-1.8.5/include -- MPI libraries: /opt/openmpi-1.8.5/lib/libmpi_cxx.so/opt/openmpi-1.8.5/lib/libmpi.so -- Found CUDA: /usr/local/cuda-8.0 (found suitable version "8.0", minimum required is "7.0") -- CUDA detected: 8.0 -- Found libcuda: /usr/lib64/libcuda.so -- Found libnvrtc: /usr/local/cuda-8.0/lib64/libnvrtc.so -- Found nccl: /usr/local/include
-- Found nccl (include: /usr/local/include, library: /usr/local/lib/libnccl.so) CMake Warning at cmake/Dependencies.cmake:408 (message): mobile opengl is only used in android or ios builds. Call Stack (most recent call first): CMakeLists.txt:74 (include)

CMake Warning at cmake/Dependencies.cmake:428 (message): Metal is only used in ios builds. Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- Performing Test CAFFE2_LONG_IS_INT32_OR_64 -- Performing Test CAFFE2_LONG_IS_INT32_OR_64 - Success -- Does not need to define long separately. -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Failed -- Turning off deprecation warning due to glog. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success -- Current compiler supports avx2 extention. Will build perfkernels. -- GCC 4.8.2: Adding gcc and gcc_s libs to link line -- Include NCCL operators -- Including image processing operators -- Excluding video processing operators due to no opencv -- Excluding mkl operators as we are not using mkl -- Automatically generating missing init.py files. -- -- **** Summary **** -- General: -- Git version : v0.8.1-434-g68a3fea-dirty -- System : Linux -- C++ compiler : /usr/bin/c++ -- C++ compiler version : 4.8.2 -- Protobuf compiler : /usr/local/bin/protoc -- CXX flags : -fopenmp -Wno-deprecated -std=c++11 -O2 -fPIC -Wno-narrowing -- Build type : Release -- Compile definitions : -- -- BUILD_BINARY : ON -- BUILD_PYTHON : ON -- Python version : 2.7.11 -- Python library : /usr/anaconda2/lib/libpython2.7.so -- BUILD_SHARED_LIBS : ON -- BUILD_TEST : ON -- USE_ATEN : OFF -- USE_EIGEN_FOR_BLAS : 1 -- USE_CUDA : ON -- CUDA version : 8.0 -- CuDNN version : 6.0.21 -- USE_FFMPEG : OFF -- USE_GFLAGS : ON -- USE_GLOG : ON -- USE_GLOO : ON -- USE_LEVELDB : ON -- LevelDB version : 1.18 -- Snappy version : 1.1.0 -- USE_LITE_PROTO : OFF -- USE_LMDB : ON -- LMDB version : 0.9.70 -- USE_METAL : OFF -- USE_MKL : -- USE_MOBILE_OPENGL : OFF -- USE_MPI : ON -- USE_NCCL : ON -- USE_NERVANA_GPU : OFF -- USE_NNPACK : OFF -- USE_OBSERVERS : OFF -- USE_OPENCV : ON -- OpenCV version : 2.4.13 -- USE_OPENMP : ON -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_THREADS : ON -- USE_ZMQ : OFF -- Configuring done -- Generating done -- Build files have been written to: /home/15072585/caffe2_gpu/build make[1]: Entering directory /home/15072585/caffe2_gpu/build' make[2]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 0%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe/proto/caffe.proto Scanning dependencies of target python_copy_files Scanning dependencies of target output_test_helper make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 0%] Building CXX object third_party/benchmark/test/CMakeFiles/output_test_helper.dir/output_test_helper.cc.o Scanning dependencies of target benchmark Scanning dependencies of target gtest make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 0%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o Scanning dependencies of target gmock_main Scanning dependencies of target gmock make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 1%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o [ 1%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/__/googletest/src/gtest-all.cc.o Scanning dependencies of target gloo make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o Scanning dependencies of target Caffe_PROTO make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 1%] Building CXX object caffe/proto/CMakeFiles/Caffe_PROTO.dir/caffe.pb.cc.o [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o [ 1%] Linking CXX static library liboutput_test_helper.a make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 1%] Built target output_test_helper [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 1%] Built target python_copy_files [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o [ 1%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [ 2%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 2%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/prof_dag.proto [ 2%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/caffe2.proto [ 2%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/caffe2_legacy.proto [ 2%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/hsm.proto [ 3%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/metanet.proto [ 3%] Running C++/Python protocol buffer compiler on /home/15072585/caffe2_gpu/caffe2/proto/predictor_consts.proto Scanning dependencies of target Caffe2_PROTO make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 3%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/mpi/context.cc.o [ 4%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [ 4%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [ 5%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [ 5%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o [ 5%] Linking CXX shared library libgtest.so [ 5%] Linking CXX shared library libgmock.so make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 5%] Built target gtest [ 5%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 5%] Built target gmock [ 5%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o [ 5%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [ 6%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 7%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o Scanning dependencies of target gtest_main make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 7%] Building CXX object third_party/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 7%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o [ 7%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 7%] Built target benchmark [ 8%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o [ 8%] Linking CXX shared library libgtest_main.so make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target reporter_output_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 8%] Building CXX object third_party/benchmark/test/CMakeFiles/reporter_output_test.dir/reporter_output_test.cc.o [ 8%] Built target gtest_main [ 8%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target multiple_ranges_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 8%] Building CXX object third_party/benchmark/test/CMakeFiles/multiple_ranges_test.dir/multiple_ranges_test.cc.o make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target cxx03_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 8%] Building CXX object third_party/benchmark/test/CMakeFiles/cxx03_test.dir/cxx03_test.cc.o [ 8%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o [ 8%] Linking CXX executable cxx03_test make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 8%] Built target cxx03_test Scanning dependencies of target map_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 8%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [ 9%] Building CXX object third_party/benchmark/test/CMakeFiles/map_test.dir/map_test.cc.o [ 9%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o [ 9%] Linking CXX executable multiple_ranges_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 9%] Built target multiple_ranges_test [ 9%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o [ 9%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [ 9%] Linking CXX executable map_test [ 9%] Linking CXX executable reporter_output_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 9%] Built target map_test [ 9%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 9%] Built target reporter_output_test [ 10%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target benchmark_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target basic_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 10%] Building CXX object third_party/benchmark/test/CMakeFiles/benchmark_test.dir/benchmark_test.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 10%] Building CXX object third_party/benchmark/test/CMakeFiles/basic_test.dir/basic_test.cc.o [ 10%] Linking CXX shared library libgmock_main.so make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 10%] Built target gmock_main [ 10%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target complexity_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 10%] Building CXX object third_party/benchmark/test/CMakeFiles/complexity_test.dir/complexity_test.cc.o [ 10%] Linking CXX executable basic_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 10%] Built target Caffe2_PROTO make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target diagnostics_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 10%] Built target basic_test make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 10%] Building CXX object third_party/benchmark/test/CMakeFiles/diagnostics_test.dir/diagnostics_test.cc.o Scanning dependencies of target options_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 11%] Building CXX object third_party/benchmark/test/CMakeFiles/options_test.dir/options_test.cc.o make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target skip_with_error_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 11%] Building CXX object third_party/benchmark/test/CMakeFiles/skip_with_error_test.dir/skip_with_error_test.cc.o [ 11%] Linking CXX executable diagnostics_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 11%] Built target diagnostics_test make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target fixture_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 11%] Building CXX object third_party/benchmark/test/CMakeFiles/fixture_test.dir/fixture_test.cc.o [ 11%] Linking CXX executable options_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 11%] Built target options_test make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target donotoptimize_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 11%] Building CXX object third_party/benchmark/test/CMakeFiles/donotoptimize_test.dir/donotoptimize_test.cc.o [ 11%] Linking CXX executable benchmark_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 11%] Built target benchmark_test make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target filter_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 11%] Linking CXX executable complexity_test [ 11%] Building CXX object third_party/benchmark/test/CMakeFiles/filter_test.dir/filter_test.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target register_benchmark_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 12%] Building CXX object third_party/benchmark/test/CMakeFiles/register_benchmark_test.dir/register_benchmark_test.cc.o make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 12%] Built target complexity_test [ 12%] Linking CXX executable donotoptimize_test [ 12%] Linking CXX executable fixture_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 12%] Built target donotoptimize_test [ 12%] Built target fixture_test [ 12%] Linking CXX executable skip_with_error_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 12%] Built target skip_with_error_test [ 12%] Linking CXX executable filter_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 12%] Built target filter_test [ 12%] Linking CXX executable register_benchmark_test make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 12%] Built target register_benchmark_test [ 12%] Linking CXX static library libgloo.a make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 12%] Built target gloo make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 12%] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/nccl/gloo_cuda_generated_nccl.cu.o [ 12%] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda.cu.o [ 12%] Building NVCC (Device) object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/gloo_cuda_generated_cuda_private.cu.o make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 12%] Built target Caffe_PROTO make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target Caffe2_perfkernels_avx make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' Scanning dependencies of target Caffe2_perfkernels_avx2 make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 12%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o [ 12%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o [ 12%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o [ 13%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o [ 13%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 13%] Built target Caffe2_perfkernels_avx make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 13%] Built target Caffe2_perfkernels_avx2 make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target Caffe2_CPU make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 13%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/barrier_ops.cc.o [ 13%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/broadcast_ops.cc.o [ 13%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/common.cc.o [ 13%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/common_world_ops.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/context.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/contrib/gloo/store_handler.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/allocator.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/blob_serialization.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/blob_stats.cc.o [ 14%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/common.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/db.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/event.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/flags.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/graph.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/init.cc.o [ 15%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/init_omp.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/logging.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/memonger.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/net.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/net_dag.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/net_simple.cc.o [ 16%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/net_simple_async.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/operator.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/operator_schema.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/plan_executor.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/predictor.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/qtensor.cc.o [ 17%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/qtensor_serialization.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/stats.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/tensor.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/transform.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/typeid.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/types.cc.o [ 18%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/core/workspace.cc.o [ 19%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/db/create_db_op.cc.o Scanning dependencies of target gloo_cuda make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 20%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_halving_doubling.cc.o [ 20%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring.cc.o [ 20%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_allreduce_ring_chunked.cc.o [ 20%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo_cuda.dir/cuda_broadcast_one_to_all.cc.o [ 20%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/db/protodb.cc.o [ 20%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/db/lmdb.cc.o [ 20%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/db/leveldb.cc.o [ 20%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/distributed/file_store_handler.cc.o [ 20%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/distributed/file_store_handler_op.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/distributed/store_handler.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/distributed/store_ops.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/image/image_input_op.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/mpi/mpi_common.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/mpi/mpi_ops.cc.o [ 21%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/abs_op.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/accumulate_op.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/accuracy_op.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/apmeter_op.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/atomic_ops.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/batch_box_cox_op.cc.o [ 22%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/batch_gather_ops.cc.o [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/batch_matmul_op.cc.o [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/boolean_mask_ops.cc.o [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/boolean_unmask_ops.cc.o [ 23%] Linking CXX static library libgloo_cuda.a [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/cast_op.cc.o make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 23%] Built target gloo_cuda [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/channel_shuffle_op.cc.o [ 23%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/clip_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/communicator_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/concat_split_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conditional_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_gradient_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_op.cc.o [ 24%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_op_eigen.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_op_shared.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_transpose_gradient_op.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_transpose_op.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/conv_transpose_op_mobile.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/cos_op.cc.o [ 25%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/cosine_embedding_criterion_op.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/counter_ops.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/create_scope_op.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/cross_entropy_op.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/dataset_ops.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/deform_conv_gradient_op.cc.o [ 26%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/deform_conv_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/distance_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/do_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/dropout_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_add_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_div_op.cc.o [ 27%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_linear_op.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_logical_ops.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_mul_op.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_op.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_op_schema.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_sub_op.cc.o [ 28%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elementwise_sum_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/elu_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/exp_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/expand_squeeze_dims_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/extend_tensor_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/feed_blob_op.cc.o [ 29%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/filler_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/find_duplicate_elements_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/find_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/free_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/fully_connected_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/gather_ranges_to_dense_op.cc.o [ 30%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/given_tensor_fill_op.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/gru_unit_op.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/h_softmax_op.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/half_float_ops.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/if_op.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/im2col_op.cc.o [ 31%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/index_hash_ops.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/index_ops.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/instance_norm_gradient_op.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/instance_norm_op.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/last_n_window_collector.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/layer_norm_op.cc.o [ 32%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/leaky_relu_op.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lengths_reducer_ops.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lengths_reducer_rowwise_8bit_ops.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lengths_tile_op.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lengths_top_k_op.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/load_save_op.cc.o [ 33%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/local_response_normalization_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/log_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/logit_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/loss_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lp_pool_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lpnorm_op.cc.o [ 34%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/lstm_unit_op.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/map_ops.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/margin_ranking_criterion_op.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/math_ops.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/matmul_op.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/merge_id_lists_op.cc.o [ 35%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/multi_class_accuracy_op.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/negative_op.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/normalize_op.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/one_hot_ops.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/order_switch_ops.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/pack_rnn_sequence_op.cc.o [ 36%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/pack_segments.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/pad_op.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/partition_ops.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/perplexity_op.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/piecewise_linear_transform_op.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/pool_gradient_op.cc.o [ 37%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/pool_op.cc.o [ 38%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/prelu_op.cc.o [ 38%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/prepend_dim_op.cc.o [ 38%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/rank_loss_op.cc.o [ 38%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/recurrent_network_blob_fetcher_op.cc.o [ 38%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/recurrent_network_executor.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/recurrent_network_op.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/reduction_front_back_ops.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/reduction_ops.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/relu_op.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/remove_data_blocks_op.cc.o [ 39%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/replace_nan_op.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/reservoir_sampling.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/reshape_op.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/resize_op.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/reverse_packed_segs_op.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/rmac_regions_op.cc.o [ 40%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/roi_pool_op.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/rowmul_op.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/scale_op.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/segment_reduction_op.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sequence_ops.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/shape_op.cc.o [ 41%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sigmoid_op.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sin_op.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sinusoid_position_encoding_op.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/slice_op.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/softmax_op.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/softmax_shared.cc.o [ 42%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/softmax_with_loss_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/softplus_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/softsign_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/space_batch_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sparse_to_dense_mask_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/sparse_to_dense_op.cc.o [ 43%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/spatial_batch_norm_gradient_op.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/spatial_batch_norm_op.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/spatial_softmax_with_loss_op.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/square_root_divide_op.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/stats_ops.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/stop_gradient.cc.o [ 44%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/string_ops.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/summarize_op.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/tanh_op.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/tensor_protos_db_input.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/text_file_reader.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/text_file_reader_utils.cc.o [ 45%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/tile_op.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/top_k.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/transpose_op.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/tt_linear_op.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/utility_ops.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/while_op.cc.o [ 46%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/workspace_ops.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/zero_gradient_op.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/perfkernels/embedding_lookup.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/perfkernels/typed_axpy.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/queue/blobs_queue.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/queue/blobs_queue_db.cc.o [ 47%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/queue/queue_ops.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/queue/rebatching_queue.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/queue/rebatching_queue_ops.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/adagrad_op.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/adam_op.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/ftrl_op.cc.o [ 48%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/iter_op.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/learning_rate_op.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/momentum_sgd_op.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/rmsprop_op.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/sgd/yellowfin_op.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/transforms/common_subexpression_elimination.cc.o [ 49%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/transforms/conv_to_nnpack_transform.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/transforms/pattern_net_transform.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/transforms/single_op_transform.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/cpuid.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/math_cpu.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/murmur_hash3.cc.o [ 50%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/proto_utils.cc.o [ 51%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/signal_handler.cc.o [ 51%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/smart_tensor_printer.cc.o [ 51%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/string_utils.cc.o [ 51%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/utils/threadpool/ThreadPool.cc.o [ 51%] Linking CXX shared library libCaffe2_CPU.so make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 51%] Built target Caffe2_CPU make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 51%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/utils/Caffe2_GPU_generated_math_gpu.cu.o [ 51%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/core/Caffe2_GPU_generated_context_gpu.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/image/Caffe2_GPU_generated_transform_gpu.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_accuracy_op.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_accumulate_op.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_batch_gather_ops.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_abs_op.cu.o [ 52%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_batch_matmul_op.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_boolean_mask_ops.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_boolean_unmask_ops.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_cast_op.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_channel_shuffle_op_gpu.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_clip_op.cu.o [ 53%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_cos_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_cosine_embedding_criterion_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_cross_entropy_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_deform_conv_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_distance_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_dropout_op.cu.o [ 54%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_elementwise_linear_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_elementwise_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_elu_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_exp_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_filler_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_find_op.cu.o [ 55%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_given_tensor_fill_op.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_gru_unit_op_gpu.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_half_float_ops.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_instance_norm_op.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_layer_norm_op.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_leaky_relu_op.cu.o [ 56%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_local_response_normalization_op.cu.o [ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_log_op.cu.o [ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_logit_op.cu.o [ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_loss_op.cu.o [ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_lp_pool_op.cu.o [ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_lstm_unit_op_gpu.cu.o /home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

[ 57%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_margin_ranking_criterion_op.cu.o /home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

[ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_math_ops.cu.o /home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(40): warning: function "caffe2::::cuda_pow(T, T) [with T=double]" was declared but never referenced

/home/15072585/caffe2_gpu/caffe2/operators/lp_pool_op.cu(49): warning: function "caffe2::::cuda_abs(T) [with T=double]" was declared but never referenced

[ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_max_pool_with_index.cu.o [ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_mem_query_op.cu.o [ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_multi_class_accuracy_op.cu.o [ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_negative_op.cu.o [ 58%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_normalize_op.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_one_hot_ops.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_order_switch_ops.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_pad_op_gpu.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_perplexity_op.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_piecewise_linear_transform_op.cu.o [ 59%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_pool_op.cu.o [ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_pool_op_cudnn.cu.o [ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_prelu_op.cu.o [ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_recurrent_network_op_gpu.cu.o /home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

[ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_reduction_front_back_ops.cu.o /home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

[ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_reduction_ops.cu.o /home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

[ 60%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_relu_op.cu.o /home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(72): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_executor.h(76): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(71): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(74): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

/home/15072585/caffe2_gpu/caffe2/operators/recurrent_network_op.h(75): warning: the "template" keyword used for syntactic disambiguation may only be used within a template

[ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_relu_op_fp16.cu.o [ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_resize_op.cu.o [ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_reverse_packed_segs_op.cu.o [ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_rmac_regions_op.cu.o [ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_roi_pool_op.cu.o [ 61%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_segment_reduction_op_gpu.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_sigmoid_op.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_sin_op.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_slice_op.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_softmax_ops.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_softplus_op.cu.o [ 62%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_softsign_op.cu.o [ 63%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_space_batch_op_gpu.cu.o [ 63%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_sparse_to_dense_op.cu.o [ 63%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_summarize_op.cu.o [ 63%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_tanh_op.cu.o [ 63%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_tile_op.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_top_k.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_transpose_op.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/Caffe2_GPU_generated_utility_ops.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/Caffe2_GPU_generated_adagrad_op_gpu.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/Caffe2_GPU_generated_adam_op_gpu.cu.o [ 64%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/Caffe2_GPU_generated_momentum_sgd_op_gpu.cu.o [ 65%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/Caffe2_GPU_generated_rmsprop_op_gpu.cu.o [ 65%] Building NVCC (Device) object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/Caffe2_GPU_generated_yellowfin_op_gpu.cu.o Scanning dependencies of target Caffe2_GPU make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' [ 65%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/contrib/gloo/allreduce_ops_gpu.cc.o [ 65%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/contrib/gloo/common_world_ops_gpu.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/contrib/nccl/cuda_nccl_gpu.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/contrib/nccl/cuda_nccl_op_gpu.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/common_cudnn.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/blob_serialization_gpu.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/common_gpu.cc.o [ 66%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/event_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/net_async_dag_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/core/net_singlethread_async_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/cuda_rtc/elemenntwise_rtc_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/cuda_rtc/pool_op_rtc_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/db/create_db_op_gpu.cc.o [ 67%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/distributed/file_store_handler_op_gpu.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/image/image_input_op_gpu.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/mpi/mpi_ops_gpu.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_op_cache_cudnn.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_op_cudnn.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_transpose_op_cudnn.cc.o [ 68%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/dropout_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/local_response_normalization_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/recurrent_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/relu_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/softmax_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/spatial_batch_norm_op_cudnn.cc.o [ 69%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/transpose_op_cudnn.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/communicator_op_gpu.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/concat_split_op_gpu.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_op_gpu.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_op_shared_gpu.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/conv_transpose_op_gpu.cc.o [ 70%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/counter_ops_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/expand_squeeze_dims_op_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/free_op_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/fully_connected_op_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/im2col_op_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/load_save_op_gpu.cc.o [ 71%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/matmul_op_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/pack_segments_op_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/prepend_dim_op_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/recurrent_network_blob_fetcher_op_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/recurrent_network_executor_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/reshape_op_gpu.cc.o [ 72%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/scale_op_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/shape_op_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/stop_gradient_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/tensor_protos_db_input_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/utility_ops_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/operators/zero_gradient_op_gpu.cc.o [ 73%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/queue/queue_ops_gpu.cc.o [ 74%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/iter_op_gpu.cc.o [ 74%] Building CXX object caffe2/CMakeFiles/Caffe2_GPU.dir/sgd/learning_rate_op_gpu.cc.o [ 74%] Linking CXX shared library libCaffe2_GPU.so make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 74%] Built target Caffe2_GPU make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target cpuid_test Scanning dependencies of target timer_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Leaving directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target fatal_signal_asan_no_sig_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 74%] Building CXX object caffe2/CMakeFiles/cpuid_test.dir/utils/cpuid_test.cc.o [ 74%] Building CXX object caffe2/CMakeFiles/timer_test.dir/core/timer_test.cc.o [ 74%] Building CXX object caffe2/CMakeFiles/fatal_signal_asan_no_sig_test.dir/utils/fatal_signal_asan_no_sig_test.cc.o Scanning dependencies of target typeid_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 74%] Building CXX object caffe2/CMakeFiles/typeid_test.dir/core/typeid_test.cc.o Scanning dependencies of target reshape_op_gpu_test Scanning dependencies of target operator_fallback_gpu_test make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[3]: Entering directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' Scanning dependencies of target caffe2_pybind11_state make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 75%] Building CXX object caffe2/CMakeFiles/operator_fallback_gpu_test.dir/operators/operator_fallback_gpu_test.cc.o make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 75%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o Scanning dependencies of target caffe2_pybind11_state_gpu make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[3]: Entering directory /home/15072585/caffe2_gpu/build' [ 75%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state.cc.o [ 75%] Linking CXX executable binaries/cpuid_test [ 75%] Linking CXX executable binaries/timer_test libCaffe2_GPU.so: undefined reference toTLS init function for caffe2::CUDAContext::cudaobjects' libCaffe2_GPU.so: undefined reference to TLS init function for caffe2::CuDNNWrapper::tls_cudnn_handles_' collect2: error: ld returned 1 exit status make[3]: *** [caffe2/binaries/cpuid_test] Error 1 make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[2]: [caffe2/CMakeFiles/cpuid_test.dir/all] Error 2 make[2]: Waiting for unfinished jobs.... [ 75%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_mkl.cc.o [ 75%] Linking CXX executable binaries/fatal_signal_asan_no_sig_test libCaffe2_GPU.so: undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' libCaffe2_GPU.so: undefined reference toTLS init function for caffe2::CuDNNWrapper::tls_cudnnhandles' collect2: error: ld returned 1 exit status make[3]: [caffe2/binaries/timer_test] Error 1 make[3]: Leaving directory `/home/15072585/caffe2_gpu/build' make[2]: [caffe2/CMakeFiles/timer_test.dir/all] Error 2 [ 75%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state_gpu.dir/python/pybind_state_gpu.cc.o libCaffe2_GPU.so: undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' libCaffe2_GPU.so: undefined reference toTLS init function for caffe2::CuDNNWrapper::tls_cudnnhandles' collect2: error: ld returned 1 exit status make[3]: [caffe2/binaries/fatal_signal_asan_no_sig_test] Error 1 make[3]: Leaving directory `/home/15072585/caffe2_gpu/build' make[2]: [caffe2/CMakeFiles/fatal_signal_asan_no_sig_test.dir/all] Error 2 [ 75%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_mkl.cc.o [ 75%] Linking CXX executable binaries/typeid_test libCaffe2_GPU.so: undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' libCaffe2_GPU.so: undefined reference toTLS init function for caffe2::CuDNNWrapper::tls_cudnnhandles' collect2: error: ld returned 1 exit status make[3]: [caffe2/binaries/typeid_test] Error 1 make[3]: Leaving directory `/home/15072585/caffe2_gpu/build' make[2]: [caffe2/CMakeFiles/typeid_test.dir/all] Error 2 [ 75%] Linking CXX executable binaries/reshape_op_gpu_test CMakeFiles/reshape_op_gpu_test.dir/operators/reshape_op_gpu_test.cc.o: In function caffe2::CUDAContext::~CUDAContext()': reshape_op_gpu_test.cc:(.text._ZN6caffe211CUDAContextD2Ev[_ZN6caffe211CUDAContextD5Ev]+0x420): undefined reference toTLS init function for caffe2::CUDAContext::cudaobjects' libCaffe2_GPU.so: undefined reference to TLS init function for caffe2::CuDNNWrapper::tls_cudnn_handles_' collect2: error: ld returned 1 exit status make[3]: *** [caffe2/binaries/reshape_op_gpu_test] Error 1 make[3]: Leaving directory/home/15072585/caffe2_gpu/build' make[2]: [caffe2/CMakeFiles/reshape_op_gpu_test.dir/all] Error 2 [ 75%] Linking CXX executable binaries/operator_fallback_gpu_test CMakeFiles/operator_fallback_gpu_test.dir/operators/operator_fallback_gpu_test.cc.o: In function `void caffe2::CUDAContext::CopyBytes<caffe2::CPUContext, caffe2::CUDAContext>(unsigned long, void const, void)': operator_fallback_gpu_test.cc:(.text._ZN6caffe211CUDAContext9CopyBytesINS_10CPUContextES0_EEvmPKvPv[_ZN6caffe211CUDAContext9CopyBytesINS_10CPUContextES0_EEvmPKvPv]+0x20): undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' CMakeFiles/operator_fallback_gpu_test.dir/operators/operator_fallback_gpu_test.cc.o: In functioncaffe2::CUDAContext::FinishDeviceComputation()': operator_fallback_gpu_test.cc:(.text._ZN6caffe211CUDAContext23FinishDeviceComputationEv[_ZN6caffe211CUDAContext23FinishDeviceComputationEv]+0xc): undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' CMakeFiles/operator_fallback_gpu_test.dir/operators/operator_fallback_gpu_test.cc.o: In functionvoid caffe2::CUDAContext::CopyBytes<caffe2::CUDAContext, caffe2::CPUContext>(unsigned long, void const, void)': operator_fallback_gpu_test.cc:(.text._ZN6caffe211CUDAContext9CopyBytesIS0_NS_10CPUContextEEEvmPKvPv[_ZN6caffe211CUDAContext9CopyBytesIS0_NS_10CPUContextEEEvmPKvPv]+0x20): undefined reference to TLS init function for caffe2::CUDAContext::cuda_objects_' libCaffe2_GPU.so: undefined reference toTLS init function for caffe2::CuDNNWrapper::tls_cudnnhandles' collect2: error: ld returned 1 exit status make[3]: [caffe2/binaries/operator_fallback_gpu_test] Error 1 make[3]: Leaving directory /home/15072585/caffe2_gpu/build' make[2]: *** [caffe2/CMakeFiles/operator_fallback_gpu_test.dir/all] Error 2 [ 76%] Linking CXX shared module python/caffe2_pybind11_state.so [ 76%] Linking CXX shared module python/caffe2_pybind11_state_gpu.so make[3]: Leaving directory/home/15072585/caffe2_gpu/build' [ 76%] Built target caffe2_pybind11_state make[3]: Leaving directory /home/15072585/caffe2_gpu/build' [ 76%] Built target caffe2_pybind11_state_gpu make[2]: Leaving directory/home/15072585/caffe2_gpu/build' make[1]: [all] Error 2 make[1]: Leaving directory `/home/15072585/caffe2_gpu/build' make: [all] Error 2

If I set CUDA option OFF, it's OK. thanks for your attention :)

pietern commented 7 years ago

This is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59364.

Looks like it was solved in GCC 4.9.

Masaokb commented 7 years ago

I encountered the same bug as this. My env is Ubuntu16.04, CUDA8.0, cudnn7.0.3, and gcc4.9.4.

pietern commented 6 years ago

No activity on this issue, closing.

@Masaokb If you encounter the same or similar issue (I think it must be different if you're using GCC 4.9.4), please open a new issue and include all relevant information about your environment.