text: Title: Building `horovod-cpu` image failed with cmake errors
  Body: **Environment:**
  1. Framework: TensorFlow, PyTorch, MXNet
  2. Framework version: 2.5.0, 1.8.1, 1.8.0.post0
  3. Horovod version: v0.23.0
  4. MPI version: 3.0.0
  5. CUDA version: None
  6. NCCL version: None
  7. Python version: 3.7
  8. Spark / PySpark version: 3.1.1
  9. Ray version: None
  10. OS and version: Ubuntu 18.04
  11. GCC version: 7.5.0
  12. CMake version: 3.10.2
  
  **Checklist:**
  1. Did you search issues to find if somebody asked this question before? Yes
  2. If your question is about hang, did you read [this doc](https://github.com/horovod/horovod/blob/master/docs/running.rst)?
  3. If your question is about docker, did you read [this doc](https://github.com/horovod/horovod/blob/master/docs/docker.rst)? Yes
  4. Did you check if you question is answered in the [troubleshooting guide](https://github.com/horovod/horovod/blob/master/docs/troubleshooting.rst)? Yes
  
  **Bug report:**
  I was trying to build a horovod-cpu image locally using this [provided Dockerfile](https://github.com/horovod/horovod/blob/v0.23.0/docker/horovod-cpu/Dockerfile) and with command
  ```
  docker build -f docker/horovod-cpu/Dockerfile .
  ```
  however the build failed with the following errors:
  ```
  #22 48.71   running build_ext
  #22 48.76   -- Could not find CCache. Consider installing CCache to speed up compilation.
  #22 48.90   -- The CXX compiler identification is GNU 7.5.0
  #22 48.90   -- Check for working CXX compiler: /usr/bin/c++
  #22 49.00   -- Check for working CXX compiler: /usr/bin/c++ -- works
  #22 49.00   -- Detecting CXX compiler ABI info
  #22 49.10   -- Detecting CXX compiler ABI info - done
  #22 49.11   -- Detecting CXX compile features
  #22 49.56   -- Detecting CXX compile features - done
  #22 49.58   -- Build architecture flags: -mf16c -mavx -mfma
  #22 49.58   -- Using command /usr/bin/python
  #22 49.97   -- Found MPI_CXX: /usr/local/lib/libmpi.so (found version "3.1")
  #22 49.97   -- Found MPI: TRUE (found version "3.1")
  #22 49.97   -- Could NOT find NVTX (missing: NVTX_INCLUDE_DIR)
  #22 49.97   CMake Error at CMakeLists.txt:265 (add_subdirectory):
  #22 49.97     add_subdirectory given source "third_party/gloo" which is not an existing
  #22 49.98     directory.
  #22 49.98 
  #22 49.98 
  #22 49.98   CMake Error at CMakeLists.txt:267 (target_compile_definitions):
  #22 49.98     Cannot specify compile definitions for target "gloo" which is not built by
  #22 49.98     this project.
  #22 49.98 
  #22 49.98 
  #22 52.34   Tensorflow_LIBRARIES := -L/usr/local/lib/python3.7/dist-packages/tensorflow -l:libtensorflow_framework.so.2
  #22 52.35   -- Found Tensorflow: -L/usr/local/lib/python3.7/dist-packages/tensorflow -l:libtensorflow_framework.so.2 (found suitable version "2.5.0", minimum required is "1.15.0")
  #22 53.16   -- Found Pytorch: 1.8.1+cu102 (found suitable version "1.8.1+cu102", minimum required is "1.2.0")
  #22 59.99   -- Found Mxnet: /usr/local/lib/python3.7/dist-packages/mxnet/libmxnet.so (found suitable version "1.8.0", minimum required is "1.4.0")
  #22 61.13   CMake Error at CMakeLists.txt:327 (file):
  #22 61.13     file COPY cannot find "/tmp/pip-req-build-s0z_ufky/third_party/gloo".
  #22 61.13 
  #22 61.13 
  #22 61.13   CMake Error at CMakeLists.txt:328 (file):
  #22 61.13     file failed to open for reading (No such file or directory):
  #22 61.13 
  #22 61.13       /tmp/pip-req-build-s0z_ufky/third_party/compatible_gloo/gloo/CMakeLists.txt
  #22 61.13 
  #22 61.13 
  #22 61.13   CMake Error at CMakeLists.txt:331 (add_subdirectory):
  #22 61.13     The source directory
  #22 61.13 
  #22 61.13       /tmp/pip-req-build-s0z_ufky/third_party/compatible_gloo
  #22 61.13 
  #22 61.13     does not contain a CMakeLists.txt file.
  #22 61.13 
  #22 61.13 
  #22 61.13   CMake Error at CMakeLists.txt:332 (target_compile_definitions):
  #22 61.13     Cannot specify compile definitions for target "compatible_gloo" which is
  #22 61.13     not built by this project.
  #22 61.13 
  #22 61.13 
  #22 61.13   CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  #22 61.13   Please set them or make sure they are set and tested correctly in the CMake files:
  #22 61.13   /tmp/pip-req-build-s0z_ufky/horovod/mxnet/TF_FLATBUFFERS_INCLUDE_PATH
  #22 61.13      used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/mxnet
  #22 61.13   /tmp/pip-req-build-s0z_ufky/horovod/tensorflow/TF_FLATBUFFERS_INCLUDE_PATH
  #22 61.13      used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/tensorflow
  #22 61.13   /tmp/pip-req-build-s0z_ufky/horovod/torch/TF_FLATBUFFERS_INCLUDE_PATH
  #22 61.13      used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/torch
  #22 61.13 
  #22 61.13   -- Configuring incomplete, errors occurred!
  #22 61.13   See also "/tmp/pip-req-build-s0z_ufky/build/temp.linux-x86_64-3.7/RelWithDebInfo/CMakeFiles/CMakeOutput.log".
  #22 61.14   Traceback (most recent call last):
  #22 61.14     File "<string>", line 1, in <module>
  #22 61.14     File "/tmp/pip-req-build-s0z_ufky/setup.py", line 211, in <module>
  #22 61.14       'horovodrun = horovod.runner.launch:run_commandline'
  #22 61.14     File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 153, in setup
  #22 61.14       return distutils.core.setup(**attrs)
  #22 61.14     File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
  #22 61.14       dist.run_commands()
  #22 61.14     File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
  #22 61.14       self.run_command(cmd)
  #22 61.14     File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 61.14       cmd_obj.run()
  #22 61.14     File "/usr/local/lib/python3.7/dist-packages/wheel/bdist_wheel.py", line 299, in run
  #22 61.14       self.run_command('build')
  #22 61.14     File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
  #22 61.14       self.distribution.run_command(command)
  #22 61.14     File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 61.14       cmd_obj.run()
  #22 61.14     File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
  #22 61.14       self.run_command(cmd_name)
  #22 61.14     File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
  #22 61.14       self.distribution.run_command(command)
  #22 61.15     File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 61.15       cmd_obj.run()
  #22 61.15     File "/usr/local/lib/python3.7/dist-packages/setuptools/command/build_ext.py", line 79, in run
  #22 61.15       _build_ext.run(self)
  #22 61.15     File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
  #22 61.15       self.build_extensions()
  #22 61.15     File "/tmp/pip-req-build-s0z_ufky/setup.py", line 99, in build_extensions
  #22 61.15       cwd=cmake_build_dir)
  #22 61.15     File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
  #22 61.15       raise CalledProcessError(retcode, cmd)
  #22 61.15   subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-s0z_ufky', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO=/tmp/pip-req-build-s0z_ufky/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python']' returned non-zero exit status 1.
  #22 61.17   Building wheel for horovod (setup.py): finished with status 'error'
  #22 61.17   ERROR: Failed building wheel for horovod
  #22 61.17   Running setup.py clean for horovod
  #22 61.17   Running command /usr/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
  #22 61.43   running clean
  #22 61.43   removing 'build/temp.linux-x86_64-3.7' (and everything under it)
  #22 61.44   removing 'build/lib.linux-x86_64-3.7' (and everything under it)
  #22 61.44   'build/bdist.linux-x86_64' does not exist -- can't clean it
  #22 61.44   'build/scripts-3.7' does not exist -- can't clean it
  #22 61.44   removing 'build'
  #22 61.46 Failed to build horovod
  #22 62.05 Installing collected packages: pytz, python-dateutil, pyrsistent, pycparser, importlib-resources, deprecated, redis, pyzmq, pyarrow, psutil, pandas, msgpack, jsonschema, hiredis, filelock, diskcache, dill, cloudpickle, click, cffi, ray, petastorm, horovod, h5py, aioredis
  #22 63.76   changing mode of /usr/local/bin/plasma_store to 755
  #22 67.56   changing mode of /usr/local/bin/jsonschema to 755
  #22 70.60   changing mode of /usr/local/bin/ray to 755
  #22 70.60   changing mode of /usr/local/bin/ray-operator to 755
  #22 70.60   changing mode of /usr/local/bin/rllib to 755
  #22 70.60   changing mode of /usr/local/bin/serve to 755
  #22 70.60   changing mode of /usr/local/bin/tune to 755
  #22 70.79   changing mode of /usr/local/bin/petastorm-copy-dataset.py to 755
  #22 70.79   changing mode of /usr/local/bin/petastorm-generate-metadata.py to 755
  #22 70.79   changing mode of /usr/local/bin/petastorm-throughput.py to 755
  #22 70.80     Running setup.py install for horovod: started
  #22 70.80     Running command /usr/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2urw0_at/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/horovod
  #22 71.08     running install
  #22 71.08     /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  #22 71.08       setuptools.SetuptoolsDeprecationWarning,
  #22 71.08     running build
  #22 71.08     running build_py
  #22 71.08     creating build
  #22 71.08     creating build/lib.linux-x86_64-3.7
  #22 71.08     creating build/lib.linux-x86_64-3.7/horovod
  #22 71.08     copying horovod/__init__.py -> build/lib.linux-x86_64-3.7/horovod
  #22 71.08     creating build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.08     copying horovod/spark/runner.py -> build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.08     copying horovod/spark/gloo_run.py -> build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.08     copying horovod/spark/conf.py -> build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.08     copying horovod/spark/mpi_run.py -> build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.09     copying horovod/spark/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark
  #22 71.09     creating build/lib.linux-x86_64-3.7/horovod/keras
  #22 71.09     copying horovod/keras/elastic.py -> build/lib.linux-x86_64-3.7/horovod/keras
  #22 71.09     copying horovod/keras/callbacks.py -> build/lib.linux-x86_64-3.7/horovod/keras
  #22 71.09     copying horovod/keras/__init__.py -> build/lib.linux-x86_64-3.7/horovod/keras
  #22 71.09     creating build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/elastic.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/mpi_ops.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/sync_batch_norm.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/functions.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/gradient_aggregation.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/__init__.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/util.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/compression.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     copying horovod/tensorflow/gradient_aggregation_eager.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow
  #22 71.09     creating build/lib.linux-x86_64-3.7/horovod/data
  #22 71.09     copying horovod/data/__init__.py -> build/lib.linux-x86_64-3.7/horovod/data
  #22 71.09     copying horovod/data/data_loader_base.py -> build/lib.linux-x86_64-3.7/horovod/data
  #22 71.10     creating build/lib.linux-x86_64-3.7/horovod/_keras
  #22 71.10     copying horovod/_keras/elastic.py -> build/lib.linux-x86_64-3.7/horovod/_keras
  #22 71.10     copying horovod/_keras/callbacks.py -> build/lib.linux-x86_64-3.7/horovod/_keras
  #22 71.10     copying horovod/_keras/__init__.py -> build/lib.linux-x86_64-3.7/horovod/_keras
  #22 71.10     creating build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/elastic.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/basics.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/process_sets.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/__init__.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/exceptions.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     copying horovod/common/util.py -> build/lib.linux-x86_64-3.7/horovod/common
  #22 71.10     creating build/lib.linux-x86_64-3.7/horovod/mxnet
  #22 71.10     copying horovod/mxnet/mpi_ops.py -> build/lib.linux-x86_64-3.7/horovod/mxnet
  #22 71.10     copying horovod/mxnet/functions.py -> build/lib.linux-x86_64-3.7/horovod/mxnet
  #22 71.10     copying horovod/mxnet/__init__.py -> build/lib.linux-x86_64-3.7/horovod/mxnet
  #22 71.10     copying horovod/mxnet/compression.py -> build/lib.linux-x86_64-3.7/horovod/mxnet
  #22 71.10     creating build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/task_fn.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/launch.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/run_task.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/gloo_run.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/js_run.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/mpi_run.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     copying horovod/runner/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner
  #22 71.10     creating build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.10     copying horovod/torch/optimizer.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.10     copying horovod/torch/mpi_ops.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.10     copying horovod/torch/sync_batch_norm.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.10     copying horovod/torch/functions.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.11     copying horovod/torch/__init__.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.11     copying horovod/torch/compression.py -> build/lib.linux-x86_64-3.7/horovod/torch
  #22 71.11     creating build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/runner.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/elastic.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/worker.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/strategy.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/driver_service.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/ray_logger.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/__init__.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     copying horovod/ray/utils.py -> build/lib.linux-x86_64-3.7/horovod/ray
  #22 71.11     creating build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/optimizer.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/tensorflow.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/bare.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/remote.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/util.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     copying horovod/spark/keras/estimator.py -> build/lib.linux-x86_64-3.7/horovod/spark/keras
  #22 71.11     creating build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/datamodule.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/legacy.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/remote.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/util.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     copying horovod/spark/lightning/estimator.py -> build/lib.linux-x86_64-3.7/horovod/spark/lightning
  #22 71.11     creating build/lib.linux-x86_64-3.7/horovod/spark/data_loaders
  #22 71.11     copying horovod/spark/data_loaders/pytorch_data_loaders.py -> build/lib.linux-x86_64-3.7/horovod/spark/data_loaders
  #22 71.11     copying horovod/spark/data_loaders/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/data_loaders
  #22 71.12     creating build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     copying horovod/spark/task/gloo_exec_fn.py -> build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     copying horovod/spark/task/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     copying horovod/spark/task/task_info.py -> build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     copying horovod/spark/task/task_service.py -> build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     copying horovod/spark/task/mpirun_exec_fn.py -> build/lib.linux-x86_64-3.7/horovod/spark/task
  #22 71.12     creating build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/driver_service.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/host_discovery.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/rendezvous.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/job_id.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/mpirun_rsh.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     copying horovod/spark/driver/rsh.py -> build/lib.linux-x86_64-3.7/horovod/spark/driver
  #22 71.12     creating build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/serialization.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/cache.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/backend.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/_namedtuple_fix.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/constants.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/util.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.12     copying horovod/spark/common/params.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.13     copying horovod/spark/common/store.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.13     copying horovod/spark/common/estimator.py -> build/lib.linux-x86_64-3.7/horovod/spark/common
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/spark/torch
  #22 71.13     copying horovod/spark/torch/__init__.py -> build/lib.linux-x86_64-3.7/horovod/spark/torch
  #22 71.13     copying horovod/spark/torch/remote.py -> build/lib.linux-x86_64-3.7/horovod/spark/torch
  #22 71.13     copying horovod/spark/torch/util.py -> build/lib.linux-x86_64-3.7/horovod/spark/torch
  #22 71.13     copying horovod/spark/torch/estimator.py -> build/lib.linux-x86_64-3.7/horovod/spark/torch
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/tensorflow/keras
  #22 71.13     copying horovod/tensorflow/keras/elastic.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow/keras
  #22 71.13     copying horovod/tensorflow/keras/callbacks.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow/keras
  #22 71.13     copying horovod/tensorflow/keras/__init__.py -> build/lib.linux-x86_64-3.7/horovod/tensorflow/keras
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/cache.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/threads.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/lsf.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/remote.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/streams.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     copying horovod/runner/util/network.py -> build/lib.linux-x86_64-3.7/horovod/runner/util
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/http
  #22 71.13     copying horovod/runner/http/http_server.py -> build/lib.linux-x86_64-3.7/horovod/runner/http
  #22 71.13     copying horovod/runner/http/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/http
  #22 71.13     copying horovod/runner/http/http_client.py -> build/lib.linux-x86_64-3.7/horovod/runner/http
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/task
  #22 71.13     copying horovod/runner/task/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/task
  #22 71.13     copying horovod/runner/task/task_service.py -> build/lib.linux-x86_64-3.7/horovod/runner/task
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/driver
  #22 71.13     copying horovod/runner/driver/driver_service.py -> build/lib.linux-x86_64-3.7/horovod/runner/driver
  #22 71.13     copying horovod/runner/driver/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/driver
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/common
  #22 71.13     copying horovod/runner/common/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/common
  #22 71.13     creating build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/worker.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/driver.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/registration.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/constants.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/settings.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/rendezvous.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     copying horovod/runner/elastic/discovery.py -> build/lib.linux-x86_64-3.7/horovod/runner/elastic
  #22 71.14     creating build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/secret.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/host_hash.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/settings.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/tiny_shell_exec.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/config_parser.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/env.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/hosts.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/timeout.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/network.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/safe_shell_exec.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     copying horovod/runner/common/util/codec.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/util
  #22 71.14     creating build/lib.linux-x86_64-3.7/horovod/runner/common/service
  #22 71.14     copying horovod/runner/common/service/driver_service.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/service
  #22 71.14     copying horovod/runner/common/service/__init__.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/service
  #22 71.14     copying horovod/runner/common/service/task_service.py -> build/lib.linux-x86_64-3.7/horovod/runner/common/service
  #22 71.14     creating build/lib.linux-x86_64-3.7/horovod/torch/mpi_lib
  #22 71.14     copying horovod/torch/mpi_lib/__init__.py -> build/lib.linux-x86_64-3.7/horovod/torch/mpi_lib
  #22 71.14     creating build/lib.linux-x86_64-3.7/horovod/torch/mpi_lib_impl
  #22 71.14     copying horovod/torch/mpi_lib_impl/__init__.py -> build/lib.linux-x86_64-3.7/horovod/torch/mpi_lib_impl
  #22 71.14     creating build/lib.linux-x86_64-3.7/horovod/torch/elastic
  #22 71.14     copying horovod/torch/elastic/state.py -> build/lib.linux-x86_64-3.7/horovod/torch/elastic
  #22 71.14     copying horovod/torch/elastic/__init__.py -> build/lib.linux-x86_64-3.7/horovod/torch/elastic
  #22 71.15     copying horovod/torch/elastic/sampler.py -> build/lib.linux-x86_64-3.7/horovod/torch/elastic
  #22 71.15     running build_ext
  #22 71.16     -- Could not find CCache. Consider installing CCache to speed up compilation.
  #22 71.23     -- The CXX compiler identification is GNU 7.5.0
  #22 71.24     -- Check for working CXX compiler: /usr/bin/c++
  #22 71.34     -- Check for working CXX compiler: /usr/bin/c++ -- works
  #22 71.34     -- Detecting CXX compiler ABI info
  #22 71.43     -- Detecting CXX compiler ABI info - done
  #22 71.45     -- Detecting CXX compile features
  #22 71.91     -- Detecting CXX compile features - done
  #22 71.92     -- Build architecture flags: -mf16c -mavx -mfma
  #22 71.92     -- Using command /usr/bin/python
  #22 72.31     -- Found MPI_CXX: /usr/local/lib/libmpi.so (found version "3.1")
  #22 72.31     -- Found MPI: TRUE (found version "3.1")
  #22 72.31     -- Could NOT find NVTX (missing: NVTX_INCLUDE_DIR)
  #22 72.31     CMake Error at CMakeLists.txt:265 (add_subdirectory):
  #22 72.31       add_subdirectory given source "third_party/gloo" which is not an existing
  #22 72.31       directory.
  #22 72.31 
  #22 72.31 
  #22 72.31     CMake Error at CMakeLists.txt:267 (target_compile_definitions):
  #22 72.31       Cannot specify compile definitions for target "gloo" which is not built by
  #22 72.32       this project.
  #22 72.32 
  #22 72.32 
  #22 73.91     Tensorflow_LIBRARIES := -L/usr/local/lib/python3.7/dist-packages/tensorflow -l:libtensorflow_framework.so.2
  #22 73.91     -- Found Tensorflow: -L/usr/local/lib/python3.7/dist-packages/tensorflow -l:libtensorflow_framework.so.2 (found suitable version "2.5.0", minimum required is "1.15.0")
  #22 74.42     -- Found Pytorch: 1.8.1+cu102 (found suitable version "1.8.1+cu102", minimum required is "1.2.0")
  #22 81.17     -- Found Mxnet: /usr/local/lib/python3.7/dist-packages/mxnet/libmxnet.so (found suitable version "1.8.0", minimum required is "1.4.0")
  #22 82.47     CMake Error at CMakeLists.txt:327 (file):
  #22 82.47       file COPY cannot find "/tmp/pip-req-build-s0z_ufky/third_party/gloo".
  #22 82.47 
  #22 82.47 
  #22 82.47     CMake Error at CMakeLists.txt:331 (add_subdirectory):
  #22 82.47       The source directory
  #22 82.47 
  #22 82.47         /tmp/pip-req-build-s0z_ufky/third_party/compatible_gloo
  #22 82.47 
  #22 82.47       does not contain a CMakeLists.txt file.
  #22 82.47 
  #22 82.47 
  #22 82.47     CMake Error at CMakeLists.txt:332 (target_compile_definitions):
  #22 82.47       Cannot specify compile definitions for target "compatible_gloo" which is
  #22 82.47       not built by this project.
  #22 82.47 
  #22 82.47 
  #22 82.47     CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  #22 82.47     Please set them or make sure they are set and tested correctly in the CMake files:
  #22 82.47     /tmp/pip-req-build-s0z_ufky/horovod/mxnet/TF_FLATBUFFERS_INCLUDE_PATH
  #22 82.47        used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/mxnet
  #22 82.47     /tmp/pip-req-build-s0z_ufky/horovod/tensorflow/TF_FLATBUFFERS_INCLUDE_PATH
  #22 82.47        used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/tensorflow
  #22 82.47     /tmp/pip-req-build-s0z_ufky/horovod/torch/TF_FLATBUFFERS_INCLUDE_PATH
  #22 82.47        used as include directory in directory /tmp/pip-req-build-s0z_ufky/horovod/torch
  #22 82.47 
  #22 82.47     -- Configuring incomplete, errors occurred!
  #22 82.48     See also "/tmp/pip-req-build-s0z_ufky/build/temp.linux-x86_64-3.7/RelWithDebInfo/CMakeFiles/CMakeOutput.log".
  #22 82.48     Traceback (most recent call last):
  #22 82.48       File "<string>", line 1, in <module>
  #22 82.48       File "/tmp/pip-req-build-s0z_ufky/setup.py", line 211, in <module>
  #22 82.48         'horovodrun = horovod.runner.launch:run_commandline'
  #22 82.48       File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 153, in setup
  #22 82.48         return distutils.core.setup(**attrs)
  #22 82.48       File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
  #22 82.48         dist.run_commands()
  #22 82.48       File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
  #22 82.48         self.run_command(cmd)
  #22 82.48       File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 82.49         cmd_obj.run()
  #22 82.49       File "/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py", line 68, in run
  #22 82.49         return orig.install.run(self)
  #22 82.49       File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
  #22 82.49         self.run_command('build')
  #22 82.49       File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
  #22 82.49         self.distribution.run_command(command)
  #22 82.49       File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 82.49         cmd_obj.run()
  #22 82.49       File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
  #22 82.49         self.run_command(cmd_name)
  #22 82.49       File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
  #22 82.49         self.distribution.run_command(command)
  #22 82.49       File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
  #22 82.49         cmd_obj.run()
  #22 82.49       File "/usr/local/lib/python3.7/dist-packages/setuptools/command/build_ext.py", line 79, in run
  #22 82.49         _build_ext.run(self)
  #22 82.49       File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
  #22 82.49         self.build_extensions()
  #22 82.49       File "/tmp/pip-req-build-s0z_ufky/setup.py", line 99, in build_extensions
  #22 82.50         cwd=cmake_build_dir)
  #22 82.50       File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
  #22 82.50         raise CalledProcessError(retcode, cmd)
  #22 82.50     subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-s0z_ufky', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO=/tmp/pip-req-build-s0z_ufky/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python']' returned non-zero exit status 1.
  #22 82.52     Running setup.py install for horovod: finished with status 'error'
  #22 82.52 ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-s0z_ufky/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2urw0_at/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/horovod Check the logs for full command output.
  ------
  executor failed running [/bin/bash -cu python setup.py sdist &&     bash -c "HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITH_MXNET=1 pip install --no-cache-dir -v $(ls /horovod/dist/horovod-*.tar.gz)[spark,ray]" &&     horovodrun --check-build]: exit code: 1
  ```
  Thank you.