stan-dev / stan-dev/rstan

Error in prep_call_sampler(object)

Open
#696 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

We have encountered issues with the Rstan package: a code that worked before with R Platform and still works on personal computer does not work anymore on the platform.

Personal Computer have Rstan package version : '2.18.2'
R Platform have Rstan package version : '2.19.2'

could be possible that " Older Version RStan objects in memory break Rstan " (https://github.com/stan-dev/rstan/issues/443) , could be causing this issue ?

Description:

Error in prep_call_sampler(object) :
the compiled object from C++ code for this model is invalid, possible reasons:

  • compiled with save_dso=FALSE;
  • compiled on a different platform;
  • does not exist (created from reading csv files).
    Calls: predictions_trt ... sampling -> .local -> -> prep_call_sampler
    Execution halted
R Version:

versions 3.4.1, 3.5.1 and 3.6.1

Operating System:

CentOS Linux release 7.3.1611 (Core)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error with RStan 2.19.2 on R 3.4.1, 3.5.1, or 3.6.1 under CentOS 7.3.1611, then compare it with RStan 2.18.2 on the personal computer. No source file or test is identified; done means establishing whether the compiled-object failure is caused by the version or platform difference.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.