-
Notifications
You must be signed in to change notification settings - Fork 5
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
No CmdStan installation found #81
Comments
Dear jolespin, At first my model was giving error messages with many repetitions of
Then I tried to update the negative_binomial.stan file with the version available at https://github.com/biocore/BIRDMAn/blob/main/birdman/templates/negative_binomial.stan and got the error
And then I tried to install cmdstan like you did, I reinstalled BIRDMAn, updated Xcode, reestarted the computer, but nothing works anymore, I just get the messages you got. I hope you found a solution. If not, I'll be happy to share if I get to solve this... Best regards |
Hi @PaulaEterovick I'd recommend trying to run this on linux (@gibsramen not sure your thoughts on this, but I never got this to run on mac). The precision parameter is 0 often occurs when there is a numerical issue -- which I think can be resolved with adjusting the step_size (see the cmdstanpy docs) I'd also double check the cmdstan / cmdstanpy versions, since there have been major breaking changes in one of the recent releases. |
Hi, @mortonjt, thank you very much for the fast answer! I tried to update both cmdstanpy and cmdstan; I also installed cmdstanjupyter because I am using a jupyter notebook.
Do you know how to fix this? |
@mortonjt thats good to know! I was trying it on Mac but I'll install it on Expanse to try again (I've had to pivot to other projects in the meantime). |
Dear @mortonjt, |
Hi, this is a @gibsramen question. I don't think a virtual machine is a good idea : you won't have the compute required to run these models ... |
Apologies if this is in the docs and I missed it but is there a resource that has benchmarking (or resource requirements) for running this on different dataset sizes? |
I dont have benchmarks — and it is highly dependent on the model you use.
For our ASD meta analysis, it takes about 20 min per microbe (for ~15K
microbes)
…On Mon, Jul 31, 2023 at 5:14 PM Josh L. Espinoza ***@***.***> wrote:
Apologies if this is in the docs and I missed it but is there a resource
that has benchmarking (or resource requirements) for running this on
different dataset sizes?
—
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA75VXLKVDGOHYKCCNPL72LXTAN2PANCNFSM6AAAAAAWBZ3YE4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Dear all, I was able to overcome the problem in my MacOS (with help from my brother, who is a programmer) and I am sharing here what worked for me, hoping it may help @jolespin or others who need: First of all, my PATH was leading to an older version of Python because I deleted some extra copies and one happened to be in priority (my mistake, as this is all very new to me). In order to avoid problems with several versions of programs installed in my attempts to solve the problem, we did everything directly from the basal directory (not from Anaconda). Thus, after fixing the problem with Python, we used the following commands to install the needed programs:
(p.s. it is important to prioritize pip for installations in order to garantee compatibility among programs and appropriate paths - I may have messed it up by using different installers) I hope the explanation is clear and that it will help others :-) |
I installed
v0.1.0
via the following:When I try to run a negative binomial model, I get the following error:
I tried installing
cmdstan
via conda but it says that it's already installed.Here's the executable I found:
I then tried running your
install_cmdstan
command but it needs an argument.The text was updated successfully, but these errors were encountered: