From charlesreid1

No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
Process for getting up and running with my toolchain on Mac OS X Lion:
This page records the process for getting up and running with my toolchain on Mac OS X Lion.


I did everything IN THE ORDER SPECIFIED.
=The Tools=
==Interface==
* Dotfiles:
* Dotfiles:
** [[.profile]]
** [[.profile]]
Line 7: Line 12:
** [[.vimrc]]
** [[.vimrc]]
** [[.inputrc]]
** [[.inputrc]]
==Must-Haves==
* MacVim http://code.google.com/p/macvim/
** VimOutliner https://github.com/vimoutliner/vimoutliner/
* Quicksilver http://qsapp.com/
* Quicksilver http://qsapp.com/
* Divvy http://mizage.com/divvy/
* Divvy http://mizage.com/divvy/
* iTerm2 http://www.iterm2.com/#/section/home
* iTerm2 http://www.iterm2.com/#/section/home
* Firefox
* Chrome
==Software Development==
* Compilers: ORDER OF OPERATIONS IS VERY IMPORTANT HERE...
* Compilers: ORDER OF OPERATIONS IS VERY IMPORTANT HERE...
** Step 1: Install Kenneth Reitz's GCC tools instead https://github.com/kennethreitz/osx-gcc-installer
** Step 1: Install Kenneth Reitz's GCC tools instead https://github.com/kennethreitz/osx-gcc-installer
*** NOTE: This is supposed to install the vImage.h header, but for some reason it doesn't work, so any gcc/clang/llvm compilation line that has a header file pointing to <code><vImage/vImage.h></code> does not compile properly. This is the case with, e.g., Scipy. So, install XCode to fix that.
** Step 2: Install Apple's XCode  
** Step 2: Install Apple's XCode  
*** NOTE: installing Apple's XCode will overwrite the versions of clang and llvm from Kenneth Reitz's GCC tools, but at least you'll still have gcc.
** NOTE: You will probably run into a problem with vImage.h when installing some software, like SciPy. See my solution here: [[Scipy vImage.h Problem]]
* Git http://git-scm.com/
* Git http://git-scm.com/
** Note: you'll have to add <code>/usr/local/git/bin</code> to the front of your path in case your system, like mine, has an old crusty version of git installed
** Note: you'll have to add <code>/usr/local/git/bin</code> to the front of your path in case your system, like mine, has an old crusty version of git installed
* Homebrew http://mxcl.github.io/homebrew/
* Homebrew http://mxcl.github.io/homebrew/
** gfortran
** Edit <code>/etc/paths</code> and move <code>/usr/local/bin</code> to the top line, so that Homebrew stuff always comes first
** hdf5
** brew install gfortran
** brew install hdf5
** brew install wget
** brew install php
 
* Graphviz http://www.graphviz.org/Download_macos.php
** Don't install using homebrew... you'll get a quartz error that looks like this: [[Brew install graphviz error]]
* Doxygen http://www.stack.nl/~dimitri/doxygen/
** Installed binary version due to issues with Mac compiler...
** You can add doxygen to your path, even if you installed the GUI, by putting the following in your [[.profile]]:
** <code>export PATH="/Applications/Doxygen.app/Contents/Resources:$PATH"</code>
 
==Python==
* Python stuff (see [[Python#Packages]] page for my general approach to installing Python packages; I install packages by hand whenever possible)
* Python stuff (see [[Python#Packages]] page for my general approach to installing Python packages; I install packages by hand whenever possible)
** numpy  
** numpy  
Line 32: Line 56:
** pandas
** pandas
** statsmodels
** statsmodels
** sympy
** scons
** matplotlib
*** due to compiler issues, I had to download the Mac OS X 10.8 egg, and run easy_install on the egg
** scikit-learn
** pymc
==Cantera-Related==
* Boost http://www.boost.org/
* Sundials https://computation.llnl.gov/casc/sundials/
* Cantera https://code.google.com/p/cantera
==Other Handy Things==
* MacTeX http://www.tug.org/mactex/downloading.html
* LyX http://lyx.org/
* R http://cran.r-project.org/bin/macosx/
* VirtualBox https://www.virtualbox.org/
* Evernote http://www.evernote.com
==Web Server==
* [[AMP on Mac OS X]]
* AMP (apache, mysql, PHP) following this guide: http://www.astonishdesign.com/blog/native-lamp-stack-mac-os-x
** NOTE: this is not MAMP... MAMP is a headache. This uses Homebrew instead.
{{Programs}}
[[Category:Mac]]

Latest revision as of 07:06, 23 March 2017

This page records the process for getting up and running with my toolchain on Mac OS X Lion.

I did everything IN THE ORDER SPECIFIED.

The Tools

Interface

Must-Haves

Software Development

  • Compilers: ORDER OF OPERATIONS IS VERY IMPORTANT HERE...
  • Git http://git-scm.com/
    • Note: you'll have to add /usr/local/git/bin to the front of your path in case your system, like mine, has an old crusty version of git installed
  • Homebrew http://mxcl.github.io/homebrew/
    • Edit /etc/paths and move /usr/local/bin to the top line, so that Homebrew stuff always comes first
    • brew install gfortran
    • brew install hdf5
    • brew install wget
    • brew install php

Python

  • Python stuff (see Python#Packages page for my general approach to installing Python packages; I install packages by hand whenever possible)
    • numpy
    • cython
    • scipy
    • dateutil
    • ipython (installing instructions on the iPython page)
    • nose https://pypi.python.org/pypi/nose/1.3.0
    • gitpython
    • h5py
    • pandas
    • statsmodels
    • sympy
    • scons
    • matplotlib
      • due to compiler issues, I had to download the Mac OS X 10.8 egg, and run easy_install on the egg
    • scikit-learn
    • pymc


Cantera-Related

Other Handy Things

Web Server