User Tools

Site Tools


docs:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:install [2015/06/16 06:22]
gibson [from the subversion server]
docs:install [2016/08/04 10:38] (current)
gibson [Mac OS X]
Line 87: Line 87:
  
 ===== Mac OS X ===== ===== Mac OS X =====
- +{{:docs:channelflow_mac_osx.pdf|Installing ​channelflow ​on Mac OS X}}by Eric JelliDeptPhysicsUMarburg
-FIXME // This is only a rough sketch of what you need to do to install on a Mac. // +
- +
- +
-Installation on Macintosh computers is best done by first installing [[http://www.finkproject.org|fink]] and then installing ​channelflow. Fink isroughlya Debian Linux emulation environment for the Mac.  +
- +
-1. Uncomment the ''​typedef unsigned int uint;''​ line in ''​channelflow/​mathdefs.h''​ +
- +
-  //typedef unsigned int uint; +
- +
-so that it looks like this +
- +
-  typedef unsigned int uint; +
- +
-2Install fftw3hdf5, and eigen - here via fink +
-   * Install [[http://​www.finkproject.org/​|fink]] - assumed install directory ''/​sw/''​ +
-   * Install software: +
-<​code>​ +
-       fink install fftw3 +
-       fink install hdf5 +
-       fink install eigen +
-</​code>​ +
- +
- +
-3. Compile channelflow - requires location of libs / headers. Set these environment variables +
-    export CFLAGS=-I/​sw/​include  +
-    export LDFLAGS=-L/​sw/​lib  +
-    export CXXFLAGS=$CFLAGS  +
-    export CPPFLAGS=$CXXFLAGS  +
-    export ACLOCAL_FLAGS="​-I /​sw/​share/​aclocal"​ +
-    export PKG_CONFIG_PATH="/​sw/​lib/​pkgconfig"​ +
-    export PATH=/​sw/​var/​lib/​fink/​path-prefix-10.6:​$PATH +
-    export MACOSX_DEPLOYMENT_TARGET=10.+
  
  
docs/install.1434460933.txt.gz · Last modified: 2015/06/16 06:22 by gibson