12 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13 |
|
|
14 |
\section{MacOSX binary installation} |
\section{MacOSX binary installation} |
|
\label{sec:binmac} |
|
15 |
|
\label{sec:binmac} |
16 |
|
|
17 |
|
\esfinley can be installed as a stand-alone bundle, containing all the required tools. |
18 |
|
|
19 |
|
Please note, the current packages do not support \openmp\footnote{This is due to a bug related to gcc 4.3.2.} or \mpi\footnote{Producing packages for MPI requires knowing something about your computer's configuration.}. |
20 |
|
If you need these features you may need to compile \esfinley from source (see Chapter~\ref{chap:src}.) |
21 |
|
|
22 |
|
For more information on using the \filename{escript} command please see the User Guide. |
23 |
|
|
24 |
|
\subsection{Stand-alone bundle Mac OS X 10.5.6 (``Leopard'')} |
25 |
|
|
26 |
|
Download the bundle, double-click on it and copy \filename{stand} anywhere you want. |
27 |
|
Then open a terminal\footnote{If you do not know how to open a terminal on Mac, then just type terminal in spotlight (search tool on the top right corner) and once found just click on it.} and type |
28 |
|
\begin{shellCode} |
29 |
|
cd x/stand |
30 |
|
\end{shellCode} |
31 |
|
where x is the absolute path to your install. |
32 |
|
Now type |
33 |
|
\begin{shellCode} |
34 |
|
./install.sh |
35 |
|
\end{shellCode} |
36 |
|
which will make some changes to your dynamic libraries to take into account your current location. Remember, you have to do this only once, when you just copied from our bundle. This procedure will not work if you decide to move your already working bundle into another folder. You have to copy it from our bundle again into your desired new location. |
37 |
|
|
38 |
|
Test your installation by running: |
39 |
|
\begin{shellCode} |
40 |
|
stand/escript.d/bin/escript |
41 |
|
\end{shellCode} |
42 |
|
You should get a normal python shell. |
43 |
|
If you wish to save on typing you can add \filename{x/escript.d/bin} to your PATH variable (where x is the absolute path to your install). |
44 |
|
|