Programming‎ > ‎MPS Bundle‎ > ‎

MPS Bundle installation in Mac OS X

The installation in Mac is quite similar to that of Linux. I will cover only the differences. Once you have solved those differences, you may jump to the "Step-by-step guide" on that page.
  1. First of all, OS X does not ship with a compiler. You need to install a component called XCode, which is the set of developer tools that Apple creates for people to build and deploy software for OS X. The XCode application is available at the Apple Store at no cost. Just select it and download it.
    • Note 1: Sometimes XCode does not install the command line utilities for compiling. This means that you cannot invoke the compiler from the terminal. If you install XCode and writing cc -V does not return anything, follow these instructions, or similar ones that are found in the Internet.
    • Note 2: If you have OS X Mavericks or earlier, it is quite probable that the tools autoconf, automake and libtool are already installed. If you have OS X Yosemite and the latest XCode, this is not the case. Then I would recommend installing Homebrew, a distribution of Unix software that is regularly updated and easy to install. Follow these instructions and, once installed, use "brew install automake autoconf libtool"
  2. You do not need to install a numerical backend. OS X ships with a library called veclib or Accelerate that is detected by the library. However, if you wish, you can still install Atlas or Intel's Compiler and the MKL library. If so, remember to make those libraries available to the compiler, which in the Intel case amounts to follow the same steps as in Linux.
Simple, isn't it? OS X is after all a variant of Unix with a different type of kernel, and thus there are no significant surprises. Now you can continue with Step-by-step section in this page.