May 102013
 

I just got a new macbook pro and I am reinstalling a lot of libraries and scientific software that I use in my work.

Mac settings

In the Terminal program I like to use the Pro setting and prefer to use the font Menlo, which I find more readable than the default Monaco.

Programming

I use Xcode and Qt Creator as programming environments. Qt Creator is part of the Qt SDK and is a very fast editor for C++ code.

I cannot start programming without the boost library and a fresh copy of psi4.

Install Homebrew from the Terminal shell by calling:
bash [if you are using the tcsh shell] ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Then, install autoconf
brew install autoconf

Graphics

Since Mountain Lion does not ship with X11 support I installed XQuartz.

sudo ln -sf /Applications/Utilities/XQuartz.app/ /Applications/Utilities/X11.app

I installed gnuplot using brew

brew install gnuplot

Boost

I downloaded boost 1.53

In  boost/config/stdlib/libcpp.hpp
add:
#if _LIBCPP_VERSION < 1002
#   define BOOST_NO_CXX11_NUMERIC_LIMITS
#endif
Then I ran
./bootstrap.sh –with-libraries=filesystem,python,regex,serialization,system,thread –with-python=/usr/bin/python –with-toolset=clang
./b2 install toolset=clang cxxflags=”-stdlib=libc++” linkflags=”-stdlib=libc++” –prefix=/Users/francesco/Source/boost_1_53_0-bin-c++11
 May 10, 2013  Uncategorized

Sorry, the comment form is closed at this time.