tensorflow——调试Image_retrain出现问题二

之前利用bazel build tensorflow/examples/image_retraining:retrain,出现Error

ERROR: missing input file ‘//third_party/mpi:mpicxx.h’.
ERROR: /home/py/tensorflow/tensorflow/core/kernels/BUILD:1520:1: C++ compilation of rule ‘//tensorflow/core/kernels:padding_fifo_queue’ failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE ‘-D_FORTIFY_SOURCE=1’ -fstack-protector -fPIE -Wall -Wunused-but-set-parameter … (remaining 120 argument(s) skipped): com.google.devtools.build.lib.shell.AbnormalTerminationException: Process terminated by signal 15.
ERROR: /home/py/tensorflow/third_party/mpi/BUILD:18:1: //third_party/mpi:mpi: missing input file ‘//third_party/mpi:mpicxx.h’.
Target //tensorflow/examples/image_retraining:retrain failed to build
Use –verbose_failures to see the command lines of failed build steps.
ERROR: /home/py/tensorflow/third_party/mpi/BUILD:18:1 1 input file(s) do not exist.

目前看来好像MPI缺少文件,待解决

解决:进入tensorflow/third_party/mpi发现所有缺少的文件都在,双击mpicxx.h后显示失去链接,才发现mpi安装目录和tensorflow的不一样,后来将文件复制放在third_party里面,问题解决

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值