/[escript]/trunk/doc/install/source.tex
ViewVC logotype

Diff of /trunk/doc/install/source.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5406 by jfenwick, Fri Dec 12 03:36:34 2014 UTC revision 5407 by jfenwick, Thu Dec 18 02:48:24 2014 UTC
# Line 94  command \texttt{xcode-select --install} Line 94  command \texttt{xcode-select --install}
94  To simplify things for people, we have prepared \texttt{_options.py} files for a number of  To simplify things for people, we have prepared \texttt{_options.py} files for a number of
95  systems\footnote{These are correct a time of writing but later versions of those systems may require tweaks.  systems\footnote{These are correct a time of writing but later versions of those systems may require tweaks.
96  Also, these systems represent a cross section of possible platforms rather than meaning those systems get particular support.}.  Also, these systems represent a cross section of possible platforms rather than meaning those systems get particular support.}.
97  The \texttt{_options.py} files are located in the scons/templates directory. We suggest that the file most relavent to your os  The \texttt{_options.py} files are located in the \texttt{scons/templates} directory. We suggest that the file most relevant to your os
98  be copied from the templates directory to the scons directory and renamed to the form XXXX_options.py where XXXX  be copied from the templates directory to the scons directory and renamed to the form XXXX_options.py where XXXX
99  should be replaced with your computer's name.  should be replaced with your computer's name.
100  If your particular system is not in the list below, or if you want a more customised  If your particular system is not in the list below, or if you want a more customised
# Line 275  scons -j1 py_tests options_file=scons/te Line 275  scons -j1 py_tests options_file=scons/te
275    
276  \subsection{MacOS 10.10 (macports)}\label{sec:macportsrc}  \subsection{MacOS 10.10 (macports)}\label{sec:macportsrc}
277    
278    The following will install the capabilities needed for the \texttt{macports_10.10_options.py} file.
279    
280  \begin{shellCode}  \begin{shellCode}
281  port install python27  sudo port install scons
282  port select --set python python27  sudo port select --set python python27
283  port install scons  sudo port install boost
284  port install openmpi  sudo port install py27-numpy
285  port install py27-numpy  sudo port install py27-sympy
286  port install boost  sudo port select --set py-sympy py27-sympy
287  port install py27-sympy  sudo port install py27-scipy
288  port select --set py-sympy py27-sympy  sudo port install py27-pyproj
289  install py27-scipy  sudo port install py27-gdal
290  install py27-pyproj  sudo port install netcdf-cxx
291  install py27-gdal  sudo port instal silo
 install py27-netcdf4  
 install netcdf-cxx  
292  \end{shellCode}  \end{shellCode}
293    
294  \begin{shellCode}  \begin{shellCode}
295  scons -j1 options_file=scons/templates/macports_options.py  scons -j1 options_file=scons/templates/macports_10.10options.py
296  \end{shellCode}  \end{shellCode}
297    
298    
299  \subsection{MacOS (homebrew)}\label{sec:homebrewsrc}  \subsection{MacOS 10.9, 10.10 (homebrew)}\label{sec:homebrewsrc}
300    
301  Note that these steps add ``non-official'' packages.  The following will install the capabilities needed for the \texttt{homebrew_10.10_options.py} file.
302  You will also want to make sure that the homebrew Python is executed in preference to the system  OSX 10.9 can use the same file.
 Python\footnote{Putting \texttt{/usr/local/bin} at the front of your PATH is one way to do this.}.  
303    
304  \begin{shellCode}  \begin{shellCode}
 brew install python  
305  brew install scons  brew install scons
306  brew install boost  brew install boost-python
307  brew tap samueljohn/python  brew install homebrew/science/netcdf --with-cxx-compat
 brew tap homebrew/science  
 pip install nose  
 brew install gfortran  
 brew install samueljohn/python/numpy  
 brew install scipy  
 brew install gdal  
 brew install openmpi  
 brew install matplotlib  
 brew install netcdf --enable-cxx-compat  
308  \end{shellCode}  \end{shellCode}
309    
310  There do not appear to be formulae for \texttt{sympy} or \texttt{pyproj} so if you wish to use those features, then  There do not appear to be formulae for \texttt{sympy} or \texttt{pyproj} so if you wish to use those features, then
# Line 323  you will need to install them separately Line 312  you will need to install them separately
312    
313    
314  \begin{shellCode}  \begin{shellCode}
315  scons -j1 options_file=scons/templates/homebrew_options.py  scons -j1 options_file=scons/templates/homebrew_10.10_options.py
316  \end{shellCode}  \end{shellCode}
317    
318    

Legend:
Removed from v.5406  
changed lines
  Added in v.5407

  ViewVC Help
Powered by ViewVC 1.1.26