JAGS (Just Another Gibbs Sampler) Installation.
Submitted by lev_lafayette on Mon, 12/31/2012 - 03:20
PDF version
For those fascinated by the world of analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation (and let's face it, who isn't?), there is a delightful program called JAGS. Unfortunately it is a little stubborn to install.
Download the latest version from our friends at Sourceforge and extract in a sensible place (e.g., /usr/local/src/JAGS.
Now witness some example failures to install, which a reasonable person would assume would be sufficient.
../config
configure: error: "You need to install the LAPACK library"
module load lapack
configure: error: "You need to install the LAPACK library"
./configure --prefix=/usr/local/jags/3.3.0/ --with-lapack=/usr/local/lapack/3.4.1/
configure: error: "You need to install the LAPACK library"
OK, what actually worked was the following:
LDFLAGS="-L/usr/local/blas/1.0.248/lib -L/usr/local/atlas/3.8.4-gcc/lib" F77=gfortran ./configure --prefix=/usr/local/jags/3.3.0/ --with-lapack=/usr/local/lapack/3.4.2/lib/liblapack.so
»
- lev_lafayette's blog
- Login to post comments
-

- Printer-friendly version
- Send by email
