/[escript]/branches/dirac/doc/install/srcommon.tex
ViewVC logotype

Diff of /branches/dirac/doc/install/srcommon.tex

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

revision 2512 by jfenwick, Thu Jul 2 05:34:14 2009 UTC revision 2529 by jfenwick, Thu Jul 9 06:06:35 2009 UTC
# Line 15  Line 15 
15    
16  % The original version of this content came from the esscc twiki page maintained by ksteube  % The original version of this content came from the esscc twiki page maintained by ksteube
17    
18    This chapter describes how to build \escript from source assuming that the dependencies are already installed.
19    For example using precompiled packages for your OS.
20    Section~\ref{sec:deps} describes the dependencies, while Section~\ref{sec:compilesrc} gives the compile instructions.
21    
22    If you would prefer to build all the dependecies from source in the escript-support packages please see Chapter~\ref{chap:srcall}
23    
24  \esfinley is known to compile and run on the following systems:  \esfinley is known to compile and run on the following systems:
25  \begin{itemize}  \begin{itemize}
26   \item \linux under gcc\footnote{There are some problems with OpenMP under gcc prior to version 4.3.2. Also do not link the gomp library with gcc 4.3.3 it causes problems.} - \Sec{sec:srclinux}   \item \linux under gcc\footnote{There are some problems with OpenMP under gcc prior to version 4.3.2. Also do not link the gomp library with gcc 4.3.3 it causes problems.} - \Sec{sec:srclinux}
27  \item \linux under icc on SGI ICE 8200.  \item \linux under icc on SGI ICE 8200.
28  \item \macosx under gcc - \Sec{sec:srcmac}  \item \macosx under gcc - \Sec{sec:srcmac}
29    \item \winxp with visual studio (we do not specifically discuss windows builds in this guide).
30  \end{itemize}  \end{itemize}
31    
32  \section{External dependencies}  \section{External dependencies}
33    \label{sec:deps}
34  The following external packages are required in order to compile and run \esfinley.  The following external packages are required in order to compile and run \esfinley.
35  Where version numbers are specified, more recent versions can probably be subsituted.  Where version numbers are specified, more recent versions can probably be subsituted.
36  You can either try the standard/precompiled packages available for your operating system or you can download and build them from source.  You can either try the standard/precompiled packages available for your operating system or you can download and build them from source.
# Line 59  These packages may be required for some Line 67  These packages may be required for some
67    \item     mesa-7.0.3 (\url{http://www.mesa3d.org})\\-    \item     mesa-7.0.3 (\url{http://www.mesa3d.org})\\-
68          Free OpenGL replacement used by VTK.          Free OpenGL replacement used by VTK.
69    \end{itemize}    \end{itemize}
70    \item netpbm (\url{http://netpbm.sourceforge.com}) \\-
71        tools for producing movies from images
72  \item     mpich2-1.0.7 (\url{http://www.mcs.anl.gov/research/projects/mpich2}) \\-  \item     mpich2-1.0.7 (\url{http://www.mcs.anl.gov/research/projects/mpich2}) \\-
73          Parallelization with MPI.          Parallelization with MPI.
74  \item     parmetis-3.1 (\url{http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview}) \\-  \item     parmetis-3.1 (\url{http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview}) \\-
# Line 90  Packages for visualization: Line 99  Packages for visualization:
99  \end{itemize}  \end{itemize}
100    
101  \section{Compilation}\label{sec:compilesrc}  \section{Compilation}\label{sec:compilesrc}
102  Throughout this section we will assume that the source code is uncompressed in a directory called trunk.  Throughout this section we will assume that the source code is uncompressed in a directory called \filename{escript.d}.
103  You can call the directory anything you like, provided that you make the change before you compile.  You can call the directory anything you like, provided that you make the change before you compile.
104    
105  You need to indicate where to find the external dependencies.  You need to indicate where to find the external dependencies.
# Line 107  As a starting point use one of the follo Line 116  As a starting point use one of the follo
116  To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead):  To actually compile (if you have $n$ processors, then you can use \texttt{scons -j$n$} instead):
117    
118  \begin{shellCode}  \begin{shellCode}
119  cd trunk  cd escript.d
120  scons  scons
121  \end{shellCode}  \end{shellCode}
122    

Legend:
Removed from v.2512  
changed lines
  Added in v.2529

  ViewVC Help
Powered by ViewVC 1.1.26