#Stack smashing detected recursion install#
The only thing I did differently before is that I didn’t install some of the required packages through conda, but instead used pip or apt-get.
#Stack smashing detected recursion how to#
Yes, I do follow the instructions in CONTRIBUTING.md and more specifically on how to build from source. I would be really grateful for help in resolving these. But those didn’t seem actionable for this case, or maybe I just didn’t understand what I’m supposed to do exactly to remedy this. I read stackoverflow threads which dealt with the error message.
I got multiple warnings of the above form, all complaining specifically about runtime library in /usr/lib/x86_64-linux-gnu may be hidden by files in: Some of these libraries may not be found correctly. Runtime library in /usr/lib/x86_64-linux-gnu may be hidden by files in: Generate_proposals_op_gpu_test because files in some directories mayĬonflict with libraries in implicit directories:
I explicitly set these and echo $NCCL_INCLUDE_DIR gives /home/user/miniconda3/pkgs/nccl-1.3.5-cuda10.0_0/include/, and similarly for the library-path.ĬMake Warning at cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake:1915 (add_executable):Ĭannot generate a safe runtime search path for target Could NOT find NCCL (missing: NCCL_INCLUDE_DIR NCCL_LIBRARY) Set the policy and suppress this warning. help-policy CMP0077" for policy details. Policy CMP0077 is not set: option() honors normal variables. I’m on a newly set-up Ubuntu 20.04 machine.ĬMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option): ‘Update objcopy’ didn’t give me anything on Google. Objcopy version is too old to support NCCL library slimming I’m not sure what I’m supposed to do here.ĬMake Warning at cmake/External/nccl.cmake:62 (message): I installed pybind via pip inside my Miniconda environment. Set PYBIND11_PYTHON_VERSION to search for a specific version, not I have ommitted warnings which I think are unsubstantial for now.ĬMake Warning at /home/user/miniconda3/envs/torchdev37/lib/python3.7/site-packages/pybind11/share/cmake/pybind11/pybind11Tools.cmake:19 (message): The rationale is that hopefully once this works, the tests will also succeed.Ĭurrently, I’m stuck with the following warnings for which I couldn’t find a satisfactory answer after googling. Since I’m out of ideas, I’m currently trying to eliminate all warnings I get during the build process. However, my problem is that I can never get the tests in test/run_test.sh to pass. I’m cloning the repo and running python setup.py develop inside a designated anaconda environment. I have been trying to get a PyTorch version built from source which I can use for contributing for quite a while now.