我想在我正在使用的集群上安装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软件加载到集群中吗?
发布于 2021-12-31 00:30:08
我会检查hpc集群的文档页面。我以前从学校使用的集群已经在集群上编译并安装了JAGS模块。我所需要做的就是简单地加载模块。通常,hpc文档网站有一个关于哪些模块可用的页面,以及加载和运行它们的示例脚本。
https://stackoverflow.com/questions/69524378
复制相似问题