Bureaucrats, cc_docs_admin, cc_staff
2,918
edits
No edit summary |
(note on Rmpi) |
||
Line 82: | Line 82: | ||
}} | }} | ||
==== Rmpi ==== | |||
If you wish to install [https://cran.r-project.org/web/packages/Rmpi/index.html Rmpi] you will find it necessary to specify the locations of certain MPI directories, like so: | |||
</translate> | |||
<pre> | |||
install.packages("Rmpi",configure.args = | |||
c("--with-Rmpi-include=/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/openmpi/2.1.1/include", | |||
"--with-Rmpi-libpath=/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/openmpi/2.1.1/lib", | |||
"--with-Rmpi-type=OPENMPI", | |||
"--with-mpi=/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/openmpi/2.1.1")) | |||
</pre> | |||
<translate> | |||
If you have non-default modules loaded for Open MPI or your compiler, run <code>module show openmpi</code> to find the appropriate values to use in place of those shown above. | |||
</translate> | </translate> |