【问题标题】:Load JAGS to cluster将 JAGS 加载到集群
【发布时间】:2021-10-11 10:01:13
【问题描述】:

我想在我使用的集群上安装 jagsUI。但是,这需要我加载已安装在计算机上的 JAGS4.3.0 模块。这是我在安装 jagsUI 时遇到的错误:

During startup - Warning message:
Setting LC_CTYPE failed, using "C" 
* installing *source* package 'rjags' ...
** package 'rjags' successfully unpacked and MD5 sums checked
** using non-staged installation
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: pkg-config file for jags 4 unavailable
configure: WARNING: Consider adding the directory containing `jags.pc`
configure: WARNING: to the PKG_CONFIG_PATH environment variable
configure: Attempting legacy configuration of rjags
checking for jags... no
configure: error: "automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library. See the INSTALL file for details."
ERROR: configuration failed for package 'rjags'
* removing '/home/cltane002/Rlibs/rjags'
During startup - Warning message:
Setting LC_CTYPE failed, using "C" 
ERROR: dependency 'rjags' is not available for package 'jagsUI'
* removing '/home/cltane002/Rlibs/jagsUI'

The downloaded source packages are in
    '/tmp/RtmpyIUv3r/downloaded_packages'
Warning messages:
1: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
  installation of package 'rjags' had non-zero exit status
2: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
  installation of package 'jagsUI' had non-zero exit status

我已经在我的终端上检查了是否安装了 jags。当我在连接到集群的终端中执行模块时,未显示 jags 的模块文件。我是否将 JAGS 软件加载到集群中?

【问题讨论】:

    标签: hpc jags r2jags


    【解决方案1】:

    我会查看 hpc 集群的文档页面。我大学之前使用的集群已经在集群上编译并安装了 JAGS 模块。我需要做的只是加载模块。通常,hpc 文档网站有一个关于可用模块的页面以及加载和运行它们的示例脚本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-24
      • 1970-01-01
      • 2021-06-20
      • 2017-01-31
      • 1970-01-01
      • 2022-01-17
      相关资源
      最近更新 更多