User Tools

Site Tools


wphase:macos

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wphase:macos [2015/01/23 19:16]
wphase [Building W-phase]
wphase:macos [2015/02/03 09:23] (current)
wphase
Line 1: Line 1:
-======= ​HowTo install ​W-phase dependencies on MacOS using homebrew and pip =======+======= ​Install ​W-phase dependencies on MacOS using homebrew and pip =======
  
-Before reading this, you should first read [[wphase:​documentation|the W-phase documentation ​wiki page]].+Before reading this, you should first read [[wphase:​documentation|the W-phase documentation page]].
  
-The instructions below have not been rigorously tested, please report any problem to Zacharie Duputel <​zacharie.duputel@unistra.fr>​ or Luis Rivera <​luis.rivera@unistra.fr>​.+The instructions below have not yet been rigorously tested, please report any problem to Zacharie Duputel <​zacharie.duputel@unistra.fr>​ or Luis Rivera <​luis.rivera@unistra.fr>​.
  
 ===== Install Homebrew =====  ===== Install Homebrew ===== 
Line 27: Line 27:
  
  
-===== Install gcc, python, pip and other dependencies ​===== +===== Install gcc, python, pip, etc. ===== 
  
 To install gcc-4.9 and python2.7: To install gcc-4.9 and python2.7:
Line 43: Line 43:
 </​code>​ </​code>​
  
-We will also need ghostscript and gmt4:+We will also need gmt4:
 <​code>​ <​code>​
-brew install ghostscript 
 brew install gmt4 brew install gmt4
 </​code>​ </​code>​
 +As indicated in [[wphase:​documentation|the documentation page]], the GMT_BIN environment variable should point to appropriate GMT bin directory (e.g., "/​usr/​local/​bin"​ or "/​usr/​local/​Cellar/​gmt4/​4.5.13/​bin"​).
  
  
Line 58: Line 58:
 <​code>​ <​code>​
 brew tap homebrew/​dupes brew tap homebrew/​dupes
 +brew install ghostscript
 brew install binutils brew install binutils
 brew install diffutils ​ brew install diffutils ​
Line 76: Line 77:
 </​code>​ </​code>​
  
-Add the following to your .bashrc file:+Finally, add the following ​lines to your .bashrc file:
 <​code>​ <​code>​
 export PATH="​$(brew --prefix coreutils)/​libexec/​gnubin:/​usr/​local/​bin:​$PATH"​ export PATH="​$(brew --prefix coreutils)/​libexec/​gnubin:/​usr/​local/​bin:​$PATH"​
Line 86: Line 87:
  
    * Before compiling the code, replace "​gcc"​ by "​gcc-4.9"​ in src/​Makefile (or any other recent version gcc of installed with homebrew).    * Before compiling the code, replace "​gcc"​ by "​gcc-4.9"​ in src/​Makefile (or any other recent version gcc of installed with homebrew).
-   * You can then compile the W-phase code as explained in [[wphase:​documentation|the documentation ​wiki page]].+   * You can then compile the W-phase code as explained in [[wphase:​documentation|the documentation page]].
  
  
  
wphase/macos.1422036974.txt.gz · Last modified: 2015/01/23 19:16 by wphase