My system admin just installed cmdstan 2.34.1 and cmdstanr 0.7.1 on the computing cluster. I am trying to run the bernoulli example.
Here is the log file. I am trying to help them troubleshoot, and was wondering if it is obvious whether this is a problem related to cmdstan or cmdstanr.
Loading r/4.3.2
Loading requirement: hdf5/1.10.1 gcc/8.1.0 lapack/gcc/64/3.8.0 jags/4.3.0
jdk/8u181 gsl/2.5 udunits/2.2.28 imagemagick/6.9.10 icu/70.1 tiff/4.1.0
geos/3.9.1 pcre2/10.35 proj/6.1.0-gcc8.1.0 sqlite/3.28.0.1 gdal/3.8.4
python/cpu/3.7.2 bzip2/1.1.0 curl/7.60.0 jbig/2.1 webp/1.2.1 gmp/6.1.2
glpk/4.55 libpng/1.6.37
This is cmdstanr version 0.7.1
- CmdStanR documentation and vignettes: mc-stan.org/cmdstanr
- CmdStan path: /gpfs/share/apps/cmdstan/2.34.1
- CmdStan version: 2.34.1
CmdStan path set to: /gpfs/share/apps/cmdstan/2.34.1
<built-in>: fatal error: opening dependency file stan/src/stan/model/model_header_8_1.d: Permission denied
compilation terminated.
In file included from <command-line>:
/usr/include/stdc-predef.h:1: fatal error: can’t create precompiled header stan/src/stan/model/model_header_8_1.hpp.gch: Permission denied
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
compilation terminated.
make: *** [make/program:27: stan/src/stan/model/model_header_8_1.hpp.gch] Error 1
Error: An error occured during compilation! See the message above for more information.
In addition: Warning messages:
1: CmdStan's precompiled header (PCH) files may need to be rebuilt.
If your model failed to compile please run rebuild_cmdstan().
If the issue persists please open a bug report.
2: CmdStan's precompiled header (PCH) files may need to be rebuilt.
If your model failed to compile please run rebuild_cmdstan().
If the issue persists please open a bug report.
Execution halted