rstan 2.9.2 - model compilation problem

47 views
Skip to first unread message

Stefano

unread,
Apr 20, 2016, 11:41:10 PM4/20/16
to Stan users mailing list
Hello,

I get this error, when I run my model


Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not created! In file included from /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.2.4/lib64/R/library/rstan/include/rstan/rstaninc.hpp:3:0, from filebae374fb7de7.cpp:427: /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.2.4/lib64/R/library/rstan/include/rstan/stan_fit.hpp:71:55: fatal error: stan/services/optimize/do_bfgs_optimize.hpp: No such file or directory #include <stan/services/optimize/do_bfgs_optimize.hpp> ^ compilation terminated. make: *** [filebae374fb7de7.o] Error 1
In addition: Warning message: running command '/usr/local/bioinfsoftware/R/R-3.2.4/lib64/R/bin/R CMD SHLIB filebae374fb7de7.cpp 2> filebae374fb7de7.cpp.err.txt' had status 1

Bw.

Bob Carpenter

unread,
Apr 21, 2016, 2:29:54 PM4/21/16
to stan-...@googlegroups.com
I don't know how RStan works, but would you mind sharing
your sessionInfo(), so we can see what else is loaded.
This looks like it may just be missing the Stan headers package,
which is where that file would come from.

- Bob
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages