{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/10442","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/10442/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/10442/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/10442/events","html_url":"https://github.com/pytorch/pytorch/issues/10442","id":349764234,"node_id":"MDU6SXNzdWUzNDk3NjQyMzQ=","number":10442,"title":"[pytorch ppc64le] Building pytorch from source fails on power architecture machine","user":{"login":"ghltshubh","id":16928813,"node_id":"MDQ6VXNlcjE2OTI4ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/16928813?v=4","gravatar_id":"","url":"https://api.github.com/users/ghltshubh","html_url":"https://github.com/ghltshubh","followers_url":"https://api.github.com/users/ghltshubh/followers","following_url":"https://api.github.com/users/ghltshubh/following{/other_user}","gists_url":"https://api.github.com/users/ghltshubh/gists{/gist_id}","starred_url":"https://api.github.com/users/ghltshubh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghltshubh/subscriptions","organizations_url":"https://api.github.com/users/ghltshubh/orgs","repos_url":"https://api.github.com/users/ghltshubh/repos","events_url":"https://api.github.com/users/ghltshubh/events{/privacy}","received_events_url":"https://api.github.com/users/ghltshubh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-11T21:15:21Z","updated_at":"2018-08-31T23:55:55Z","closed_at":null,"author_association":"NONE","body":"### Issue Description\r\nBuilding pytorch from source fails on power architecture machine.\r\n\r\n### Error reproducibility \r\nFollowed [this](https://developer.ibm.com/code/howtos/install-pytorch-on-power) tutorial to build and install pytorch from source on power architecture system. \r\nIBM POWER8 CPU, NVIDIA Tesla P100 GPU\r\n\r\n### Error messages\r\nmake: *** [all] Error 2\r\nFailed to run 'bash tools/build_pytorch_libs.sh --use-cuda --use-nnpack nccl caffe2 nanopb libshm gloo THD c10d'\r\n\r\n### System Config\r\n- PyTorch or Caffe2: pytorch\r\n- How you installed PyTorch (conda, pip, source): source\r\n- Build command you used (if compiling from source): python setup.py install\r\n- OS: Linux version 3.10.0-693.21.1.el7.ppc64le (mockbuild@ppc-053.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) )\r\n- PyTorch version: v0.4.1\r\n- Python version: 3.6.5\r\n- CUDA/cuDNN version: 8.0/ 7.1.4 \r\nFound cuDNN: v7.1.4  (include: /cuda/9.0.69/include, library: /cuda/9.0.69/lib64/libcudnn.so.7)\r\n- GPU models and configuration: NVIDIA P100\r\n- GCC version (if compiling from source): 4.8.5\r\n- CMake version: 3.12.0\r\n- Versions of any other relevant libraries:  spectrum_mpi instead of libopenmpi-dev-cuda\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/417816338","html_url":"https://github.com/pytorch/pytorch/issues/10442#issuecomment-417816338","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/10442","id":417816338,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzgxNjMzOA==","user":{"login":"ghltshubh","id":16928813,"node_id":"MDQ6VXNlcjE2OTI4ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/16928813?v=4","gravatar_id":"","url":"https://api.github.com/users/ghltshubh","html_url":"https://github.com/ghltshubh","followers_url":"https://api.github.com/users/ghltshubh/followers","following_url":"https://api.github.com/users/ghltshubh/following{/other_user}","gists_url":"https://api.github.com/users/ghltshubh/gists{/gist_id}","starred_url":"https://api.github.com/users/ghltshubh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghltshubh/subscriptions","organizations_url":"https://api.github.com/users/ghltshubh/orgs","repos_url":"https://api.github.com/users/ghltshubh/repos","events_url":"https://api.github.com/users/ghltshubh/events{/privacy}","received_events_url":"https://api.github.com/users/ghltshubh/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T23:55:55Z","updated_at":"2018-08-31T23:55:55Z","author_association":"NONE","body":"This is the exact error after which it starts failing \r\n```\r\nCMake Error at c10d_cuda_test_generated_CUDATest.cu.o.Release.cmake:219 (message):\r\n  Error generating\r\n  /autofs/nccs-svm1_home1/shubhankar/pytorch/torch/lib/build/c10d/test/CMakeFiles/c10d_cuda_test.dir//./c10d_cuda_test_generated_CUDATest.cu.o\r\n\r\n\r\nmake[2]: *** [test/CMakeFiles/c10d_cuda_test.dir/c10d_cuda_test_generated_CUDATest.cu.o] Error 1\r\nmake[1]: *** [test/CMakeFiles/c10d_cuda_test.dir/all] Error 2\r\n```\r\n\r\nand eventually ends up at\r\n\r\n```\r\nmake[2]: *** [example/allreduce] Error 1\r\nmake[1]: *** [example/CMakeFiles/allreduce.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nFailed to run 'bash ../tools/build_pytorch_libs.sh --use-cuda --use-nnpack nccl caffe2 libshm gloo THD c10d'\r\n```"}}
{"actor":{"display_login":"ghltshubh"}}