-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with java runtime or make, Matlab R2015b Windows #25
Comments
Rassibassi
changed the title
Problem with java runtime, Matlab R2015b Windows
Problem with java runtime or make, Matlab R2015b Windows
Mar 30, 2016
Thanks for the detailed report. Can you verify that your CmdStan installation works from the command line (ie, outside of Matlab)? |
I rebuild everything
and then ran:
I guess not... what do I have to do? |
I got the same problem in my MatlabStan 2.15.1.0. Matlab version 2018b. Windows10, 64bit. Hope some suggestions. |
Same issue as well, MATLAB 2019b on Mac Catalina. |
ditto. MATLAB 2020b on macOS Big Sur 11.2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hej,
I am trying to run Stan through Matlab R2015R on my Windows 64bit machine.
There are no white spaces in my directory paths.
I am getting the following problem:
school.m
school.stan
I started debugging a bit and found that this is my problem:
StanModel.m
Instead of fixing it, I decided to run
C:/Users/HIDEME/Documents/PhD/Courses/BayesianDataAnalysis/cmdstan/bin/stanc --version
manually with this as results:
stanc version 2.9.0
. I ran this in cygwin (my windows command line tool of choice). I also compiled cmdstan within cygwin using their devel package.So, with a bit of understanding your code, in StanModel.m I changed
ver = self.stan_version();
tover = [2 9 0];
Now I am running my school.m script again with the following output:
So back to debugging.
Inside the
function start(self)
ofprocessManager.m
I set a breakpoint atManually extracting
self(i).command
,self(i).envp
andjava.io.File(self(i).workingDir)
gave memake C:/Users/HIDEME/Documents/PhD/Courses/BayesianDataAnalysis/111/ex4/school.exe
,[]
andC:\Users\HIDEME\Documents\PhD\Courses\BayesianDataAnalysis\cmdstan
, respectively.Back to cygwin (my windows command line tool of choice), I
cd
intoC:\Users\HIDEME\Documents\PhD\Courses\BayesianDataAnalysis\cmdstan
and runmake C:/Users/HIDEME/Documents/PhD/Courses/BayesianDataAnalysis/111/ex4/school.exe
with the following output:I'd love to debug this. But its beyond my comprehension.. Further, I don't know whether I messed something up beforehand.
Thank you for your time.
Rasmus
The text was updated successfully, but these errors were encountered: