This loads the most recent version of R, which is probably what you want. If you want a specific version x.y, load r/x.y.
this is very easy. start R on the hpc console (type R
). then do
install.packages("Rmpi",configure.args=c("--with-Rmpi-include=/cm/shared/apps/openmpi/gcc/64/1.4.5/include",
"--with-Rmpi-libpath=/cm/shared/apps/openmpi/gcc/64/1.4.5/lib64",
"--with-Rmpi-type=OPENMPI"))
you will be asked if you want to install to a personal library. say yes.
install.packages('snow')
clone the git test repository with git clone git@github.com:floswald/mpitest.git
on the hpc.
to a folder on the hpc.
mpitest/R/singleThread/flos-test/
andmake
and hit enter.exp.Rout
for correct output.