Created
January 29, 2019 18:25
-
-
Save mcarilli/05a94a92cd8118fdfec5e168805f74fe to your computer and use it in GitHub Desktop.
Revisions
-
mcarilli created this gist
Jan 29, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ (pytorch_master) cpp_extensions$ python setup.py install running install running bdist_egg running egg_info creating torch_test_cpp_extension.egg-info writing torch_test_cpp_extension.egg-info/PKG-INFO writing dependency_links to torch_test_cpp_extension.egg-info/dependency_links.txt writing top-level names to torch_test_cpp_extension.egg-info/top_level.txt writing manifest file 'torch_test_cpp_extension.egg-info/SOURCES.txt' reading manifest file 'torch_test_cpp_extension.egg-info/SOURCES.txt' writing manifest file 'torch_test_cpp_extension.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/torch_test_cpp_extension copying torch_test_cpp_extension/__init__.py -> build/lib.linux-x86_64-3.7/torch_test_cpp_extension running build_ext building 'torch_test_cpp_extension.cpp' extension creating build/temp.linux-x86_64-3.7 gcc -pthread -B /home/mcarilli/anaconda3/envs/pytorch_master/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/TH -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/THC -I/home/mcarilli/anaconda3/envs/pytorch_master/include/python3.7m -c extension.cpp -o build/temp.linux-x86_64-3.7/extension.o -g -Werror -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cpp -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ g++ -pthread -shared -B /home/mcarilli/anaconda3/envs/pytorch_master/compiler_compat -L/home/mcarilli/anaconda3/envs/pytorch_master/lib -Wl,-rpath=/home/mcarilli/anaconda3/envs/pytorch_master/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/extension.o -o build/lib.linux-x86_64-3.7/torch_test_cpp_extension/cpp.cpython-37m-x86_64-linux-gnu.so building 'torch_test_cpp_extension.cuda' extension gcc -pthread -B /home/mcarilli/anaconda3/envs/pytorch_master/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/TH -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/mcarilli/anaconda3/envs/pytorch_master/include/python3.7m -c cuda_extension.cpp -o build/temp.linux-x86_64-3.7/cuda_extension.o -g -Werror -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cuda -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/local/cuda/bin/nvcc -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/TH -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/mcarilli/anaconda3/envs/pytorch_master/include/python3.7m -c cuda_extension_kernel.cu -o build/temp.linux-x86_64-3.7/cuda_extension_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cuda -std=c++11 /usr/local/cuda/bin/nvcc -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/TH -I/home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/mcarilli/anaconda3/envs/pytorch_master/include/python3.7m -c cuda_extension_kernel2.cu -o build/temp.linux-x86_64-3.7/cuda_extension_kernel2.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cuda -std=c++11 g++ -pthread -shared -B /home/mcarilli/anaconda3/envs/pytorch_master/compiler_compat -L/home/mcarilli/anaconda3/envs/pytorch_master/lib -Wl,-rpath=/home/mcarilli/anaconda3/envs/pytorch_master/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cuda_extension.o build/temp.linux-x86_64-3.7/cuda_extension_kernel.o build/temp.linux-x86_64-3.7/cuda_extension_kernel2.o -L/usr/local/cuda/lib64 -lcudart -o build/lib.linux-x86_64-3.7/torch_test_cpp_extension/cuda.cpython-37m-x86_64-linux-gnu.so creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/torch_test_cpp_extension copying build/lib.linux-x86_64-3.7/torch_test_cpp_extension/cuda.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/torch_test_cpp_extension copying build/lib.linux-x86_64-3.7/torch_test_cpp_extension/cpp.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/torch_test_cpp_extension copying build/lib.linux-x86_64-3.7/torch_test_cpp_extension/__init__.py -> build/bdist.linux-x86_64/egg/torch_test_cpp_extension byte-compiling build/bdist.linux-x86_64/egg/torch_test_cpp_extension/__init__.py to __init__.cpython-37.pyc creating stub loader for torch_test_cpp_extension/cpp.cpython-37m-x86_64-linux-gnu.so creating stub loader for torch_test_cpp_extension/cuda.cpython-37m-x86_64-linux-gnu.so byte-compiling build/bdist.linux-x86_64/egg/torch_test_cpp_extension/cpp.py to cpp.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/torch_test_cpp_extension/cuda.py to cuda.cpython-37.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying torch_test_cpp_extension.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying torch_test_cpp_extension.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying torch_test_cpp_extension.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying torch_test_cpp_extension.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt zip_safe flag not set; analyzing archive contents... torch_test_cpp_extension.__pycache__.cpp.cpython-37: module references __file__ torch_test_cpp_extension.__pycache__.cuda.cpython-37: module references __file__ creating dist creating 'dist/torch_test_cpp_extension-0.0.0-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing torch_test_cpp_extension-0.0.0-py3.7-linux-x86_64.egg creating /home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch_test_cpp_extension-0.0.0-py3.7-linux-x86_64.egg Extracting torch_test_cpp_extension-0.0.0-py3.7-linux-x86_64.egg to /home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages Adding torch-test-cpp-extension 0.0.0 to easy-install.pth file Installed /home/mcarilli/anaconda3/envs/pytorch_master/lib/python3.7/site-packages/torch_test_cpp_extension-0.0.0-py3.7-linux-x86_64.egg Processing dependencies for torch-test-cpp-extension==0.0.0 Finished processing dependencies for torch-test-cpp-extension==0.0.0