将JAGS加载到集群



我想在我正在使用的集群上安装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模块。我所需要做的就是加载模块。通常,hpc文档网站有一个页面,说明可用的模块以及加载和运行它们的示例脚本。

最新更新