Skip to content
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

Install Request: CmdStan and CmdStanR [IN06102224] #547

Open
balston opened this issue Aug 7, 2023 · 9 comments
Open

Install Request: CmdStan and CmdStanR [IN06102224] #547

balston opened this issue Aug 7, 2023 · 9 comments
Assignees

Comments

@balston
Copy link
Contributor

balston commented Aug 7, 2023

https://mc-stan.org/docs/cmdstan-guide/index.html#introduction

@balston balston self-assigned this Jun 24, 2024
@balston
Copy link
Contributor Author

balston commented Jun 24, 2024

I'm attempting to build CmdStan 2.35.0 (the latest version) in my Scratch directory.

@balston
Copy link
Contributor Author

balston commented Jun 24, 2024

ok it builds and tests ok using the instructions here:

https://mc-stan.org/docs/cmdstan-guide/installation.html#installation-from-github

@balston
Copy link
Contributor Author

balston commented Jun 24, 2024

I will now make a build script and try installing it using GNU 10.2.0 compilers.

@balston
Copy link
Contributor Author

balston commented Jun 24, 2024

Build script done and run on Myriad from ccspapp:

./CmdStan-2.35.0_install 2>&1 | tee ~/Software/R/CmdStan-2.35.0_install.log-1

next step is to make a module file.

@balston
Copy link
Contributor Author

balston commented Jun 24, 2024

Module file done and pulled to Myriad. Need the following module commands to access this version of CmdStan:

module unload compilers mpi gcc-libs
module load cmdstan/2.35.0/gnu-10.2.0

@balston
Copy link
Contributor Author

balston commented Jun 25, 2024

The R package CmdStanR is not on CRAN but is available from here:

https://mc-stan.org/cmdstanr/

It needs special installation https://mc-stan.org/cmdstanr/#installing-the-r-package

The module bundle r/r-4.4.0_bc-3.19 will need updating to include the cmdstan/2.35.0/gnu-10.2.0 module and the build script:

R-4.4.0_packages_install

updated to install the package using the above instructions.

@balston
Copy link
Contributor Author

balston commented Jun 25, 2024

R module bundle r/r-4.4.0_bc-3.19 updated.

@balston
Copy link
Contributor Author

balston commented Jun 25, 2024

R package CmdStanR is now installed with R 4.4.0 on Myriad and added to the R additional packages install script.

@balston
Copy link
Contributor Author

balston commented Jun 25, 2024

user informed.

@balston balston added the Done? label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

1 participant