UCL-RITS / rcps-buildscripts

Scripts to automate package builds on RC Platforms
MIT License
39 stars 27 forks source link

Install Request: CmdStan and CmdStanR [IN06102224] #547

Open balston opened 1 year ago

balston commented 1 year ago

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

balston commented 5 months ago

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

balston commented 5 months ago

ok it builds and tests ok using the instructions here:

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

balston commented 5 months ago

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

balston commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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.0bc-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 commented 5 months ago

R module bundle _r/r-4.4.0bc-3.19 updated.

balston commented 5 months ago

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

balston commented 5 months ago

user informed.