1

我想在我正在使用的集群上安装 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 软件加载到集群中?

4

1 回答 1

0

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

于 2021-12-31T00:30:08.390 回答