Recent Changes - Search:

HomePage

PmWiki

pmwiki.org

MacOSX

How to install Matrix Product Toolkit on Mac OS X

Before installation

This method does not require installing things like

  • Home brew
  • Mac Ports

etc. Reason why I don't do this is that coexistence of multiple package installer made my boot loader confused; I ended up formatting HD and clean install OS X. I don't say that everyone will suffer this kind of problem, yet this way is a bit longer but much more safer, and you'll know what you are doing. It is also a good practice to learn how to compile and install form the scratch.

Flow Chart

  1. Install prerequisite for gcc
  2. install linear algebra libraries
  3. install gcc
  4. install boost
  5. install matrix product toolkit

Installing prerequisite for gcc

This step is absolutely necessary

the problem with clang

Q why don't you use clang?
A Apple's clang has a different grammar.

What are prerequisites?

Link below gives the list of prerequisites for installing gcc. https://gcc.gnu.org/install/prerequisites.html I believe that latest Mac OS X (10.10) has most of things under Tools/packages necessary for building GC but everything under "Several support libraries are necessary to build GCC" is missing.

Edit - History - Print - Recent Changes - Search
Page last modified on September 14, 2016, at 10:07 AM