@@ -422,7 +422,7 @@ Steps:
4224221. Copy the Container to Argon
423423 - Use WinSCP to transfer the ` .sif` file to Argon (updating your path): ` /old_Users/itpetersen/Documents/Containers/`
4244241. Test Container on Argon
425- - Inside the Ubuntu terminal, run:
425+ - Inside the Ubuntu terminal, run (updating your path) :
426426 ` ` ` bash
427427 cd /Users/itpetersen/Documents/Containers
428428 apptainer exec r_argon.sif R
@@ -445,6 +445,14 @@ Steps:
445445 ` ` ` bash
446446 apptainer exec r_argon.sif /opt/mplus/mplus
447447 ` ` `
448+ 1. Copy the ` cmdstan` installation from the container to a writable location:
449+ - Inside the Ubuntu terminal, run (updating your path):
450+ ` ` ` bash
451+ mkdir -p $HOME /cmdstan_cache
452+ apptainer exec \
453+ /Users/itpetersen/Documents/Containers/r_argon.sif \
454+ cp -r /opt/cmdstan/. $HOME /cmdstan_cache/
455+ ` ` `
4484561. Submit a Job Using the Container on Argon
449457 - e.g.:
450458 ` ` ` bash
@@ -533,7 +541,9 @@ cd /Users/itpetersen/Documents/Projects/Bayesian_IRT/
533541module purge
534542
535543# Run the R script inside container
536- apptainer exec --writable-tmpfs --cleanenv \
544+ apptainer exec \
545+ --bind $HOME /cmdstan_cache:/opt/cmdstan \
546+ --cleanenv \
537547 /Users/itpetersen/Documents/Containers/r_argon.sif \
538548 Rscript ./Analyses/factorScores.R
539549` ` `
0 commit comments