【发布时间】:2020-03-27 20:53:45
【问题描述】:
在使用 Red Hat OS 的 SLURM 集群上安装 caffe 时,我收到以下错误:
compilation terminated.
make: *** [.build_release/cuda/src/caffe/layers/clip_layer.o] Error 1
In file included from ./include/caffe/blob.hpp:8:0,
from ./include/caffe/layers/concat_layer.hpp:6,
from src/caffe/layers/concat_layer.cu:3:
./include/caffe/common.hpp:4:32: fatal error: boost/shared_ptr.hpp: No such file or directory
#include <boost/shared_ptr.hpp>
当我检查/usr/include 时,我的帐户/机器上似乎没有安装boost! (这是一个大学集群,用户没有安装权限)。
我的问题是,考虑到这种情况,如何在 Red Hat OS 上安装boost?
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64.00 Wed Feb 26 16:26:08 UTC 2020
GCC version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
【问题讨论】:
标签: boost error-handling build caffe