Apple

Installing Rmpi under MacOS Sierra

I recently updated my set-up, and because I use a High-Performance cluster from my University (kudos to avakas) to run various simulations and analyses, I have MPI and Rmpi installed on my laptop in order to test my scripts before submitting them to the big cluster. So I installed openmpi from homebrew very easily: brew update brew install open-mpi But then I had extensive trouble installing the Rmpi package…

OpenMP, OS-X and R

This is a quick technical post, that is as much about disseminating the information as putting it in a place where I can find it again in the future. I have been trying to use openMP in an R package that I am currently developing. openMP is supported by the popular gcc compiler. However, OS-X Xcode now ships with a clang compiler that does not support openMP. So first one needs to install gcc (from homebrew for instance).