Closed XiangyunHuang closed 6 years ago
Number of test functions: 31 Number of errors: 0 Number of failures: 0
Details:
Test Suite: rstantest Test function regexp: ^test_+ Test file regexp: ^runit.+.R Involved directory: /home/xiangyun/rstan.Rcheck/rstan/unitTests
Name | Value |
---|---|
platform | x86_64-pc-linux-gnu |
arch | x86_64 |
os | linux-gnu |
system | x86_64, linux-gnu |
status | Under development (unstable) |
major | 3 |
minor | 6.0 |
year | 2018 |
month | 09 |
day | 18 |
svn rev | 75325 |
language | R |
version.string | R Under development (unstable) (2018-09-18 r75325) |
nickname | Unsuffered Consequences |
host | xiangyun |
compiler | g++ -std=gnu++11 |
安装编译器
# https://gcc.gnu.org/projects/cxx-status.html#cxx14
# 安装 Scientific Linux distribution 发行版的安装源
# https://www.softwarecollections.org/en/docs/
sudo yum install centos-release-scl-rh centos-release-scl
# 更新源
sudo yum update
# 安装新版 gcc 5.3.1 完全支持 C++ 14 特性
sudo yum install \
devtoolset-4-gcc \
devtoolset-4-gcc-c++ \
devtoolset-4-gcc-gfortran
# 设置 gcc/g++/gfortran 环境变量
source /opt/rh/devtoolset-4/enable
编辑 `~/.bashrc` 添加上一行
sudo yum install \
devtoolset-6-gcc \
devtoolset-6-gcc-c++ \
devtoolset-6-gcc-gfortran
sudo yum install \
devtoolset-7-gcc \
devtoolset-7-gcc-c++ \
devtoolset-7-gcc-gfortran
# gcc 4.9
sudo yum install \
devtoolset-3-gcc \
devtoolset-3-gcc-c++ \
devtoolset-3-gcc-gfortran
# https://discourse.mc-stan.org/t/do-not-install-rstan-2-17-4-from-cran/5822