OpenMP在Mac上的安装,涉及到一些编译器的历史。。。
OpenMP环境添加(Mac)
$ brew reinstall gcc --without-multilib
# 安装支持openmp的clang
$ brew install clang-omp #有错
安装错误
# Problem: No available formula with the name "clang-omp"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
安装错误参考,用以上方法发现未解决问题;
fatal: unable to access ‘https://github.com/Homebrew/homebrew-core/‘: LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Error: Could not link:
/usr/local/share/man/man1/brew.1Please delete these paths and run